Transcription of C/C++ Basics - University of Texas at Dallas
{{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 CodeSW
Object-Oriented Programming Object Attributes (data) ... Sample C programs: prog1.c These are in ~veerasam/students/basics #include <stdio.h> main() {int in1, out;
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Visual C# Programming, VISUAL C# PROGRAMMING BASICS, Programming in C: Basics, Programming, Programming with Robots, Basics, Basic Programming Concepts, C Programming Tutorial, System Programming, C programming, Visual Basic Programming, Visual Basic, C Programming Guide for FRC, PIC microcontrollers for beginners too, PIC microcontrollers, for beginners too, Summary of basic C++-commands