simple C print script

Published  Dec 23, 2010
Updated  Dec 23, 2010
0  3

Description

this is the simple c script print
i mean anybody can do this
this was made for beciners
oh
{
print("lol");
}

Download

Filename
Size
Date
Downloads
143 B
Dec 23, 2010
8

Comments

Sign in to comment.
sunslayer   -  Dec 23, 2010

I'm not sure what compiler you are using but your code won't work with GCC, you don't have the main function and you don't call any headers

 Respond  
macs-rock   -  Dec 23, 2010

yeh thats just the print part now the full code for it

 Respond  
jaytea   -  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.