Words of Wisdom:

"To know that you do not know is best ...and smacking yourself in the face with a cricket bat is not the smartest thing you could do on a weekend." - Ssshawnnn

C++ Programming

  1. Computer Programming
    will result in most developers probably having to learn to program using the underlying programming language, except in the case of the simplest applications. The...
  2. Procedures, Parameters & Sub-Programs
    using subprograms is to reduce the amount of memory required to execute a program. If a program is too large to fit into memory, the programmer can often identify...
  3. Broadcasting And Programing
    supply is that the market audience keeps getting more and more programming. Once someone see a type of programming work and make money, they might go after the same...
Date Submitted:
01/28/2010 06:29 AM
Flesch-Kincaid Score:
63.4 
Words:
1649
Essay Grade:
no grades
Flag
Join Now!

Already a Member? Login Now

NOTES ON C++ PROGRAMMING


Module 1: Pointers and Memory Management




NOTES ON C++ PROGRAMMING


Module 1: Pointers and Memory Management




TABLE OF CONTENTS


TABLE OF CONTENTS 1


OVERVIEW 4


BASIC MEMORY MANAGEMENT 5


GROUP ASSIGNMENT 6


INITIALIZATION 8


CONSTANTS 9


INCREMENT AND DECREMENT OPERATORS 10


ELSE-IF 13


SWITCH 14


LOOPS 15


EXAMPLES OF LOOPS 16


BREAK, CONTINUE 18


RETURN 19


FUNCTION DEFINITION: 21


VOID FUNCTIONS 22


FUNCTIONS RETURNING A VALUE 23


OVERVIEW




Algorithms:




A step-by-step sequence of instructions that describes how to perform a computation.




Answers the question "What method will you use to solve this computational problem?"




Flowcharts:




Provides a pictorial representation of the algorithm using the symbols.




Structure Charts:




Provides a pictorial representation of the modules contained in the program.




Programming Style:




Standard form:




Function names starts in column 1 and is placed with the required parentheses on a line by itself.




The opening brace of the function body follows on the next line and is placed under the first letter of the function name.




The closing brace is placed by itself in column 1 as the last line of the function.




The final form of your programs should be consistent and should always serve as an aid to the reading and understanding of your programs.




Comments:





Explanatory remarks made within a program. Help clarify what the complete program is about, what a specific group of statements is meant to accomplish, or what one line is intended to do.





Top-Down Program Development:




1.   Determine the desired output items that the...
Join Now to View the Full Essay

Comments

Express your owns thoughts and ideas on this essay by writing a grade and/or critique.

  1. No comments