mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
17 lines
230 B
C
17 lines
230 B
C
//
|
|
// foo.c
|
|
//
|
|
// chapter 1 introduction
|
|
// modern cpp tutorial
|
|
//
|
|
// created by changkun at changkun.de
|
|
// https://github.com/changkun/modern-cpp-tutorial
|
|
//
|
|
|
|
#include "foo.h"
|
|
|
|
// C code
|
|
int add(int x, int y) {
|
|
return x+y;
|
|
}
|