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: newbieKing
  • Content: Threads
  • Order by date
  1. newbieKing

    mkdir problem

    Hi, I've got a problem with my mkdir function. After I call mkdir a string called "file_name" gets altered. Do you have any idea what is going on? cout << file_name << "\n"; // name displayed mkdir(output_dir); cout << file_name << "\n"; // name not displayed Thank you!
  2. newbieKing

    thread problem @@

    Hello, I'm trying to execute a bunch of threads in the inner loop but only one batch of inner threads at a time. How do I stop the outer loop until the inner loop threads finish running? Thanks in advance! Outline: outer { not concurrent inner{ executes concurrent threads } }
  3. newbieKing

    keep a socket open

    Hi, I'm writing some basic client server socket programs transferring multiple files from the server to the client. How do I keep the client's socket open so that multiple files go through that one socket? Thanks in advance!
  4. newbieKing

    Timestamp

    Hi, I want to know how to figure out how long it takes for my program to run. I need a timestamp at the beginning and the end in order to find the total run time. Does anybody know of a class that I could use? Thanks
  5. newbieKing

    c version internet socket programming

    Hello, does anyone know of any online resource where I can learn about c version internet socket programming? There are some very elementary ones online, but I would like to get some more indepth material. Thanks!
  6. newbieKing

    running a c and c++ program together

    Hi, I've got a c program that cannot be saved as a c++ file. When I try to save it as C++, there are several compile errors. Anyways, I need to get the results from this C program and transfer what it returns to another C++ program. How are you supposed to link and run everything?? I'd...
  7. newbieKing

    Saving the time into the name of the output file???

    Hi! I can't figure out how to save the current OS date into the name of the output file. For example, if i run the program now, i want the output to be printed into a file called something like &quot;Statistics_April4.txt&quot;. This is what i've tried, but i keep on getting errors. Please...
  8. newbieKing

    How to track memory leaks????

    Hello! I'm running a very long simulation program which runs for about an hour and then suddenly stops. I am suspecting that i have a memory leak but i cannot find it. Are there any programs that i could download which could track memory leaks?? Thanks.
  9. newbieKing

    How to cout a string??

    I've been using Borland 5.0, and am trying to use Visual C++ 6.0. outputting a string in borland is fine but i can't seem to cout strings in visual. Am i missing an include file?? This is what i've included: #include <math.h> #include <conio.h> #include <iomanip.h> #include <fstream.h>...

Part and Inventory Search

Back
Top