Mac Osxtopus
Registered
Ok, i'm starting to learn C (since im taking C++/Java next year in high school, im learning C first to get ahead), but the tutorial for it must be dated or something, because the "while" and "do-while" commands always have syntax errors, even when i copy and paste:
#include <stdio.h> .... well the stdio.h thing isnt showing due to the < 's
int main()
while (a < b)
{
printf("%d\n", a);
a = a + 1;
}
Whats wrong with this picture?
Ok, now to the misc. questions:
1: What the heck is cocoa? java for people who don't like coffee?
2: Carbon and cocoa? whats next, Sulfur and Soda?
3: How do i allow people to see my compiled executables? I sent a really basic 2 variable calculator to a friend of mine i made out of C. When he tried to run it on terminal he got the error message of permission denied. Any advice? I set the file for read/write priveleges for everyone.
#include <stdio.h> .... well the stdio.h thing isnt showing due to the < 's
int main()
while (a < b)
{
printf("%d\n", a);
a = a + 1;
}
Whats wrong with this picture?
Ok, now to the misc. questions:
1: What the heck is cocoa? java for people who don't like coffee?
2: Carbon and cocoa? whats next, Sulfur and Soda?
3: How do i allow people to see my compiled executables? I sent a really basic 2 variable calculator to a friend of mine i made out of C. When he tried to run it on terminal he got the error message of permission denied. Any advice? I set the file for read/write priveleges for everyone.