Search:

Type: Posts; User: misterpogos

Search: Search took 0.00 seconds.

  1. The only time I need the total is for output. ...

    The only time I need the total is for output.

    Thank you for your response!
  2. Expressions in cout statement vs variable

    Hello all.

    Is it better programming practice to

    1) output the value of an expression a * b in a cout statement as a variable containing its value


    total = a * b;
    cout << total <<...
  3. Thank you guys! I truly appreciate it! I resorted...

    Thank you guys! I truly appreciate it! I resorted to writing untemplated code (templates weren't required, but they were encouraged). Unfortunately I wasn't able to grasp the concept fully in time.
  4. That is actually the whole constructor for...

    That is actually the whole constructor for SearchTree.

    LBTree is actually a typedef of a templated LBT class as follows:



    typedef LinkedBinaryTree<LBTEntry> LBTree;


    with
  5. Templated BST "Already Initialized" Error

    Hi all,

    I'm implementing a linked BST to create a simple program to store, search, and retrieve records. Whenever I instantiate a new CityRecord object in my main function as follows:


    ...
  6. I read up on it before the project, and I...

    I read up on it before the project, and I incorporated it into my program.


    This was my first thought. I turned to c strings as a suggestion from the professor, though.



    I was.
  7. Help: Storing tokenized 2-digit char (infix->postfix converter)

    Hi,

    I'm trying to store a tokenized cstring (consisting of a mathematical expression) into a templated char stack. However, when I print the contents of the stack, the char tokens that represented...
  8. Replies
    4
    Views
    1,532

    There you go, that's what I was looking for....

    There you go, that's what I was looking for. Strings are null terminated! Thanks =))))
  9. Replies
    4
    Views
    1,532

    I just realized that one character can't be a...

    I just realized that one character can't be a string...thank you
  10. Replies
    4
    Views
    1,532

    Passing valid string through StrLen()

    Howdy! I am reviewing for my final and one of the questions states that
    StrLen(c); is not a valid function call when
    char c = 'c';


    Can someone help me understand why?



    Examples of...
Results 1 to 10 of 10