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 wOOdy-Soft 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: *

  • Users: CaptRage61
  • Content: Threads
  • Order by date
  1. CaptRage61

    Win 2003 server VPN config

    Currently I have my windows 2003 server configured to accept VPN connections. I have a laptop with Win XP Home...I know pro would be better but this is all I have. I am able to create a new VPN network connection on my laptop. When I launch it and enter the ip address of my server at home I...
  2. CaptRage61

    How to email IP address

    Does anyone know of any simple programs or scripts that will email a computers ip address to a specified email. Here is why I would like to use it. I currently have a webserver that I am just playing around with but I have a dynamic ip address that changes about every 8 days. So what I would...
  3. CaptRage61

    Connectinf to network via internet

    Hey Guys, Here is what I would like to do, I currently have a home network with a bunch of computers (mostly running xp pro) and what I want to do is to be able to connect to this network via any computer on the internet. I know there is remote desktop but that is not really what I am looking...
  4. CaptRage61

    Compaq EVO D500 Compaq Fan error

    I have a EVO D500 Compaq and I am geting the following error during the post: 514: cpu or chassis fan not detected, and press F1 to continue. The fans do work and I even tried replacing them and I still get the message. No where in the BIOS do I see an option to turn off the fan warning or...
  5. CaptRage61

    Semaphores

    I am working on using semaphores to keep two threads from writing to the same variable but this is now working correctly, I beleive that the semaphore is created correctly can anyone tell if this is right: int p(){ //sem is the sembuf struct //x is the semid sem.sem_op = -1; semop(x, &sem...
  6. CaptRage61

    creating a make file

    Does anyone know how to create a make file? For example, I have 3 c programs: myprog1.c, myprog2.c and myprog3.c. How do I creat a make file that will compile all of these programs by 1 command and make them executable???
  7. CaptRage61

    Using fork

    I am using the fork command to run 2 progmrams at the same time, the ls command. I then pass in at the command line 2 args so that the first arg goes to the first ls and the second arg goes to the second ls. That works fine, the problem is I am getting too many program running, all I want to...
  8. CaptRage61

    Using ftw()

    Does anyone know how to use file tree walk, ftw() to list all of the files and directories and the directories files? I want to create a quick little program like the other one I was trying to write that displays everything recursivly with ftw().
  9. CaptRage61

    searching for file in directory

    I want to create a method to search for a given file(or directory) in a given directory, here is what I came up with but it always says that it was not found even if the file exists. void search ( char *filename , char *dirname ){ struct dirent *dirPointer; DIR *d; d = opendir( dirname...
  10. CaptRage61

    stat system calls

    Does anyone know how to use the Stat system calls to check if a file is a directory or just a file? I checked the man page and I found that you need to use S_ISDIR(m) but it does not say how to use it, does anyone know?
  11. CaptRage61

    Reading files

    I would like to write a C program that will read all of the files in a given directory, one that will be passed in from the command line arg. I want all of the files and directorys printed to the screen. I was thinking of using the opendir function. Does anyone have any ideas on how to get...
  12. CaptRage61

    Sorting a JTable

    Does anyone know how to sort a JTable? I have a table with a column of strings, one of ints and one of doubles. I need to be able to sort them by columns.
  13. CaptRage61

    Using BufferedReader

    How do you use Buffered reader to read from a file. I have a class set up with a few variables. And I have a file where every line would be a new instance of this class and there are 5 things in each line seperated by tabs. Each thing on each line would be stored in the different variables...
  14. CaptRage61

    creating an array for a Jtable

    I am trying to create an array of Element objects for use in a JTable. I am having problems creating this array and I am not sure why. Here is what I am trying to do: Element e = new Element("Mercury", "Hg", 80, 200.59,356.7 ); Element[][] data = { {e.getName(), e.getSymbol()...
  15. CaptRage61

    PLEASE HELP

    This is the first C program that I will be writing, it is pretty simple but I can't seem to get started on it, here is what I need to do: I need to have a user enter 2 numbers that represent the rows and colums of an array. It will then print the numbers starting from 0 at position (1,1) and...

Part and Inventory Search

Back
Top