sorry for the long post, if you don't want to read the wall text, feel free to skip down 2 paragraphs to the part after the dashes (---------------------)
ok, so, I'm normally a windows guy, and I was able to get CodeBlocks to work on my windows7 laptop, but I got F*cked up by a bunch of virus due to me being stupid and had to reformat my computer, my disk drive is broken so I tried installing win7 from usb, and it wasn't working, then tried installing ubuntu from usb and realized why win7 didn't work, I decided to keep ubuntu instead of going back to win7, thought I'd try it out.
but none of that really pertains to by problem, just felt like giving some back story to my situation.
So, I had just installed ubuntu (10.4 i believe?) whatever the newest one is for notebooks
I was looking around in the system setup stuff, to .. you know...... uhh set up my new computer
and I came across the Synaptic Package Manager, and in the nifty little program I found the availability to install codeblocks, without the hassle of going to the site to download it
(even though it's not that much of a hassle)
so it installed all right and seemed to be working correctly, but;
------
Whenever I try to build anything, it says
-------------- Build: Debug in a ---------------
Compiling: main.cpp
s: 1: Syntax error: Unterminated quoted string
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
,
and by anything I mean anything, that was copied from the build log of a
new Project -> Console Application
so the only thing main.cpp has in it is
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
I'm a bit stumped, as I can't seem to find any sort of answer anywhere, I've been searching the net for the past 2-3 hours,
wow, it's almost 5:30, I'm sorry for the rambling and all of the unneeded info, i get that way sometimes when I don't get sleep because of problems like this,
so, if anyone has an answer for me, please, give me a hand,
i want to start learning to program