Can someone tell me why malloc wont work in this case?
(note, line 13 is the char line)
My error is:
1>c:\documents and settings\user\my documents\visual studio 2008\projects\code\code\code.c(13) : error C2143: syntax error : missing ';' before 'type'Code:char * ptr; int main (int argc, char *argv[]) { ptr = malloc(9000); char cmd[50] = ""; return 0; }