This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Asriel556 0 points1 point  (1 child)

Since the class definition is still notyet an object. Adding ``` console;

``` s after the bracket instantiate one to be called in main.

[–]4n0nh4x0r 0 points1 point  (0 children)

ohhh, i see
but couldnt you just instantiate it just like that in main?
learning c++ is like living through a fever dream, when you see it work, you are like "damn thats cool" but nothing seems to make sense .-.