When I try to compile a program, I get these errors-
READ PIC I INCLUDED!
Help Please! Thanks
Printable View
When I try to compile a program, I get these errors-
READ PIC I INCLUDED!
Help Please! Thanks
Also, When I am in Borland 4.5, I don't get a error when I compile the same exact program. So what is wrong with Dev-C++?! Thanks, Bye
I just found out Borland 5.5 is free so I am downloading it right now. I might just use that instead. I am tired, so I am going to bed when it finishes. But still, try to find out whats wrong with Dev-C++. Thanks, Laterz...........
I'm not a C guru, but afaik Salem encourages everyone not to use void main().
Also, you #include <iostream.h>, but the file is now called <iostream> without the .h .
I installed 5.5. But there is no .exe file to run it! WTF do I do!!??
Nothing because you should stick with DevC++. It's an IDE with editor whereas your latest download is a naked compiler without IDE.Quote:
Originally posted by oobootsy1
I installed 5.5. But there is no .exe file to run it! WTF do I do!!??
Ok, My uncle said 5.5 is a command line for dos or sumthin. so ill stay with borland 4.5. bloodshed dev-c++ has those errors, so i cant use that. i even reinstalled too. so i dunno wtf to do. and my cat is lost today, it got away somehow. im about to do suicide, so i dunno. just try to help me. thankz.........
Errm, it's not Dev-C++ that has errors, it's your program.
But never mind me.
DUDE!!!11 UR CODE IS THE WRONG. PLS SEE ATTACHED FOR CORRECTION?!!!1 OMG WTF LOL!
What is the deal with this thread? oobootsy asks a question, then doesn't even respond to everybody's answers! oobootsy, try doing what everybody told you.
IT WONT WORK! LOOK IN ZIP
oobootsy1 : Why not just copy and past the code into this thread instead of using a zip file with a picture ?
Do this,
orCode:#include <iostream>
int main()
{
std::cout << "Hello word" << std::endl;
system("PAUSE");
return 0;
}
Code:#include <iostream>
using namespace std;
int main()
{
cout << "hello world" << endl;
system("PAUSE");
return 0;
}
look at THE ERRORS in the pic on the zip file. no matter how easy, basic, or good the program is, it errors. i need help to make bloodshed work, not improve my code.
Heres your problem:
:PCode:cout
The new bloodshed compiler wont allow that i believe:
will work...or addCode:std::cout
after your #includeCode:using namespace std;
what is it these days with people who won't accept the fact that they can be wrong?
Everyone told you from the very beginning how to correct your program, which was so wrong it made me cringe. I'll do it once more for you:
Code:#include <iostream> // note no .h
using std::cout;
int main
{
cout << "This code is so beautiful it makes me weep.";
return 0; // still required in some compilers
}