Hi there, I'm a complete newbie in Programming and coding, as of right now I'm using Mint 18 and I install the compiler and Code::Blocks. By the way, I'm using Dummies guide to learn C++ but unfortunately it gave me an error when I tried to run it after building it.
My code
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
When Building
-------------- Build: Debug in Ujian 5 (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -std=c++11 -Wextra -Wall -c "/home/kaisora/Documents/Coding Tutorial Dummies/Ujian 5/main.cpp" -o obj/Debug/main.o
g++ -o "bin/Debug/Ujian 5" obj/Debug/main.o
Output file is bin/Debug/Ujian 5 with size 27.05 KB
Process terminated with status 0 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Trying to Run
-------------- Run: Debug in Ujian 5 (compiler: GNU GCC Compiler)---------------
Checking for existence: /home/kaisora/Documents/Coding Tutorial Dummies/Ujian 5/bin/Debug/Ujian 5
Executing: xterm -T Ujian\ 5 -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/kaisora/Documents/Coding\ Tutorial\ Dummies/Ujian\ 5/bin/Debug/Ujian\ 5 (in /home/kaisora/Documents/Coding Tutorial Dummies/Ujian 5/.)
Process terminated with status -1 (0 minute(s), 0 second(s))
please someone I need help. ( TT ___ TT )