Search:

Type: Posts; User: OldSchool

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,752

    Thanks for the info, MaX... I'll check it out!...

    Thanks for the info, MaX...

    I'll check it out! :D
  2. Replies
    6
    Views
    1,752

    I appreciate the info, everyone... I will...

    I appreciate the info, everyone... I will definitely check out DevC++ and VisC++ Express... I'll try them both out and play around with them...

    Just out of curiosity, what is the difference...
  3. Replies
    6
    Views
    1,752

    Other compilers

    I have a few questions about C++ compilers...

    I am under the understanding that C++ is standardized so I would imagine that any newer C++ compiler would work fine for programming... Am I correct...
  4. Replies
    13
    Views
    3,982

    Sorry for spamming... I just wanted to let...

    Sorry for spamming... I just wanted to let everyone know that I have found the problem... It was Microsoft!

    I found this thread in my hunt for sanity...
    getline (function)???

    The user with...
  5. Replies
    13
    Views
    3,982

    I've been playing... :D The program works...

    I've been playing... :D

    The program works perfectly except I have to use 'CTL-X' and 'enter' to get the program to process the sentence... I tried changing the getline to:

    std::getline( cin,...
  6. Replies
    13
    Views
    3,982

    Incidentally, this FAQ was excellent... Strings...

    Incidentally, this FAQ was excellent...
    Strings to tokens
  7. Replies
    13
    Views
    3,982

    OK... Now I feel really stupid... I'm getting a...

    OK... Now I feel really stupid... I'm getting a bit flustered because my assignment is due in about an hour!

    I converted to strings per the suggestions here... It makes more sense to me this way,...
  8. Replies
    13
    Views
    3,982

    Will adding 'strcmp' in the template still allow...

    Will adding 'strcmp' in the template still allow its use for other types of variables (i.e. - int, double, etc.)? I was shying away from messing with the templates themselves to avoid making it ...
  9. Replies
    13
    Views
    3,982

    Prelude - The sentence input is a one shot deal...

    Prelude - The sentence input is a one shot deal for this program (the tokenization process changes what is in sentence, however, right?)...

    I changed the tree object definition:

    Tree< char >...
  10. Replies
    13
    Views
    3,982

    jafet - I appreciate the look... The assignment...

    jafet - I appreciate the look... The assignment suggested 'strtok' so I assumed that it was the best way to go... You know what the say about assumptions, though... ;)

    Prelude - Sorry about...
  11. Replies
    13
    Views
    3,982

    binary tree token problem

    Hi there... I've got a question about tokenizing strings...

    I'm attempting to write a program that inputs a sentence from the user, tokenizes it and then hands the words to a binary search tree. I...
  12. Replies
    4
    Views
    4,213

    Thanks alphaoide... I appreciate the reply... I...

    Thanks alphaoide... I appreciate the reply... I just fixed my code... Works great now with any input I throw at it!

    I don't know why I didn't think of this! I feel kind of stupid on this one... ...
  13. Replies
    4
    Views
    4,213

    Thanks, Prelude... That did the trick! I just...

    Thanks, Prelude... That did the trick!

    I just switched to a 'for' loop for repetition instead of the 'while' and moved my 'cin >> num' inside of the loop... This way, exception can be processed...
  14. Replies
    4
    Views
    4,213

    CIN and exception handling

    Hi there... I have an assignment this week in an OOP class and the program already demonstrates simple exception handling according to the assignment requirements. This question is more for my own...
  15. Replies
    6
    Views
    4,155

    EXCELLENT! The light bulb just went on... I see...

    EXCELLENT! The light bulb just went on... I see it now!

    I misunderstood the 'val' thing entirely!

    When my code worked with an invalid 1st input, it was because it accepted the integer part. The...
  16. Replies
    6
    Views
    4,155

    Thanks Daved... I see your point about checking...

    Thanks Daved... I see your point about checking for errors on the input side.

    It appears that your code would check the input against the 'val' variable. Since this would be for a coordinate plane...
  17. Replies
    6
    Views
    4,155

    I appreciate the assist JaWiB... ...

    I appreciate the assist JaWiB...

    Unfortunately, my assignment specified integer values for the variables so I don't think I could change them to double and still be in my parameters...

    The...
  18. Replies
    6
    Views
    4,155

    Failbit trouble

    Hi all... I am a new poster to the site but have lurked in here several times to sort out some sticky issues in the past... You guys & gals are great and I hope to be able to get to your level of...
Results 1 to 18 of 18