Notes From CS Undergrad Courses FSU
This project is maintained by awa03
#include
in the cpp file// Preprocessor Statements
#ifndef _NAME_OF_FILE_
#define _NAME_OF_FILE_
/*
Code Goes Here
*/
#endif
::
// dog.h *Implementation File*
class dog{
public:
dog();
void setName(string n);
private:
string name;
};
// dog.cpp *Definition File*
dog::dog(){
name = "Jerry"; // Default Name
}
void dog::setName(string n){
name = n;
}
size()
function==, <, etc
auto i = 20
auto itr = vect1.begin();
type * variableName;
#cpp #review #classes #objects #code