Yeah. C is a procedural programming language while C++ is a combination actually of both procedural and object oriented.
C does support "classes", but those are called "struct" and you can't inherit the struct or anything similar to classes in C++, but you can do a struct of struct.
Exemple:
Code:
//This is C
//Base struct
struct Game{
int player_id;
int player_hp;
}
//Child struct
struct AnotherGame{
Game anotherGame;
}
which is "similar" to this
Code:
// This is C++
//Base class
class Game
{
public:
int player_id;
int player_hp;
}
//Child class
class AnotherGame : public Game
{
public:
int player_id_anotherGame;
}
You can access Game class from the AnotherGame class, cause the Child class(AnotherGame) is inheriting the Base class(Game).
That's the closest you can get in C to inheritance of classes.