02-11-2003, 08:26 AM
StdIO???!!!! That's a LIB in my dictionary.. :*)
A List
|
02-11-2003, 08:26 AM
StdIO???!!!! That's a LIB in my dictionary.. :*)
02-11-2003, 11:23 AM
Well, C doesnt really do much without libs. Stdio.h is only a header, not a lib but it has definitions for the standard C library. IMHO its not cheating to use the standard C library because it only provides basic functionality such as printing, input and string functions. It is basically the equivalent of the Qb functions print, input, mid$, etc.
In C you have to use libs (or write your own functions) to get most of the math functions (log, sin, cos, etc) any form of graphics (unless you use pointers and hardware specific code), sound other than a beep, etc. Basically its comparing apples and oranges, but I only posted the C program for a laugh. Shogun, the main function is there. Its on line 8, and defined in traditional (yucky) K&R style. Code: main(x,a) char **a; { Code: int main(int x, char **a) {
esus saves.... Passes to Moses, shoots, he scores!
02-11-2003, 12:43 PM
My sentiments exactly. That's why I made that comment. ;*)
"Its not the language, its the ppl who use the language" ;*)
02-12-2003, 11:02 PM
Quote:Shogun, the main function is there. Its on line 8, and defined in traditional (yucky) K&R style.ah there it is I couldn´t find it at first..... I hate that pice of code.... |
« Next Oldest | Next Newest »
|