jaytea commented on a C++ Script, simple C print script   -  Dec 23, 2010

unless you have a C interpreter to speak of, the term 'C script' is a misnomer. a C source file is commonly referred to as a 'module'.

since C modules are generally compiled, it would be a good idea to include a fully compilable C file and instructions on how to compile it. your file is incomplete and lacks both a main method and an 'include' directive to tell the compiler where printf() is defined (in the system header file stdio.h).

only those who have never used C before will be unfamiliar with your example. it is imperative (lol) that these people learn the concepts mentioned above if they wish to do anything useful or productive with it.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.