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

    read both integers and characters from command prompt

    You may be right about that... I will relook at it in the morning.
  2. Wendyj2

    read both integers and characters from command prompt

    Actually the reason that I did it this way is because each integer, float and string will have a whitespace between them, so they will indeed need to be delimited. I am trying to do the famous infix to postfix and have found all kinds of useful stuff, but none of what I am finding is white...
  3. Wendyj2

    read both integers and characters from command prompt

    I have tried to do what you are suggesting but it still doesn't read in the string (changed it from char to string). If I put the "string catcher" first it works but of course everything is a string then. This is what I have now: vector<int> operands; vector<string> actionOperator...
  4. Wendyj2

    read both integers and characters from command prompt

    Thanks for your help. I have made the changes and of course they do work. My problem is that I wanted to be able to tell if it was an int or a character being entered. This way it comes in as a string. I will now have to figure out a way to test for data type so I can carry on with it. I...
  5. Wendyj2

    read both integers and characters from command prompt

    This is my problem: I want the user to input a sentence or line of both integers and characters, read in the whole line,spaces and all, then parse through the line, if it is an integer push it into an vector of integers, if it is a character, push it into a vector of characters. This is what I...
  6. Wendyj2

    WaitForMultipleObjects is not waiting

    I really don't understand what you mean. The text doc I have no control over, it is just a commandline feed into the program. I am required to use the WaitForMultipleObjects for this assignment. I do have it working somewhat now, I have valid handles etc. I am now at the point where my logic...
  7. Wendyj2

    WaitForMultipleObjects is not waiting

    I am required to have all the programs in a certain group launch together, wait until they all come back and then lauch the next group concurrently. I don't know how I could do this with WaitForSingleObject since WaitForSingleObject actually seems to make everything wait for each process to...
  8. Wendyj2

    WaitForMultipleObjects is not waiting

    I am running several programs with CreateProcess and want a "batch" of them to run by group number before the next batch starts. I am trying to use WaitForMultipleObjects to do this. I have created a vector to hold the handles returned. Once the batch has all started processing, I then make a...

Part and Inventory Search

Back
Top