Thread: state

  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
    596
    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, 11:59 AM
  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, 02: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