use pragma instead of headers
This commit is contained in:
parent
68b2ed4783
commit
42f287b018
3 changed files with 2 additions and 12 deletions
|
@ -20,8 +20,6 @@ Copy and paste [`c/`](./c/) directory, and you should be good to go!
|
|||
- **Run `make dev` to compile the program in debug mode.**
|
||||
- **Run `make clean` to clean artifacts.**
|
||||
|
||||
> Note that in headers, the syntax is `PROJECTNAME_FILENAME_H`
|
||||
|
||||
## C++
|
||||
|
||||
Copy and paste [`cpp/`](./cpp/) directory, and you should be good to go!
|
||||
|
@ -32,8 +30,6 @@ Copy and paste [`cpp/`](./cpp/) directory, and you should be good to go!
|
|||
- **Run `make dev` to compile the program in debug mode.**
|
||||
- **Run `make clean` to clean artifacts.**
|
||||
|
||||
> Note that in headers, the syntax is `PROJECTNAME_FILENAME_HPP`
|
||||
|
||||
## LaTeX
|
||||
|
||||
### Document
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#ifndef PROJECT_EXAMPLE_H
|
||||
#define PROJECT_EXAMPLE_H 1
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void example();
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef PROJECT_EXAMPLE_HPP
|
||||
#define PROJECT_EXAMPLE_HPP 1
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -13,5 +12,3 @@ public:
|
|||
Example(const Example &); // copy constructor
|
||||
const Example &operator=(const Example &); // copy assignement
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue