compiling in borland c++ 5.5, no output shown? suggestions>
<code>
#include <stdio.h>
main()
{
printf("checking..");
getchar(); // to stop the program until entered
}
NEED TO KNOW!!!!
1 more thing , wats better visual c++ or borland?
compiling in borland c++ 5.5, no output shown? suggestions>
<code>
#include <stdio.h>
main()
{
printf("checking..");
getchar(); // to stop the program until entered
}
NEED TO KNOW!!!!
1 more thing , wats better visual c++ or borland?
I hate when people ask this question. You realize that in a nearly perfectly competitive market, such as that for high end compilers/IDEs, two products that can be compared using 'better' or 'worse' or some other similar qualitative judgment cannot exist?
To answer your first question: it works fine for me using the free cmdline tools. But you need to use int main(), which returns a value of 0 if successful
first THIS BELONGS ON THE C FORUM!
add
fflush(stdout);
after your call to printf();
>1 more thing , wats better visual c++ or borland?
this is almost impossible to answer fairly its all opinion i use CodeWarrior but it is not for the faint of heart, it is far less forgiving of code error than Borland or MSVC, not really a Compiler for beginners, Most people start with MSVC since its easy to learn and very forgiving.
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
>1 more thing , wats better visual c++ or borland?
Depens
Borland's latest vs. VC++ 6 (not .net/7)
Borland is better for applications
VC++ is better for games
Code warrior is supposted to be better then both.
I don't how vc++.net stacks up, thought.
I shall call egypt the harmless dragon
-Isaiah 30.7
Code Warrior? The one made by Metroworks? That thing is a slow pile of crap. I'd go with Microsoft because it seems to be more widely used and it's really easy to use.
>Code Warrior? The one made by Metroworks? That thing is a slow pile of crap.
whateva! mine is like lightning, its faster than MSVC and compiles code at about a fifth the size without even optimizing it, plus my code execution is slightly faster... AND IM USING VERSION 4 FOR CRAPS SAKE!! god only knows what 7.0 can do! I can't afford an update but when i can i know where my money goes!
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.
I agree with no-one
"The most common form of insanity is a combination of disordered passions and disordered intellect with gradations and variations almost infinite."
Quite right. I never agree with anybody eitherOriginally posted by lostminds
I agree with no-one
Visit entropysink.com - It's what your PC is made for!
You can help me too. Does anyone know why I can't post a thread. I click on New thread and It says no forum specified. And I did follow a valid link.
#include <iostream.h>
int main()
{
cout<<"Hello";
return 0;
}
PS: Does anyone use MPW GM on the Mac? I can't get it to compile any of my programs properly without errors. I'm only a beginner so it's nothing complicated I know this should eb in the C forum
#include <iostream.h>
int main()
{
cout<<"Hello";
return 0;
}
i know CodeWarrior is the best and is not hard to use (tho i use it on macs @ my school). Did some1 say it is slow...
i dont think so. on those crappy macs it loads so quickly as well as it compiles fast
just my opinion!!!
What page were you on when you tried to post (copy & paste the URL into your reply from your address bar).Does anyone know why I can't post a thread. I click on New thread and It says no forum specified. And I did follow a valid link.
I'll try from there.
Visit entropysink.com - It's what your PC is made for!
I guess I must be wrong about code wrrior, maybe I got confused with another compiler or something.
not maybe, u must be