Table of Contents

cprog Keywords

(protected)

protected class

Definition

protected base class can be accessed by a friend or member of any class by using a pointer to reference it.

(Friend)

friends class

Definition

can declare an external function as friend class to get access to the private and protected parts of the class

(polymorphism)

polymorphism

Definition

polymorphism is making a variable, objects, or function have more than one form.

(File Access)

File Access

Definition

accessing a file out side of the program to use by, and either reading, writing, or appending that file. to read you put “r” to write you put “w”

(Command line arguments)

command line arguments

Definition

an argument sent to a program being called. usually you type in the command prompt the name of the program followed by you command line argument like a file.

Demonstration

Demonstration of the chosen keyword.

lab46:~$ ./test file.csv

(cin)

cin

Definition

in C++ found in the header file iostream, overloads the left bit-shifter operator. usually takes info from user through keyboard. syntax is »

Demonstration

Demonstration of the chosen keyword.

If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:

/*
 * Sample code block
 */
#include <iostream>
 
int main()
{
   cin>>x>>y:
    return(0);
}

(cout)

cout

Definition

in C++ found in the header file iostream, overloads the right bit-shifter operator. standard out put is usually the screen. syntax is «

Demonstration

Demonstration of the chosen keyword.

If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:

/*
 * Sample code block
 */
#include <iostream>
 
int main()
{
   cout<<"this is going to the screen"<<"\n";
    return(0);
}

(cerr)

cerr

Definition

in C++ found in the header file iostream. The error output, normally the screen. syntax is «

Demonstration

Demonstration of the chosen keyword.

If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:

/*
 * Sample code block
 */
#include <iostream>
 
int main()
{
   cerr << "Error message : " << str << endl;
    return(0);
}

cprog Objective

cprog Objective

-write and compile code that utilizes programming constructs -use pointers and variables to discover the indirect properties of data storage -comprehend the basics of memory management, data representation and storage -identify and label various data types as scalar vs. composite -distinguish and explain difference between homogeneous and heterogeneous composite data types -break down and separate code into functions and illustrate the use of parameter passing -justify the use of various programming constructs within code solutions -discover the standard libraries and use libraries in solving problems

Definition

students should be able to -Write programs -use pointers effectively -understand what memory management is. -use the different data types -use the different libraries to do what your trying to do

Method

I will be measuring my success in this class on whether or not i will be able to complete the projects.

Measurement

According to my method, i am understanding the basics of what i need to do, but when it comes to putting it all together in a programs by my self, i am only able to do about have of it. I end up needing to get assistance from Matt or class mates.

Analysis

Reflect upon your results of the measurement to ascertain your achievement of the particular course objective.

i am doing pretty good there is definitively room for improvement i think my method is a pretty good way to measure success