Home > Programming > C Programming Language



C Programming

Sort Desciption:

The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...



Content Inside:

C ProgrammingPage 1C ProgrammingDr. Eric Frew11/12/02Page 2OutlineResourcesC versus C++ and JavaCompilers and EnvironmentsMakefiles Libraries Directories DependenciesHeader filesInclude files#DEFINESCommentsDecomposition and namingPage 3OutlineStructuresTypedefsBitwise and Logical == && || != & | xor?+= =Pointers ArraysSizeof bytesEndianPage 4OutlineResourcesDifferences between Matlab C C++ JavaSetup and CompilingSyntaxAsk lots of questions. There will be time at end for specific topics I do not cover in my lecturePage 5ResourcesThe C Programming Language ANSI C By Brian W. C. Kernighan & Dennis M. Ritchie K and R"Practical C programming" By Steve By Steve Ouallinehttp://www.physics.drexel.edu/cour ses/Comp_Phys/General/C_basics/c_tutorial. htmlhttp://www.lysator.liu.se/c/bwktutor.h tmlPage 6C vs. MatlabMatlab uses script language = no compilingMatlab can dynamically allocate variables and memoryMatlab functions can return multiple variables> x=5> y = x + 2.5> x = 2.5> x = 0.5; 0.4; 1.2];functions can return multiple variablesx y t] = ode23(ydot x0);Page 7C vs. C++ and JavaObject oriented just means Data encapsulationVariable is a part of object type like StructuresVariable is a part of object type like StructuresCan have hidden variables only accessible by methods MethodsFunctions are part of object typeCan access object variables or be passed variables InheritanceCan inherit variables and methods from parent class E.g. Animal class has variable color Therefore Dog class has variable color if subclass of AnimalTherefore Dog class has variable color if subclass of AnimalC++ includes all C commands and syntax Inclusion of precompiled C libraries requires special syntaxDont worry about it internal to all standard librariest worry about it internal to all standard librariesPage 8Programming EnvironmentsUnix/Linux typically come with gcc Standard stuff MakefilesMicrosoft Visual Studio Simplifies compile and link options No Makefile D ...

Source: www.colorado.edu


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...