Skip to content

andriybyelikov/c-classes-concept

Repository files navigation

About

This is a concept about implementing classes in C.

Compiled with gcc (GCC) 13.0.1 20230421 (prerelease).

$ gcc -std=c2x -pedantic main.c car.c motorcycle.c terrestrial.c vehicle.c
$ ./a.out
Common name: Car
Particular name: Polito
Number of wheels: 4

Common name: Motorcycle
Particular name: Verde
Number of wheels: 2

Common name: Motorcycle
Particular name: Rojo
Number of wheels: 2

About

This is a concept about implementing classes in C

Topics

Resources

Stars

Watchers

Forks

Languages