2010-05-09, 05:10 PM
I'm getting confused between Eos' vs the standard way of doing it.
In simplest words:
class declarations goes in .h
class methods goes in .cpp
So from the original code,
what goes in .h :
What goes in .cpp :
That's what I'm understanding.
In simplest words:
class declarations goes in .h
class methods goes in .cpp
So from the original code,
what goes in .h :
Code:
#ifndef STORYWORDMANAGER_H
#define STORYWORDMANAGER_H
class StoryWordManager {
};
#endifWhat goes in .cpp :
Code:
StoryWordManager::StoryWordManager() {
}
string StoryWordManager::askText() {
}That's what I'm understanding.

