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.
10:51 am on Jan. 20, 2008 | Joined: April 2005 | Days Active: 270 Join to learn more about SodapopKentucky, United States | StraightFemale | Posts: 545 | Points: 3,306
LiveWire Humor
marshmellowman
wewerepromisedjetpacks Patron Support Leader Tech Support Leader
Try DevC++ compiler. I used that back in my C++ days. Open up the .cpp file and click compile. It's free software.
------- and victorious in war shall be made glorious in peace.
10:57 am on Jan. 20, 2008 | Joined: Feb. 2007 | Days Active: 756 Join to learn more about marshmellowmanEngland, United Kingdom | StraightMale | Posts: 24,325 | Points: 43,048
( Sodapop )
Dairy Product Addict
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.
1:10 pm on Jan. 20, 2008 | Joined: April 2005 | Days Active: 270 Join to learn more about SodapopKentucky, United States | StraightFemale | Posts: 545 | Points: 3,306
Squiddles
Wealthy Hobo Ad Free
Are you getting any error messages?
5:20 pm on Feb. 12, 2008 | Joined: Sep. 2004 | Days Active: 380 Join to learn more about SquiddlesVirginia, United States | StraightMale | Posts: 271 | Points: 4,025
Stormblazer
Enlightened One Patron
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.
11:32 pm on Feb. 15, 2008 | Joined: April 2005 | Days Active: 406 Join to learn more about StormblazerColorado, United States | Label FreeMale | Posts: 9,400 | Points: 15,592
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.
10:37 pm on Mar. 31, 2008 | Joined: Mar. 2008 | Days Active: 28 Join to learn more about Will SmithAfghanistan | StraightMale | Posts: 535 | Points: 815
rand0mguy
Wealthy Hobo
Quote: from Will Smith at 10:37 pm on Mar. 31, 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.
i use dev-c++ and its quite handy. u say u compiled it, but did u then run it?
------- aaaaaah im bored
8:35 pm on April 29, 2008 | Joined: Jan. 2008 | Days Active: 247 Join to learn more about rand0mguyNew Zealand | StraightMale | Posts: 1,372 | Points: 4,605