O.M.G.!! My first C Program!!!!!!!!!
As you can see, it is extremely complicated and sophisticated!!Original Code:
#include <stdio.h> int main() { printf("Aloha!\n"); printf("What is 1 + 1?\n"); printf("2"); return 0; }
Soo... C's syntax is in some ways very similar to Java's - both have the printf() function/method, and both have a main() function/method. I just need to remember to include that pesky #include <stdio.h> at the top and the return 0; at the end!

No comments:
Post a Comment