1. This forum is in read-only mode.

Dev-cpp help. ( can't get program to work)<Newbie>

Discussion in 'Non-Emulation Help' started by vivo, Mar 4, 2010.

  1. vivo

    vivo Well-Known Member

    Hi,
    I tried to compile, then run a proram I created with Dev-Cpp, and it worked one time with one source code, but when I try to run another program, it does not pop up like the first. And I tried seperating them, but that did not work. And I added it to my AVG exceptions list, so whats up?
    Thanks
     
  2. Loonylion

    Loonylion Administrator Staff Member

    we're going to need source code to be able to help.
     
  3. vivo

    vivo Well-Known Member

    Re: Dev-cpp help. ( can\'t get program to work)<Newbie>

    k, hee is the link for the program that works, and the one that doe not. ( excuse the stupid expressions, just testing it out.)Working and non working in rar archieve:http://www.filedropper.com/code
    thanks(really excited about learning programming so it is a real help) :) C++ code
    Post Merge: [time]1267793852[/time]
    Aprogram is the one that works, the other, the one that does not.
     
  4. vivo

    vivo Well-Known Member

    Update: got it to work, used dos prompt on my xp. But now, how do I enter data into the program?
    I pressed enter but it just exits
     
  5. Zayfox

    Zayfox New Member

    Code:
    getline(cin, variable);
    is what you want.