state

This is a discussion on state within the C++ Programming forums, part of the General Programming Boards category; I also need help writing code for a function which prints String objects in order one at a time on ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    state

    I also need help writing code for a function which prints String objects in order one at a time on separate lines.
    This is what I have?
    Code:
    void PrintStrings(Node* head)
    {
    while(char !=NULL);
    cout << string<<endl;
    }
    What is wrong? THanks!

  2. #2
    Registered User
    Join Date
    Feb 2003
    Posts
    595
    If that's all you have, you need to start here:

    http://www.cprogramming.com/tutorial.html

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finite State Machine
    By ArlexBee-871RBO in forum C++ Programming
    Replies: 8
    Last Post: 07-14-2008, 12:59 PM
  2. Grammar to FSA to C code (Newbie)
    By aybe in forum C Programming
    Replies: 4
    Last Post: 02-29-2008, 02:10 PM
  3. input/switch statement issues
    By peanut in forum C Programming
    Replies: 5
    Last Post: 10-27-2006, 03:58 PM
  4. NAQ: Everything you never wanted to know about CPP
    By evildave in forum C Programming
    Replies: 21
    Last Post: 12-12-2005, 10:56 AM
  5. Finite State Machine Project Help
    By ryanbradley in forum C++ Programming
    Replies: 4
    Last Post: 03-06-2004, 10:23 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21