Hi, I'm trying to create a simple combo box with the numbers 0-9 in its list. The interface for the combo box is done through MS Visual C++, and the code that will put the data inside the combo box is contained in a .cpp file. The combo box on the interface is called IDC_COMBO. Here is the code...
I have seen some coding techniques that I am not familiar with, so I hope some of you can shed some light on them:
std::string variableA //what is the purpose of using std here?
//Can someone explain how this code actually works? I tried to name the methods and variables accordingly...
I am using Microsoft Visual Studio .NET to build my ASP.NET web application. I have several WebForms, and I cannot figure out how to code the loading of a form if a user clicks a button.
Lets say I have a WebForm named WebForm1 with a button on it and when the button is clicked I want to show...
I need to write a script to print out all user login activity. I know that the "last" command shows that information, however, I would like the output to look something like this:
Lets say user joe logged in 10 times and user sam logged in 25 times. I want output to be like this:
joe 10
sam 25...
What is the command to create a log file entry if the log file is r/w by root. As an example lets say the log file is called process.log, and that I am a regular user that can only read the file but not write to it. How do I make an entry into this log file if I do not have sudo privileges?
First of all is there a different automounter for a host computer while it is running? I know there is the boot mounter, but if there is another one I'll need to know it to do this. Lastly, what is the command to mount from an ftp server?
Example: COMM FTP at comm.gov is my main ftp server
Also I forgot to mention, I was told I can use a nameserver to do this. But I'm still not sure how to set up a slave server, even though I have the ip and name of the master.
Can someone tell me how to mount a directory from another host on startup? I know I might have to edit the /etc/vfstab file.
Lets say my current computer name is george, and I want to mount the /util directory from host name leonard onto the /util directory here on george. I know how to mount...
What is the command to see the ethernet address of a host?
Also, is there a command to see the IP address of a gateway computer on a network if I know the IP address of two of the hosts on the same network?
I have searched through the internet trying to find the answer to these questions, but no luck. The first one is about device files. I know it is best to not have user permissions to view these files, but why shouldn't a user be able to create a device file? I read somewhere that if they can...
Is there a way I can test if a combo box has been changed? I tried double-clicking the combo box and it says Combo1_Changed as the sub name, but it does nothing when I changed the value of the combo box.
I have an array with values such as:
array: .asciiz "K"
.asciiz "Y"
.asciiz "7"
When I try to show the "7" to the screen using something like this:
add $t1, $0, 2 #initialize
la $a0, array($t1) #prints a string value
li $v0, 4
syscall
Nothing shows up on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.