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...
...NamespaceA::ClassA& other) : variableB(other.variableB)
{
}
//Here is another one that confuses me. It is a method declaration.
bool operator()(const NamespaceA::ClassA* c1, const NamespaceA::ClassA* c2) const;
The last question I have: what does c_str() do?
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...
See the text book I have has two pages on this whole topic, and I know this is what I need. So, the ax, and bx are registers? Also, if I have 5 items on the stack and I want to specifically remove item 3, do I use the frame pointer to get to the right spot?
In assembly I find it very difficult to do anything, as I am used to programming in C, and one of the problems is figuring out how to use the stack to store values.
I know there is a separate register $sp used to put values on the stack. For example:
sub $sp, $sp, 2 #make room for 1...
I have looked in many places on the internet for solutions to my problem. I need to have a random number generator in MIPS Assembly that can generate numbers with either a given range, or from an array. I have found one generator at fivemouse.com, and it takes in a seed to produce the numbers...
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.