Essay info
Contact us
Toll-free for US only: 1-866-509-5959 Order custom essays:
Instant Quote
Urgency:
Degree:
Type of work:
Pages:
275 words/page
Price: $0
Make an order
Our Prices
14 days per page
10 days per page
6 days per page
3 days per page
2 days per page
24 hours per page
12 hours per page
6 hours per page
3 hours per page
Note: The prices are given for High School academic level. Please, visit "Prices" page for the detailed prices.
Similar essays
Write my essay on
"Notes on C++ Programming"
Notes on C++ Programming
Author:
Sk8erD00d
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 program must produce.


2. Determine the input items


3. Design the program as follows:


a. Select an algorithm for transforming the input items into the desired outputs.


b. Check the chosen algorithm, by hand, using specific input values.


4. Code the algorithm into C.


5. Test the program using selected test data.


BASIC MEMORY MANAGEMENT


Space set aside for the variable:


Characters 1 byte (8 bits)


Pointers 4 bytes


Integers 2 bytes (16 bits) or 4 bytes (32 bits)


Short int or short 2 bytes


Unsigned int or unsigned 2 bytes


Long Integers 4 bytes


Floats 4 bytes(single precision, about 7 decimal places)


Doubles 8...

Please note! This is not an example of text written by our writers! Essaypedia.com is a database of essays that were collected at open web resources. You can use them at you own risk following the citation rules below.

But we recommend you to order a custom plagiarism-free essay written just for you from one of our writers. Place an order, add your paper details and enjoy the results! You can keep in touch with your writer, check the draft of your paper and send your order for revision for free. If you are hesitating to place an order – just ask for a quote!
If you want to use this essay follow the citation rules below:
"Notes on C++ Programming." EssayPedia.com. Sep 24, 2018
<http://samples.essaypedia.com/papers/notes-on-c-programming-52318.html>
View full text
essay on Notes on C++ Programming
Pages:
5 (1307 words)
Comments:
1
Added:
06/28/2011
Category:
Technology / Programming
Plagiarism level of this essay is: 95%
Order this essay written from scratch Right Now!
Comments:
Carlos
Hello, I need help with an essay "Notes on C++ Programming"
11/14/2010
Leave Your comment
Name:
Text:
Enter symbols below:
Send
Captcha Image