C vs. C a Checklist from a C Programmers Point of View. I realize for most of you this is probably old news. I have been taking a first look at C a little while ago, because I wanted to know if it is worth looking into, and because I am thinking about polishing up my class on Parallel Programming here at the university with a little language diversification. I have taught it using POSIX Threads before, but since everyone and their grandmother seems to use Java or C these days, throwing in a couple of examples in these languages wont hurt. And besides, I was curious. Without having written a single line of code and just by reading the various guides available, I have come up with a list of differences between C and C and thought you might enjoy reading it here. C Quick Guide Learn C in simple and easy steps starting from basic to advanced concepts with examples including Overview, Environment setup, Program Structure. C The Big Ideas. A component oriented language C is the first component oriented language in the CC family Component concepts are first class. Im trying to execute a powershellscript from a c application. The script has to be executed under a special usercontext. Ive tried different scenarios some are. Answers many of the questions that C developers have about the language. By Andy McMullan. And so, without any further ado and very brief, here is my list of differences between the two, sorted into three categories things I like better in C, things I like better in C and things where I could not make up my mind. The last subheading lists the resources on the net used to compile that list Pro C garbage collectionarray bounds checkinghuge. NET Framework librarytypes have a defined size e. Purple/v4/d8/59/82/d85982e3-6843-6731-152e-7a61ca267d80/screen800x500.jpeg' alt='Multiple Inheritance Program In C Sharp' title='Multiple Inheritance Program In C Sharp' />Bitstrings are encoded in UTF1. Pro Cbetter performanceportabilitymultiple inheritancedeterministic destruction allows RAIIany type can be thrown as exception only classes derived from System. I wonder if youd consider CCLI as something that has many of the advantages of both C and C. Anyhow, for C tutorials with serious threading discussions, I. Exception in Cability to enforce const correctnessimplicit interfaces on generics in C, generics must be constrained with an interfaceoffers pointers C only offers pointers in unsafe modesupport for macrossupport for global variables, functions, constantsallows default arguments on function parameters. STLsupports bitfields. Where C is just different from Cvalue types and reference types exist struct is value type, class is reference typevalue types live on the stack, reference types on the heapreferences can point to null must not be validcode is packaged in assemblies in Cno automatic conversion from int to bool in Cmain function is called Main in Cno semicolon after a class declaration in Ceverything derives from object or can be treated as if. Resources. Disclaimer. As you can clearly see, this is not really comprehensive. The single bullet point huge. NET Framework library would probably fill a page at least as big as this, if it was well presented. Some categorizations may also be controversial, e. I see portability as a huge plus for C, while others might not care at all or point me to Mono. Performance is also a point where I am not so sure. Don Carlos Lazer Beam Rapidshare. I expect all the nice features of C to bring a performance penalty into the equation, yet if you really see this in a real world program is an entirely different matter. But since this is by no means a comprehensive treatment of the matter anyways, you are going to have to live with it or if you cant, you know how to use that comment button Coming to the end of this article, I have a small request I am looking for a good book on C development to recommend to my students and read myself, must not forget that P, preferably one that is for people with a background in CC and with content on threaded programming because thats what the class is all about. Browsing the reviews on the net, it appears that Programming C is pretty good, judging from the table of contents it also covers threads, but of course I dont know how well.