Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Ciralia

    Combo box empty...what's wrong?

    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...
  2. Ciralia

    General Questions

    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...
  3. Ciralia

    Problem Showing/Loading WebForms

    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...
  4. Ciralia

    Need help with C-shell script

    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...
  5. Ciralia

    How to create a log file entry

    Yes yes I know about manuals thank you. But I do not know the syntax, and the examples given in the manual do not help me with my situation.
  6. Ciralia

    How to create a log file entry

    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?
  7. Ciralia

    FTP automounting

    Nevermind on this one, I figured it out.
  8. Ciralia

    FTP automounting

    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
  9. Ciralia

    Mounting directory from another host on startup

    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.
  10. Ciralia

    Mounting directory from another host on startup

    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...
  11. Ciralia

    Ethernet Address and Gateway Question

    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?
  12. Ciralia

    2 General Questions: device Files and fsck

    Thanks for the reply, but I wasn't asking if it was possible to do these things, I was asking why it wasn't good to do them. =)
  13. Ciralia

    2 General Questions: device Files and fsck

    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...
  14. Ciralia

    How to test if a combo box has been changed?

    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.
  15. Ciralia

    Question about .asciiz arrays and showing them to screen

    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...
  16. Ciralia

    Using Stack and $sp, push/pop ?

    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?
  17. Ciralia

    Using Stack and $sp, push/pop ?

    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...
  18. Ciralia

    Random Number Generator help ?

    Okay thank you =)
  19. Ciralia

    Random Number Generator help ?

    What do you mean by full number? So if I wanted 1-10, I would take 10/10, remainder 0 + 1 = 1?
  20. Ciralia

    Random Number Generator help ?

    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...

Part and Inventory Search

Back
Top