Test for code tags

Discussion in 'C Programming' started by old-student, Mar 22, 2015.

  1. old-student

    old-student

    Joined:
    Mar 22, 2015
    Messages:
    7
    Likes Received:
    2
    Location:
    SE Washington
    here is a test code snippet within code tags:
    Code (Text):


    // main begins ********************************************************
    int main(void)
    {
       do
       { // do - while loop begins
         switch(mainmenu()) // put up main menu and return value
         { // switch begins
           case '1':
           case 'B':
           case 'b':
           ballistics(); // ballistic menu
           break;
           case '2':
           case 'R':
           case 'r':
           loadmenu();  // reload menu
           break;
           case '0':
           case 'Q':
           case 'q':
           chois =27; // quit
           break;
         } // switch ends
       } // do - while loop ends
       while (chois != 27);  // loop until chois == 27
    return(0);
    }
    // main ends **********************************************************
     
     
    old-student, Mar 22, 2015
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Dean H. Saxe
    Replies:
    0
    Views:
    1,334
    Dean H. Saxe
    Jan 3, 2004
  2. Rob Nicholson
    Replies:
    3
    Views:
    1,133
    Rob Nicholson
    May 28, 2005
  3. Ranganath

    Custom Tags within Custom Tags.

    Ranganath, Oct 17, 2003, in forum: Java
    Replies:
    2
    Views:
    765
    Ranganath
    Oct 21, 2003
  4. Mike
    Replies:
    3
    Views:
    1,353
    Michael Borgwardt
    Jan 9, 2004
  5. A. Brinkmann
    Replies:
    2
    Views:
    1,438
    A. Brinkmann
    Apr 16, 2004
  6. Greg Smith
    Replies:
    35
    Views:
    3,759
    Alex Kay
    Oct 24, 2004
  7. Skybuck Flying

    Call oddities: &Test() vs &Test vs Test

    Skybuck Flying, Oct 4, 2009, in forum: C Programming
    Replies:
    1
    Views:
    1,165
    Skybuck Flying
    Oct 4, 2009
  8. James Wenton
    Replies:
    3
    Views:
    650
    Ryan Davis
    May 26, 2010
Loading...