Can't compile, Tried 2 types of compilers
Can't compile, Tried 2 types of compilers
|
|
Feb 8 2006, 10:42 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,761 posts Joined: Feb 2006 From: Kajang | Shah Alam Mood: Confused -_-" |
i used it tho.. n its work fine with me
|
|
|
|
|
|
Feb 8 2006, 11:53 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
818 posts Joined: Jan 2003 |
You used what and what works fine?
|
|
|
Feb 9 2006, 12:44 AM
|
![]() ![]()
Junior Member
51 posts Joined: May 2005 |
Thread starter, don't mind if I borrow your thread? I have a somewhat similar problem, except that my problem comes when I try to build a program. Once I compile the code and click the build button, it just displays the text "Linking" in the bottom window without showing the result (e.g. 0 error, 0 warning). If I click the "Stop building" button, nothing happens. I can't quit the program and have to use Ctrl+Alt+Del to exit. Can anyone help me here?
This post has been edited by Element_18: Feb 9 2006, 12:44 AM |
|
|
Feb 9 2006, 09:19 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
2,782 posts Joined: Feb 2006 From: BANGSARian |
reading 2 post number 12 got me dizzy and all sleepy
i hate programming but im in the programming field lol in college, they use something called Borland C++ that program works for your code but does NOT understand the code #include<iostream> void main(){ cout<<"Hello"; } |
|
|
Feb 9 2006, 11:05 AM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
818 posts Joined: Jan 2003 |
QUOTE(Element_18 @ Feb 9 2006, 12:44 AM) Thread starter, don't mind if I borrow your thread? I have a somewhat similar problem, except that my problem comes when I try to build a program. Once I compile the code and click the build button, it just displays the text "Linking" in the bottom window without showing the result (e.g. 0 error, 0 warning). If I click the "Stop building" button, nothing happens. I can't quit the program and have to use Ctrl+Alt+Del to exit. Can anyone help me here? I am under the assumption that the your source code couldn't be linked properly. This is very hard to solve as there isn't any error message. You know your source code has been compiled successfully but for some reason they can't be linked.Have you tried on another PC with a different C++ compiler? |
|
|
Feb 9 2006, 11:07 AM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
818 posts Joined: Jan 2003 |
QUOTE(Jcsy @ Feb 9 2006, 09:19 AM) that program works for your code LOL. Man, a short explaination got you sleepy and all, yet you're in the programming field. Amazing!but does NOT understand the code #include<iostream> void main(){ cout<<"Hello"; } Anyway, mind to explain the quote above? What does not understand the code? You or the compiler? What program works for the code? |
|
|
|
|
|
Feb 9 2006, 11:51 AM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
4,464 posts Joined: Jan 2003 |
Jcsy, your school is still amazingly using a retired compiler. Your Borland compiler must not be earlier than 5.5 (not IDE or for IDE version must not earlier than 6.0). Otherwise you are writing code that won't work in current era of C++.
|
|
|
Feb 9 2006, 05:24 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
818 posts Joined: Jan 2003 |
QUOTE(dstl1128 @ Feb 9 2006, 11:51 AM) Jcsy, your school is still amazingly using a retired compiler. Your Borland compiler must not be earlier than 5.5 (not IDE or for IDE version must not earlier than 6.0). Otherwise you are writing code that won't work in current era of C++. Right on the spot. Exactly my point. Write ANSI C++ compliant codes or your codes will only compile in old C++ compilers and not the current ones. |
|
|
Feb 9 2006, 06:31 PM
|
![]() ![]()
Junior Member
51 posts Joined: May 2005 |
QUOTE(astalavista_baby @ Feb 9 2006, 11:05 AM) I am under the assumption that the your source code couldn't be linked properly. This is very hard to solve as there isn't any error message. You know your source code has been compiled successfully but for some reason they can't be linked. Well, I tried Visual C++ on another PC, with the same effect. I don't know about any other C++ compilers, can you enlighten me maybe?Have you tried on another PC with a different C++ compiler? |
|
|
Feb 9 2006, 06:34 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,761 posts Joined: Feb 2006 From: Kajang | Shah Alam Mood: Confused -_-" |
|
|
|
Feb 9 2006, 07:58 PM
|
![]() ![]() ![]() ![]() ![]()
Senior Member
818 posts Joined: Jan 2003 |
|
|
|
Feb 11 2006, 05:08 PM
|
![]() ![]()
Junior Member
234 posts Joined: Jan 2003 From: Penang, Malaysia |
QUOTE(crapp0 @ Jan 28 2006, 07:02 PM) I'm starting c++ programming and i've used two compilers which were mentioned in this forum called Microsoft Visual C++ 2005 Express Edition(free) and BloodShed DEV IDE(free) and i can't even compile a simple c++ code such as: i guess nothing is wrong here. u should try returning int with your main()#include<iostream.h> void main(){ cout<<"Hello"; } My college computer are using an old version of microsoft visual c++ but i dont know what version they are using and the new microsoft visual c++ 2005 express doesn't even seem to have a button to compile and run the program above which i've saved as a cpp file. are you using a compiler which is for c++.net? |
| Change to: | 0.0169sec
0.92
5 queries
GZIP Disabled
Time is now: 23rd December 2025 - 09:24 AM |