HELP

b
Last edited on
two things. number one under the format section there are two brackets that look like this <>. they generate [ code ] [ /code ]. wrap these code blocks around your code. it makes it look better. second there are two kinds of loops. (but im working on a third) the first is a while loop. so the syntax is
1
2
3
4
while(expression)
{
     /*your code goes here*/
}

there are six expression operators: == != < > <= =>. it will keep executing the code inside the loop until the expression is true. so if it was counter != 7 it will keep executing the code over and over again until counter is equal to seven.
g
Last edited on
so are you asking how do you access the data members (all of the things in your class) in main()?
Topic archived. No new replies allowed.