RudeSoup
January 24th, 2011, 08:17 PM
Hello,
I am an absolute beginner to programming, and I am beginning by learning C++. I installed the Codelite compiler, and to test it, I used some sample code from the book I'm using as an instructor, and entered it into the compiler, as a .cpp file. however, no matter what I place between the quotes in the following code, "Build and run" always produces the same thing, saying hello world.
#include <stdafx.h>
#include <iostream>
using namespace std;
int main() {
cout << "dfhgfsg";
return 0;
}
Anyone have any idea what's going on?
I am an absolute beginner to programming, and I am beginning by learning C++. I installed the Codelite compiler, and to test it, I used some sample code from the book I'm using as an instructor, and entered it into the compiler, as a .cpp file. however, no matter what I place between the quotes in the following code, "Build and run" always produces the same thing, saying hello world.
#include <stdafx.h>
#include <iostream>
using namespace std;
int main() {
cout << "dfhgfsg";
return 0;
}
Anyone have any idea what's going on?