Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
https://en.wikipedia.org/wiki/The_C_Programming_Language_(book)The first edition of the book, published in 1978, was the first widely available book on the C programming language. C was created by Dennis Ritchie. Brian Kernighan wrote the first C tutorial This is a basic hurdle; to leap over it you have to be able to create the program text somewhere, compile it successfully, load it, run it, and find out where your output went. With these mechanical details mastered, everything else is comparatively easy. In C, the program to print "hello, world" is main() { printf("hello, world\n"); } Just how to run this program depends on the system you are using. As a specific example, on the UNIX operating system you must create the source program in a file whose name ends in ".c" such as hello.c, then compile it with the command cc hello.cIf you haven't botched anything, such as omitting a character or misspelling something, the compilation will proceed silently, and make an executable file called a.out. Running that by the command a.outwill produce hello, worldas its output. On other system, the rules will be different; check with alocal expert
/* C compiler * * * * Called from cc: * c0 source temp1 temp2 [ profileflag ] * temp1 contains some ascii text and the binary expression * trees. Each tree is introduced by the # character. * Strings are put on temp2, which cc tacks onto * temp1 for assembly. */
Страница сгенерирована за 0.07 секунд. Запросов: 25.