Computing.Net > Forums > Programming > C++ Compiler

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ Compiler

Reply to Message Icon

Name: tommypickles
Date: January 14, 2005 at 08:15:19 Pacific
OS: Windows XP Prof.
CPU/Ram: ???
Comment:

I am starting to learn to program C++ using the Sams Learn C++ in 24 hours. I have followed the exact instructions, but, when i complile, the .exe it makes (which you have to go few a fair few folders to get to) does not load. It opens up COmmand Promt and then closes it. I am using the compiler and linker the book gave me, which is BorlandC++CompilerIDE. It is ok, thouigh not the easiest to use. Can some one tell me how to fix the problem of not being able to complie the program properly (and link it to an .exe) and which is the best FREE C++ compiler? Thankyou

P.S. I am not a Programmer!



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: January 14, 2005 at 08:34:01 Pacific
Reply:

If your exe opens a command prompt and quickly closes it, you may have not a compile problem but a usage problem.

Go to a command prompt, change to the directory where your new executable is and type it in. Does it do or say what it's supposed to?

M2


0

Response Number 2
Name: BlueRaja
Date: January 14, 2005 at 16:13:41 Pacific
Reply:

add getch() to the end of main().

BlueRaja.admin@gmail.com


0

Response Number 3
Name: gimmpy225
Date: January 14, 2005 at 20:08:44 Pacific
Reply:

Well in my opinion, I love VC++6.0 compiler.

But just about everyone here has something against microsoft lol.

( you can dl VC 6.0 using a program >_< wont say which though )

I found borland confusing and I though the Dev compiler sucked.
VC6.0 has a lot easier environment to it I THINK.

Just explore them and see which your more comfortable with.

Plus Visual Studio compilers are mainly for people looking to get into windows type programming and stuff.

GIMPS


0

Response Number 4
Name: BlueRaja
Date: January 15, 2005 at 00:09:48 Pacific
Reply:

This has nothing to do with which compiler you're using.

BlueRaja.admin@gmail.com


0

Response Number 5
Name: Mechanix2Go
Date: January 15, 2005 at 00:22:57 Pacific
Reply:

BlueRaja,

Absoluetly right.

And Borland is as good as most mere mortals need.

M2


0

Related Posts

See More



Response Number 6
Name: tommypickles
Date: January 15, 2005 at 08:42:22 Pacific
Reply:

O,, could someone tell me how to use the BorlandC++ compiler then?

P.S. I am not a Programmer!


0

Response Number 7
Name: BlueRaja
Date: January 15, 2005 at 12:00:59 Pacific
Reply:

On January 14th, 2005, BlueRaja said AND I QUOTE:
"add getch() to the end of main()."

BlueRaja.admin@gmail.com


0

Response Number 8
Name: Fel
Date: January 17, 2005 at 10:39:55 Pacific
Reply:

"O,, could someone tell me how to use the BorlandC++ compiler then?"

well, using Borland C++ compiler is not that hard, learn it step by step

C++ Basic (not any different witch C basic):
- syntax(use Help menu [Control + F1])
- I/O
- Selection
- Repetition

C++ object concept:
- Struct(basic of class)
- Setter & Getter
- Parameter overriding
- Parameter Overloading
- Constructor
- Inheritance,Multiple Inheritance
- Polymorphism

oh yeah, coding/programming is all about concept and syntax, but there is one thing you can't study, it is logic, gotta find out yourself, train every day. esp using selection and repetition


AtlhonXP 2000+ @ 1667Mhz
V-Gen 512MB pc3200
MSI K7N2 Delta-L
Seagate 80GB HDD
Maxtor 20GB HDD
Thermaltake Volcano 7+
Windows XP sp1
GeForce4 MX 440-8x
Philips TV Tuner
Sony


0

Response Number 9
Name: Mechanix2Go
Date: January 17, 2005 at 10:49:27 Pacific
Reply:

tcc
[enter]

gives you the usage

M2


0

Response Number 10
Name: SteveWalsh
Date: January 19, 2005 at 16:58:37 Pacific
Reply:

Hey Hey don't blame the compiler is better then you are!!!!! post your code that you're compiling i have a theory of why it's doing that but i want to be sure.


0

Response Number 11
Name: BlueRaja
Date: January 20, 2005 at 15:40:53 Pacific
Reply:

Alright. I'm not going to say it again.
The next person to post something irrelevent ("post your code that you're compiling i have a theory of why it's doing that but i want to be sure.") is an idiot.

BlueRaja.admin@gmail.com


0

Response Number 12
Name: GRP
Date: February 3, 2005 at 12:08:35 Pacific
Reply:

If you want to execute the code . Just compiling is not enough. Try using "build all" or "make" in the build menu. Your program must be linked to your precompiled header files.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ Compiler

c++ compiler www.computing.net/answers/programming/c-compiler/4660.html

Help!! Need ANSI/ISO C++ Compiler!! www.computing.net/answers/programming/help-need-ansiiso-c-compiler/2115.html

Free Portable c++ Compiler www.computing.net/answers/programming/free-portable-c-compiler/11669.html