diff --git a/cpp/.vscode/settings.json b/cpp/.vscode/settings.json new file mode 100644 index 0000000..2f75642 --- /dev/null +++ b/cpp/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "vscord.app.whitelist": [ + "220362876546711552" + ] +} \ No newline at end of file diff --git a/cpp/.vscode/tasks.json b/cpp/.vscode/tasks.json new file mode 100644 index 0000000..4fdd681 --- /dev/null +++ b/cpp/.vscode/tasks.json @@ -0,0 +1,28 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: g++-14 build active file", + "command": "/usr/bin/g++-14", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +} \ No newline at end of file diff --git a/cpp/ANSI/W1/Day1/1.1/main.cpp b/cpp/ANSI/W1/Day1/1.1/main.cpp index e52a3fb..4e6f1bf 100644 --- a/cpp/ANSI/W1/Day1/1.1/main.cpp +++ b/cpp/ANSI/W1/Day1/1.1/main.cpp @@ -3,5 +3,5 @@ int main() { std::cout << "Hello World!\n"; - return 0; -} \ No newline at end of file + return 0; +} diff --git a/cpp/ANSI/W1/Day5/5.10/main b/cpp/ANSI/W1/Day5/5.10/main new file mode 100755 index 0000000..c02a18f Binary files /dev/null and b/cpp/ANSI/W1/Day5/5.10/main differ diff --git a/cpp/ANSI/W1/Day5/5.9/main.cpp b/cpp/ANSI/W1/Day5/5.9/main.cpp index 0372385..34a39c3 100644 --- a/cpp/ANSI/W1/Day5/5.9/main.cpp +++ b/cpp/ANSI/W1/Day5/5.9/main.cpp @@ -27,4 +27,4 @@ int main() int Double(int target) { return 2 * target; -} \ No newline at end of file +} diff --git a/cpp/ANSI/W1/Day6/6.1/Makefile b/cpp/ANSI/W1/Day6/6.1/Makefile new file mode 100644 index 0000000..40f5851 --- /dev/null +++ b/cpp/ANSI/W1/Day6/6.1/Makefile @@ -0,0 +1,13 @@ +CFLAGS = -std=c++03 -O2 +LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi + +1.1: main.cpp + c++ $(CFLAGS) -o fibonaccisequence main.cpp $(LDFLAGS) + +.PHONY: test clean + +test: fibonaccisequence + ./fibonaccisequence + +clean: + rm -f fibonaccisequence diff --git a/cpp/ANSI/W1/Day6/6.1/main.cpp b/cpp/ANSI/W1/Day6/6.1/main.cpp new file mode 100644 index 0000000..e69de29 diff --git a/cpp/ANSI/W1/Day6/6.2/Makefile b/cpp/ANSI/W1/Day6/6.2/Makefile new file mode 100644 index 0000000..40f5851 --- /dev/null +++ b/cpp/ANSI/W1/Day6/6.2/Makefile @@ -0,0 +1,13 @@ +CFLAGS = -std=c++03 -O2 +LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi + +1.1: main.cpp + c++ $(CFLAGS) -o fibonaccisequence main.cpp $(LDFLAGS) + +.PHONY: test clean + +test: fibonaccisequence + ./fibonaccisequence + +clean: + rm -f fibonaccisequence diff --git a/cpp/ANSI/W1/Day6/6.3/Makefile b/cpp/ANSI/W1/Day6/6.3/Makefile new file mode 100644 index 0000000..40f5851 --- /dev/null +++ b/cpp/ANSI/W1/Day6/6.3/Makefile @@ -0,0 +1,13 @@ +CFLAGS = -std=c++03 -O2 +LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi + +1.1: main.cpp + c++ $(CFLAGS) -o fibonaccisequence main.cpp $(LDFLAGS) + +.PHONY: test clean + +test: fibonaccisequence + ./fibonaccisequence + +clean: + rm -f fibonaccisequence diff --git a/cpp/ANSI/todo b/cpp/ANSI/todo new file mode 100644 index 0000000..ea9a6ea --- /dev/null +++ b/cpp/ANSI/todo @@ -0,0 +1 @@ +Day 5 - Page 120~; talking about registers \ No newline at end of file diff --git a/cpp/hardwareDB.tgz b/cpp/hardwareDB.tgz new file mode 100644 index 0000000..56837f3 Binary files /dev/null and b/cpp/hardwareDB.tgz differ