Ok, in my intro to C++ class we use this great program called Microsoft Visual C++ 6.0. It's very nice, in easily lets you make new console applications and adds them to source files, and the running you program is easy, it compiles everything saves changes and all that good stuff. I want to practice coding at my house. Is there a good *free* program that does most of these things? I couldn't really find the one we are using, and when I did the setup wouldn't work for me, so, can anyone help me out?
Results 1 to 8 of 8
- 09 Mar. 2010 11:48pm #1
Looking for A Good C++ Program. Thing.
LG's Dyke. Enough. Said.
- 10 Mar. 2010 01:16pm #2
- 10 Mar. 2010 02:50pm #3LG's Dyke. Enough. Said.
- 10 Mar. 2010 09:44pm #4
What's the full program? The only time it should say you forgot to include something is if you're using a function that's defined by that header. Also, make sure you have that header installed/downloaded/whatever.
- 10 Mar. 2010 10:16pm #5
#include <iostream>
int main ()
{
cout<< "test" <<endl;
return 0;
}
then I get:
fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
then I change it to:
#include "stdafx.h"
int main ()
{
cout<< "test" <<endl;
return 0;
}
then I get:
error C2065: 'cout' : undeclared identifier
error C2065: 'endl' : undeclared identifierLG's Dyke. Enough. Said.
- 10 Mar. 2010 11:43pm #6
Try This:
#include <iostream>
#include "stdafx.h"
int main ()
{
cout<< "test" <<endl;
return 0;
}
PS: I strongly suggest Visual Basic...Last edited by Eternal Darkness; 10 Mar. 2010 at 11:46pm.
- 11 Mar. 2010 01:19am #7
What you suggested didn't work either, and that website you suggested doesn't have anything like I'm working on D:. It's weird, we're workin on for loops, while loops, if else statements, and cout<< is just something we use to display text...I don't know why nothing is recognized, In school we use Visual C++ 6.0 or something and it recognizes all of that. D:
LG's Dyke. Enough. Said.
- 11 Mar. 2010 03:58am #8