i am beginner in c++, I am using Dev C++ for compiling and execution
my code is not executing and return an error.
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
[// my second program in C++
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World! ";
cout << "I'm a C++ program";
}
this is my code. Please give me help
return an error
What error? The more information you give us, the more able we are to help you.
I notice you have a '[' character at the start of your first line of code. Is that in the code you're actually compiling?
E:\Program Files (x86)\Dev-Cpp\collect2.exe [Error] ld returned 1 exit status
Basically this is the error going to be shown in the console of DEV C++ while compile and execuation