Skip to content

Commit 96eec81

Browse files
committed
new directory structure added
1 parent 3d9cf69 commit 96eec81

File tree

10 files changed

+60
-0
lines changed

10 files changed

+60
-0
lines changed

bin/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

build/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

include/SU/SU.h

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef SU_h
2+
#define SU_h value
3+
4+
void SU_init();
5+
6+
#endif

include/SU/SU_etc.h

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef SU_eth_h
2+
#define SU_eth_h value
3+
4+
void SU_etc_fun();
5+
6+
#endif

include/SU/SU_math.h

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef SU_math_h
2+
#define SU_math_h
3+
4+
void SU_math_fun();
5+
6+
#endif

lib/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

src/SU/SU.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include "SU/SU.h"
2+
#include "SU/SU_math.h"
3+
#include <iostream>
4+
5+
void SU_init()
6+
{
7+
SU_math_fun();
8+
std::cout << "SU inited" << std::endl;
9+
}

src/SU/SU_etc.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include "SU/SU_etc.h"
2+
#include <iostream>
3+
4+
void SU_etc_fun()
5+
{
6+
std::cout << "SU_etc function" << std::endl;
7+
}

src/SU/SU_math.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#include "SU/SU_math.h"
2+
#include "SU/SU_etc.h"
3+
#include <iostream>
4+
5+
void SU_math_fun()
6+
{
7+
SU_etc_fun();
8+
std::cout << "SU_math function" << std::endl;
9+
}

src/main.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include <iostream>
2+
#include "SU/SU.h"
3+
4+
int main(int argc, char* argv[])
5+
{
6+
SU_init();
7+
8+
std::cout << "ko";
9+
10+
return 0;
11+
}

0 commit comments

Comments
 (0)