Before i start i would just like to say this. If you are looking to learn c++, dont get "Learn to program with c++" by john smiley.
I have posted this two times already, but no one has actually explained the whole thing.
First part
What i get out of that is that the loop is called i and it starts at 0. As long as i is less than the length of morebankingbusiness then the interger i will increase 1. correct me if im wrong which i think i am.Code:for (int i = 0; i < morebankingbusiness.length(); i++)
Second part
I get that adjustment can be a decimal but i have no idea what "char response[256]" and "string morebankingbusiness" is.Code:float adjustment = 0; char response[256]; string morebankingbusiness
Third part
further in the code there is this
what does that all mean.Code:cin.getline(response,256) if strlen(response) == 0)...
Fourth part
what does that all mean.Code:else if (atoi(response) <1...



LinkBack URL
About LinkBacks


