twyg
Back to Mac Baby!
Hey all,
This morning picked up Sams Teach yourself c++ in 21 days, signed up at ADC, downloaded the Dev Tools, and then it got wierd.
Made the file helloWorld.cpp, Project Builder loaded it all up nice nice, and then I typed in the code
int main()
{
std::cout "Hello World\n";
return
The program crashed. Unexpected quit.
So... why not go in vi. This time I finished the program, and everytime I attempt to open it in Project Builder, bam...
I'm probably being stupid, but there is no harm in asking.
Also on that note If I wanted to compile, and run my .cpp program in terminal how do I?
Thanks in advance
This morning picked up Sams Teach yourself c++ in 21 days, signed up at ADC, downloaded the Dev Tools, and then it got wierd.
Made the file helloWorld.cpp, Project Builder loaded it all up nice nice, and then I typed in the code
int main()
{
std::cout "Hello World\n";
return
The program crashed. Unexpected quit.
So... why not go in vi. This time I finished the program, and everytime I attempt to open it in Project Builder, bam...
I'm probably being stupid, but there is no harm in asking.
Also on that note If I wanted to compile, and run my .cpp program in terminal how do I?
Thanks in advance