STOP

STOP

You could just learn Java instead if this is too hard for you.

Sure, but then there' nothing to fall back on when you realise how awful Java is.
At least C++ has C deep inside it. Somewhere.

this car meme gets me every time

Hehe. Nice timing.

typedef struct Car Car;

struct Car
{
int gear;
int nbolts;
vec3 vel;
}


>n-no that's too simple, where's my unreadable flurry of bullshit prefixes and access protectors REEEEEE

>bump order
>timing

lol why isn't vel private

>write shitty OOP code
>HURR OOP IS SHIT
Fucking retards

Are you retarded?

because that's C

t. Car

we're all big boys here

Does Car inherit from Truck or should Truck inherit from Car

They should both inherit from Vehicle, not from each another.

What does this one inherit from?

class car
{
public:
std::vector the_vector;
public:
int wheels;
public:
cars get_car(car);
private:
int bolts();
public:
std::string model;
#if 0
static void debug_car(std::vector input);
#endif
}

Australia.
Workhorse for weekdays, Comfortable and stylish for the Sunday run to church.
That is what the first Ute was created for.

So like, factories make cars in real life, right?

What if you made a factory class, that makes car classes?

>typedef struct
fuck off m8

>le struct poopoo, struct willy, struct bum
no you fuck off

This actually shits me while reading through function arguments.
But then again who really uses unions.