LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 690 users online 221811 members 1508 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Suicidebooth
Peeves: Stupid fucking people, assholes, peopl...
Mood: Flirty
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
5 online / 39 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

Help with compiling C++ program
I don't know how
Replies: 6Last Post April 29, 2008 8:35pm by rand0mguy
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Sodapop )


Dairy Product Addict
Reply
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.

-------
don't click this link...

10:51 am on Jan. 20, 2008 | Joined: April 2005 | Days Active: 270
Join to learn more about Sodapop Kentucky, United States | Straight Female | Posts: 545 | Points: 3,306
LiveWire Humor
marshmellowman


wewerepromisedjetpacks

Patron
Support Leader
Tech Support Leader
Reply
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 marshmellowman England, United Kingdom | Straight Male | Posts: 24,325 | Points: 43,048
( Sodapop )


Dairy Product Addict
Reply
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.

-------
don't click this link...

1:10 pm on Jan. 20, 2008 | Joined: April 2005 | Days Active: 270
Join to learn more about Sodapop Kentucky, United States | Straight Female | Posts: 545 | Points: 3,306
Squiddles


Wealthy Hobo

Ad Free
Reply
Are you getting any error messages?  

5:20 pm on Feb. 12, 2008 | Joined: Sep. 2004 | Days Active: 380
Join to learn more about Squiddles Virginia, United States | Straight Male | Posts: 271 | Points: 4,025
Stormblazer


Enlightened One

Patron
Reply
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.

-------
Religion: Atheistic agnostic, political independent
Polyamory FAQ Relationships


11:32 pm on Feb. 15, 2008 | Joined: April 2005 | Days Active: 406
Join to learn more about Stormblazer Colorado, United States | Label Free Male | Posts: 9,400 | Points: 15,592
Will Smith


Quality Control Engineer
Reply
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/


10:37 pm on Mar. 31, 2008 | Joined: Mar. 2008 | Days Active: 28
Join to learn more about Will Smith Afghanistan | Straight Male | Posts: 535 | Points: 815
rand0mguy


Wealthy Hobo
Reply
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?

-------
aaaaaah im bored

8:35 pm on April 29, 2008 | Joined: Jan. 2008 | Days Active: 247
Join to learn more about rand0mguy New Zealand | Straight Male | Posts: 1,372 | Points: 4,605
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic