Need help with loops

This is a discussion on Need help with loops within the C++ Programming forums, part of the General Programming Boards category; Hi i new here and right now i taking programming course My question is How to make the coding to ...

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    2

    Need help with loops

    Hi i new here and right now i taking programming course
    My question is
    How to make the coding to resart back? this is example
    Code:
    switch pick1
    	{
    	case 1 : Clash Of The Titan;
    		break;
    	case 2 : Titanic;
    		break;
    	case 3 : Posseidon;
    		break;
    	case 4 : Home alone 3;
    		break;
    	default: Please Chose Wisely;
                    (At here what should i put to make this coding to resart??)
    Last edited by BaS5WaR; 05-02-2010 at 10:45 PM.

  2. #2
    Registered User NeonBlack's Avatar
    Join Date
    Nov 2007
    Posts
    435
    You're on your final project and you haven't learned how to write a loop yet?
    I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    2

    I using Visual C++ 6.0

    Actually i sem 2 in my college yeah me not full study loop my teacher said the rest study self >_< got all 6 sem at my college right now i just sem 2

  4. #4
    Registered User NeonBlack's Avatar
    Join Date
    Nov 2007
    Posts
    435
    I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. loops, menu loops
    By gloworm in forum C Programming
    Replies: 17
    Last Post: 04-12-2010, 07:59 PM
  2. Multiple thread for loops
    By lehe in forum C++ Programming
    Replies: 12
    Last Post: 03-29-2009, 12:01 PM
  3. Too many loops D:
    By F5 Tornado in forum C++ Programming
    Replies: 6
    Last Post: 12-03-2007, 12:18 AM
  4. Evaluation of nested loops
    By Mister C in forum C Programming
    Replies: 2
    Last Post: 08-13-2004, 01:47 PM
  5. help with arrays and loops
    By jdiazj1 in forum C Programming
    Replies: 4
    Last Post: 11-24-2001, 03:28 PM

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