From 28aeebf97e9f927c15b1dd9f0fce22b74ebb66fb Mon Sep 17 00:00:00 2001 From: SynthNibbler Date: Wed, 11 Feb 2026 08:45:58 -0800 Subject: [PATCH 1/4] fixed #340 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 5411e7a3..829e30ff 100644 --- a/main.cpp +++ b/main.cpp @@ -10,7 +10,7 @@ int main() cout << "THE FIRST EXAMPLE MATH DISPLAY!\n"; cout << "Hi, please enter two whole numbers: "; - int x,y; + int32_t x,y; cin >> x >> y; cout << "Addition: " << x + y << endl; From cd029d6368223a8e79a91aae3ae73f788e0f13eb Mon Sep 17 00:00:00 2001 From: SynthNibbler Date: Wed, 11 Feb 2026 09:01:42 -0800 Subject: [PATCH 2/4] fixed #340 --- .idea/.gitignore | 10 ++ .idea/MyFirstExample.iml | 8 + .idea/editor.xml | 345 +++++++++++++++++++++++++++++++++++++++ .idea/modules.xml | 8 + .idea/vcs.xml | 6 + 5 files changed, 377 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/MyFirstExample.iml create mode 100644 .idea/editor.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..ab1f4164 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/MyFirstExample.iml b/.idea/MyFirstExample.iml new file mode 100644 index 00000000..bc2cd874 --- /dev/null +++ b/.idea/MyFirstExample.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 00000000..8d0e15e9 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,345 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..6fdef01b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From bce6e026d472dd636f2bc03870f2ed38441dcb2b Mon Sep 17 00:00:00 2001 From: SynthNibbler Date: Wed, 11 Feb 2026 11:48:24 -0800 Subject: [PATCH 3/4] add workflow file --- .github/workflows/myActions.yaml | 23 +++++++++++++++++++++++ main.cpp | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/myActions.yaml diff --git a/.github/workflows/myActions.yaml b/.github/workflows/myActions.yaml new file mode 100644 index 00000000..b5bf693b --- /dev/null +++ b/.github/workflows/myActions.yaml @@ -0,0 +1,23 @@ +name: Build C++ + +on: + push: + branches: "**" + pull_request: + branches: [ main ] + +jobs: + install: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y -f build-essential g++ cmake + build: + needs: install + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build project + run: g++ -std=c++17 main.cpp diff --git a/main.cpp b/main.cpp index 829e30ff..df9389c4 100644 --- a/main.cpp +++ b/main.cpp @@ -20,6 +20,6 @@ int main() cout << "Remainder: " << x % y << endl; cout << "Square Root: " << sqrt(x) << endl; cout << "Square: " << pow(x, y) << endl; - + cout << "this is a change for ymal" << endl; return 0; } From cd7c21713f8f3f607ccac1964cd0f2d84974b130 Mon Sep 17 00:00:00 2001 From: SynthNibbler Date: Wed, 11 Feb 2026 12:17:39 -0800 Subject: [PATCH 4/4] random edit to main --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index df9389c4..2d67fdcd 100644 --- a/main.cpp +++ b/main.cpp @@ -20,6 +20,6 @@ int main() cout << "Remainder: " << x % y << endl; cout << "Square Root: " << sqrt(x) << endl; cout << "Square: " << pow(x, y) << endl; - cout << "this is a change for ymal" << endl; + //cout << "this is a change for ymal" << endl; return 0; }