Skip to content

Commit

Permalink
add 'm' link lib for supporting math api in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
KaisenAmin committed Aug 25, 2024
1 parent e077b75 commit 4d26b6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ else()
OpenSSL::Crypto
pthread
dl
m
raylib
pq
# Optional modules that are commented out:
Expand Down
8 changes: 4 additions & 4 deletions tuple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Vector item: 100
#include "vector/vector.h"
#include "array/array.h"
#include "queue/queue.h"
#include "string/string.h"
#include "string/std_string.h"
#include "fmt/fmt.h"

int main() {
Expand Down Expand Up @@ -229,7 +229,7 @@ Char: A

```c
#include "tuple/tuple.h"
#include "string/string.h"
#include "string/std_string.h"
#include "fmt/fmt.h"

Tuple* create_person_tuple(int age, float grade, const char* name) {
Expand Down Expand Up @@ -279,7 +279,7 @@ Name: John Doe
```c
#include "tuple/tuple.h"
#include "string/string.h"
#include "string/std_string.h"
#include "vector/vector.h"
#include "algorithm/algorithm.h"
#include "fmt/fmt.h"
Expand Down Expand Up @@ -497,7 +497,7 @@ Tuple2 first element: 42

```c
#include "tuple/tuple.h"
#include "string/string.h"
#include "string/std_string.h"
#include "fmt/fmt.h"

void print_back(Tuple* tuple) {
Expand Down

0 comments on commit 4d26b6c

Please sign in to comment.