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 Mike Lewis 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. commtalonn

    Pausing a program

    That did it!! All I needed was to throw in that <<flush; at the end of my cout<<. Yay! Thanks, John, and everyone else that helped!
  2. commtalonn

    Pausing a program

    I think I found out what's wrong. The program consists of one function, main(). Every Sleep() is called inside main... and it collects every value of Sleep() I've put inside main() and pauses for that amount of time before running the program. I used cout << debug tags to find this out...
  3. commtalonn

    Pausing a program

    Thanks, brotherC, but the function Sleep() is being called, and not only am I using milliseconds, but I started using extravagantly high numbers of milliseconds (i.e. 500000) to make sure it isn't pausing. Sure enough, it isn't working. Dang Microsoft products.... >_<
  4. commtalonn

    Pausing a program

    I don't understand the relevance to my topic.... I appreciate your effort but I guess the confusion is on my end. I don't use threads, it's just a simple c++ proggie.
  5. commtalonn

    Pausing a program

    I don't know what you mean by multithreaded... My program is simple. It creates a Winsock socket, connects to another computer, sends data, then exits. It's all in one source file; it's just a few hundred lines of code. Do you know why the function doesn't work?
  6. commtalonn

    Pausing a program

    How do you pause your program? I've used the functions Pause() and Delay() that I saw somewhere, and the Sleep() function, which is more widely known, but none of them pause my program. It just rips right through the function and ignores it. It compiles w/no errors but it doesn't work...
  7. commtalonn

    Pausing in C++; echoing via cout socket activity

    I've got a Winsock program that will run perfectly if I can get two little functions to work: 1. I need to make the program pause. I've used EVERYTHING----I've used delay(), pause(), etc. None of them work! I don't get any error messages when I debug/run it, but the program simply doesn't...

Part and Inventory Search

Back
Top