[Solved] How to create objects dynamically? [closed]

The keyword new lets you create a new object. C++ is a little different than a language like .Net or Java, if you are familiar with those languages. The C++ languages uses the keyword new, but new return a “pointer” to the new object. If your class is named “Bet”, then the statement: Bet *betPointer … Read more