Thread: Help with c++ coding

  1. #16
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Here I added position:
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  2. #17
    Registered User
    Join Date
    Sep 2005
    Posts
    25
    Hi
    There is no changing in the last file . What i need is only :
    * Iwant to add posiition so it become (First name , Last name , Age , Position)
    *intead of type exit to quit i want to type 0 to quit
    *at the last when you choose nr 2 to view the players , i want to type any key to go back to menu. Now the menu it come in the same time with view players.

    Thanks Thanks

  3. #18
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Yeah there is, it has position added, and type 0 instead of exit to quit. I just downloaded the file from my last post and it is the fixed one. Make sure you saved it over the other file.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  4. #19
    Registered User
    Join Date
    Sep 2005
    Posts
    25
    Hi again
    When i change exit to 0 it dosnt work and even when i choose nr 2 to view players it show me the players and the menu same time , but Iwant when i choose nr 2 to only give me the players and below this will be press any key to go to menu.

    Summar:
    Choose: 2

    exemple
    Stefan Hans 34 Back
    Kotane Nian 35 G
    John Raoo 21 Forward

    Press any key to go to menu (when i press any key i go back to menu)

  5. #20
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    My code doesn't do that. Did you download my code and compile that? I already changed exit to 0 and it works. If you want to pause before going back to the menu, just add this line where you want it to pause: system("PAUSE") or you could use cin.get(); as well.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  6. #21
    Registered User
    Join Date
    Sep 2005
    Posts
    25
    Iam sorry but i tried to use cin.get(); but it dosnīt work.

  7. #22
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    For $1k Euros, I'll write the program for you. Please send the payment to my Paypal account.

  8. #23
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    For $1k Euros, I'll write the program for you. Please send the payment to my Paypal account. If it's not worth $1k to you, then it can't be that important.

  9. #24
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    That's pretty stupid, $1k euros for that simple of a program!? I already wrote the program for him anyways. Oh and use system("PAUSE"); instead of cin.get(); if you can't get that to work.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  10. #25
    Moderately Rabid Decrypt's Avatar
    Join Date
    Feb 2005
    Location
    Milwaukee, WI, USA
    Posts
    300
    Some might say instead:
    I already wrote the program for him anyways.
    (for free)
    That's pretty stupid
    There is a difference between tedious and difficult.

  11. #26
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532
    Well someone didn't say that, I said it the way I did even though it was a little backwards.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 03-20-2009, 05:22 PM
  2. Coding Guideline ....!!
    By imfeelingfortun in forum Tech Board
    Replies: 8
    Last Post: 10-08-2006, 07:09 AM
  3. Before Coding
    By cyberCLoWn in forum C++ Programming
    Replies: 16
    Last Post: 12-15-2003, 02:26 AM
  4. Coding Contest....
    By Koshare in forum A Brief History of Cprogramming.com
    Replies: 46
    Last Post: 10-14-2001, 04:32 PM