Skip to content

Commit

Permalink
feat: add example code for base cpp project
Browse files Browse the repository at this point in the history
Initialized a new **C++** project `mdsanima-awesome` with a basic
structure and README instructions. Included a simple `main.cpp` source
file that outputs a project description when executed.

The README provides clear build and run commands to facilitate quick
setup for developers.
  • Loading branch information
mdsanima committed Feb 24, 2024
1 parent a5b9447 commit 6435a18
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/mdsanima-awesome/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# mdsanima-awesome

This is a example **C++** project. For compile and run this program, type the following command:

```shell
cd example/mdsanima-awesome && mkdir build
g++ -o build/mdsanima-awesome src/main.cpp
./build/mdsanima-awesome
```
8 changes: 8 additions & 0 deletions example/mdsanima-awesome/src/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2024 MDSANIMA LAB. All rights reserved.
// Licensed under the MIT license.

#include <iostream>

int main() {
std::cout << "This is example of MDSANIMA AWESOME project!" << std::endl;
}

0 comments on commit 6435a18

Please sign in to comment.