after you

switch (variable)

case 1: etc....

if the switch defaults, how do you return to repeat the switch case? do you just do a simple cin>>var and it will reset or you have to loop it? Sorry if question isnt clear

You have to loop it:

int var;
bool repeat;

do {
  repeat = false;
  cin>> var;

  switch ( var ) {
  //...
  default:
    repeat = true;
  }
} while ( repeat );
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.