I've recently picked up C++ to prepare for college, to me its more of a data cruncher language.Yup.
#include <stdio.h>
int main(void)
{
printf("hello, world\\n");
return 0;
}
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello world!\\n";
return 0;
}
Advice from someone who has built a game in Java and Objective C...I can easily believe it. I went bald from reading Java For Dummies, and I didn't even have any hair to begin with! (I'd just finished Assembly for Smarties)
Objective C causes less hair loss than Java.
-Gan
You forgot to play your necromancy card, this thread is from around a year ago!Sorry, I just showed up for my yearly lurk. =P
My C is rusty but I believe something like this for Hello WorldCode: [Select]#include <stdio.h>
int main(void)
{
printf("hello, world\\n");
return 0;
}