how to use methods and classes in c++ code example Example: c++ How many functions (methods) can a class have? As many as you want