diff --git a/README.md b/README.md index efdfe03..677b002 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/c/includes/example.h b/c/includes/example.h index 974d8e5..6aef63a 100644 --- a/c/includes/example.h +++ b/c/includes/example.h @@ -1,8 +1,5 @@ -#ifndef PROJECT_EXAMPLE_H -#define PROJECT_EXAMPLE_H 1 +#pragma once #include void example(); - -#endif diff --git a/cpp/includes/Example.hpp b/cpp/includes/Example.hpp index c76cdf2..4a0b596 100644 --- a/cpp/includes/Example.hpp +++ b/cpp/includes/Example.hpp @@ -1,5 +1,4 @@ -#ifndef PROJECT_EXAMPLE_HPP -#define PROJECT_EXAMPLE_HPP 1 +#pragma once #include @@ -13,5 +12,3 @@ public: Example(const Example &); // copy constructor const Example &operator=(const Example &); // copy assignement }; - -#endif