Skip to content
Permalink
698611a51b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
39 lines (34 sloc) 830 Bytes
/*
*
* This file contains the style of each programming construct
* to use in this project.
*
* It should be followed to the letter! All spaces are
* necessary! Make sure to take note of camel case and other
* variable naming schemes!
*
*/
#ifndef STYLE_HPP
#define STYLE_HPP
#include <stdio.h>
#include "style.hpp"
// Header File:
class TestClass
{
public:
// Constructors
TestClass(int AttrOne, char AttrTwo);
// Mutator methods
int getAttrSum();
char attrTwoTimesTwo();
void setAttrOne(int newAttrOne) { i_attrOne = newAttrOne }
void setAttrTwo(char newAttrTwo) { c_attrTwo = newAttrTwo }
// Accessor methods
int getAttrOne() { return i_attrOne }
char getAttrTwo() { return c_attrTwo }
private:
// Private variables
int i_attrOne = 0;
char c_attrTwo;
};
#endif