Thread: Compiles okay, but doesn't run.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Well, your program is waiting for your input. Isn't it?

    Code:
    	while (MarksRead <6)
    	{
    		cin>> mark [MarksRead];
    		MarksRead++;
    	}
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    c++ beginner so be nice! karlawarla's Avatar
    Join Date
    Nov 2006
    Location
    West London, UK
    Posts
    33
    Quote Originally Posted by Mario F.
    Well, your program is waiting for your input. Isn't it?

    Code:
    	while (MarksRead <6)
    	{
    		cin>> mark [MarksRead];
    		MarksRead++;
    	}
    yeah, Im quite confused on why it isnt working cause I orginally wrote this program at uni using emacs (without having to use the pause) and it worked fine but now on visual it doesn't.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. calculating the mode
    By bigggame in forum C Programming
    Replies: 10
    Last Post: 06-13-2006, 03:04 AM
  2. My program compiles, but does not run
    By Surfer_Rosa in forum C++ Programming
    Replies: 4
    Last Post: 05-13-2006, 10:25 AM
  3. How I can Run exe file in C++
    By palang in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2006, 11:55 AM
  4. MSVC: run w/o debugger vs run w/ debuger
    By skorman00 in forum C++ Programming
    Replies: 2
    Last Post: 01-24-2006, 09:49 PM
  5. Replies: 2
    Last Post: 10-29-2002, 04:56 PM