Hey guys, I have an assignment due tomorrow that I will have to do tonight because I have class all day tomorrow. If you saw my other blog, you know how stressed I am about this stuff. But I really want to get this stuff, so I don't just want someone to do it for me. If I even get half this thing working I'll be happy.
Here is the assignment: http://www.cs.uleth.ca/~bomhof/cs2620A/assn/assn1.txt
And all I have so far is a list of things I need to implement, no actual code.
What I think I need:
I don't want to dive in and do this all at once. I want to take baby steps. If I could get the vectors reading in strings and printing out strings, I'll be happy.
And here is what I think I would do to do that...
Does any of that make sense? Am I at least thinking the right way? And I know the code is missing a lot, its just a snipet of what I know that I would have to write
Here is the assignment: http://www.cs.uleth.ca/~bomhof/cs2620A/assn/assn1.txt
And all I have so far is a list of things I need to implement, no actual code.
What I think I need:
A function that creates the picture. I think I will need some vectors that accept strings in this function.
A Draw function that draws the picture.
a frameIt function that draws the frame. It depends on a function called isFramed that determines if there is a frame or not.
A unFrameIt function that draws no frame. It also depends on isFramed.
isFramed returns a boolean type and a frame character.
I think that is everything I need.
A Draw function that draws the picture.
a frameIt function that draws the frame. It depends on a function called isFramed that determines if there is a frame or not.
A unFrameIt function that draws no frame. It also depends on isFramed.
isFramed returns a boolean type and a frame character.
I think that is everything I need.
I don't want to dive in and do this all at once. I want to take baby steps. If I could get the vectors reading in strings and printing out strings, I'll be happy.
And here is what I think I would do to do that...
write a class called CharacterPicture, so..
class CharacterPicture {
public:
vector <string> iVec();
};
And then in my .cc file, have something like...
cout << "Enter some words: ";
cin << iVec();
class CharacterPicture {
public:
vector <string> iVec();
};
And then in my .cc file, have something like...
cout << "Enter some words: ";
cin << iVec();
Does any of that make sense? Am I at least thinking the right way? And I know the code is missing a lot, its just a snipet of what I know that I would have to write