Transcription of C/C++ Basics
{{id}} {{{paragraph}}}
C/C++ BasicsBasic Concepts Basic functions of each language : Input, output, math, decision, repetition Types of errors:Syntax errors, logic errors, runtime errors. Debugging Machine language , assembly language , high level languages1-3 Procedural ProgrammingProcedure AData ElementProcedure BProcedural languages .. Global variables Primitive data types, Arrays, Records/Structures lots of functions/procedures/modules Uniqueness of names requirementStruct + protection + methods ~= class (OOP)SW ComplexitySize of the application Lines of CodeSWComplexityrealitySW complexity? Lots of lines in code hard to understand Not many meaningful comments Too many variables not named well Complex functions too nested, too lengthy, too many if conditions Inter-dependancies changes that have to be done together in multiple files When you fix a bug, you make a few ComplexitySize of the application Lines of CodeSWComplexityideal1-8 Object-Oriented ProgrammingObjectAttributes (data)typically private to this objectMethods(behaviors / procedures)OtherobjectsProgrammingInterf aceC vs.
C/C++ Basics. Basic Concepts • Basic functions of each language: Input, output, math, decision, repetition
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
C LANGUAGE TUTORIAL, Tutorial, Language, C Programming Tutorial, The C language, SystemC Tutorial, SystemC Tutorial SystemC, Tutorial on C Language Programming, Essential C, PureBasic - A Beginner's Guide To Computer, Purebasic A Beginner’s Guide To Computer, PureBasic - A Beginner’s Guide To Computer, Embedded systems programming with the, SYSTEMS PROGRAMMING WITH THE PIC16F877, Programming in C: Basics