User profile: Renthalkx97

User info
User name:Renthalkx97
Email:renthalkx@gmail.com
Name:Jeremy Lyda
Location:Youngstown, Ohio
Statistical data
Gender:Male
Occupation:Other
Skills:C++
Java
History
Joined:
Number of posts:57
Latest posts:

help me out please
[code]switch(var) { case 'A': case 'a': //do something ...

I want to keep printing menu function if user enters wrong number
A switch statement would be more appropriate here. [code]bool invalidChoice = true; while(invalidCh...

Problem with enum in class
You can keep the definitions inside the header but outside the class if you add the inline keyword t...

multiple decleration error when including header file instead of cpp
Can you post the updated code so I can see if you're doing everything correctly?

Find xth character in string
Keep in mind this is case sensitive. [code]#include <iostream> char GetXthChar(std::string str, ch...