Teen Programmers Unite  
 

 

Return to forum top

Update C quickstart guide

Posted by metamorphic [send private reply] at April 14, 2002, 07:40:58 PM

I think the C quickstart guide should be updated to also include C++. All it says is: "You may have heard a lot about C++ and assumed that C++ is the "next version" of C that everyone uses now, but very little code for UNIX and its derivatives has strayed away from C, the language that was created to make UNIX possible". That gives the impression that C++ isnt really used at all. Considering OOP is now really the standard of programming and generic programming soon to take over from that (in my opinion anyway) i feel you should reflect these changes in the guide. not to mention its backwards compatability making virtually any C program a legal C++ program. Its almost as if your shunning the language for some reason.

Posted by Psion [send private reply] at April 14, 2002, 09:44:08 PM

I was shunning the language when I wrote it. Write a C++ guide if you think it needs representation. =)

Posted by vikram_1982 [send private reply] at April 14, 2002, 10:05:42 PM

"the language that was created to make UNIX possible"

I wouldnt agree with that. Unix was created before C. The version of Unix b4 C came in used Assembly, but still it was Unix. Unix came into existence in 1970 (1965-1970 was the dev. period of Unix). Dennis Ritchie joined the group only 1973 and it was then that he rewrote the OS in C.

So C wasnt the language that MADE UNIX POSSIBLE. It just helped take Unix further.!!!
(Btw Ken Thompson and Dennis Ritchie won the Turing award for their efforts. Thompson was the original project leader of the Unix team).

Posted by gian [send private reply] at April 15, 2002, 02:41:54 AM

I think you'll find that most Unices were written in C. There may have been something prior to Bell Unix that was not written in C, but Bell Labs seem to be aknowledged as creating the first Unix, in C.

Posted by metamorphic [send private reply] at April 15, 2002, 05:08:58 AM

sure i'll write on then

Posted by Mycroft [send private reply] at April 15, 2002, 05:14:27 PM

"It just helped take Unix further", It did much more than that, without C nothing of the Unix/Linux of today would be possible, do you really think assembley would become as wide spread as C? C made Unix possible for the masses.

Posted by metamorphic [send private reply] at April 16, 2002, 07:44:20 AM

Most Unices were wrote in C, but if my memory serves, *nix was wrote back at the dawn of the C language which is around 1970. In the IT industry, thats probably comparable to the iceage. C programming is still used, however C++ (which i would happily call its sucessor) is now in more wide spread use. Not forgetting that C++ can do almost all if what C can anyway. I see it this way: if you want to learn C or C++, choose C++. People will undoubtubly say "but C is easier". How is it easier? No OOP? C++ CAN be a OO lang, as well as a generic lang. however by default it is like C, a procedural language. Look the most simple program (that actually does something):

C
-

printf("%s","Some text");

C++
---

cout << "some text";

Which one looks easier?

Thats my argument :)

so im gonna write one!

Posted by gian [send private reply] at April 16, 2002, 10:04:55 PM

printf("Some Text");

Would work too :-)

The reason I prefer stdio functions, is because they follow standard C calling practices, instead of bit shifting and other disturbing stuff.

Posted by CodeRed [send private reply] at April 16, 2002, 10:47:51 PM

You can't teach an old dog new tricks

Posted by gian [send private reply] at April 16, 2002, 11:56:56 PM

Woof woof woof

Posted by metamorphic [send private reply] at April 17, 2002, 06:11:14 AM

lol

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.