LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 542 users online 225299 members 1407 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Falling Slowly
Peeves: arrogance and ignorance; especially wh...
Mood: Tearful
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
4 online / 25 MPM
Christmas!
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic Help with compiling C++ program
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Sodapop Posted at 10:51 am on Jan. 20, 2008
Okay, so it's the first thing I have to do in this class, which is only online for some reason, and I have no idea how to compile a program. We had to start out with a simple code saved as myprog.cpp in notepad2. We had to download MingW but I can't get it to work. Every time I try it just opens up the website and prompts me to download the program again. Am I using the wrong program or something? That's the one we were told to use though.

Replies
rand0mguy Posted at 8:35 pm on April 29, 2008
Quote: from Will Smith at 10:37 pm on Mar. 31, 2008

Quote: from Sodapop at 10:51 am on Jan. 20, 2008

Okay, so it's the first thing I have to do in this class, which is only online for some reason, and I have no idea how to compile a program. We had to start out with a simple code saved as myprog.cpp in notepad2. We had to download MingW but I can't get it to work. Every time I try it just opens up the website and prompts me to download the program again. Am I using the wrong program or something? That's the one we were told to use though.

You need to use a something called Compiler, then and only then you will be able to execute it.

Jus try Dev-C++
http://www.bloodshed.net/



i use dev-c++ and its quite handy. u say u compiled it, but did u then run it?
Will Smith Posted at 10:37 pm on Mar. 31, 2008
Quote: from Sodapop at 10:51 am on Jan. 20, 2008

Okay, so it's the first thing I have to do in this class, which is only online for some reason, and I have no idea how to compile a program. We had to start out with a simple code saved as myprog.cpp in notepad2. We had to download MingW but I can't get it to work. Every time I try it just opens up the website and prompts me to download the program again. Am I using the wrong program or something? That's the one we were told to use though.

You need to use a something called Compiler, then and only then you will be able to execute it.

Jus try Dev-C++
http://www.bloodshed.net/

Stormblazer Posted at 11:32 pm on Feb. 15, 2008
Install Dev-C++ that comes with MinGW. It should work right off unless you messed with something. All you need to do is make a new project, plop the code in it, and hit compile + run (F9).

MinGW is a windows compilation of GCC, a widely used open source compiler, the best one in fact imo, and certainly the largest by far.

Squiddles Posted at 5:20 pm on Feb. 12, 2008
Are you getting any error messages?  
Sodapop Posted at 1:10 pm on Jan. 20, 2008
Ok, I tried that compiler and it's not working. So evidently I'm not doing something right. I entered the code exactly as I was supposed to, hit the compile button, and it didn't do anything. I'm sorry being such a nuisance but I just really don't get why it's not working like it should. I'm doing everything ithe book tells me to and it still doesn't work.
marshmellowman Posted at 10:57 am on Jan. 20, 2008
Try DevC++ compiler. I used that back in my C++ days. Open up the .cpp file and click compile. It's free software.
All 6 previous replies displayed.