summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-01-25 18:26:39 -0800
committerConnor McDowell <[email protected]>2024-01-25 18:26:39 -0800
commit0d711b8f35474ea0a93fdedf47dd86d0aa102986 (patch)
treedaeab51e541b981b21db58918ead6aa46712c90c
parententering filler (diff)
downloadin-class-exercise-6-connormcdowell275-0d711b8f35474ea0a93fdedf47dd86d0aa102986.tar.xz
in-class-exercise-6-connormcdowell275-0d711b8f35474ea0a93fdedf47dd86d0aa102986.zip
big double check, everything should be working now actually, we're good
-rw-r--r--.vs/in-class-exercise-6-connormcdowell275/v17/.wsuobin26624 -> 34816 bytes
-rw-r--r--.vs/in-class-exercise-6-connormcdowell275/v17/Browse.VC.dbbin10813440 -> 10870784 bytes
-rw-r--r--.vs/slnx.sqlitebin323584 -> 323584 bytes
-rw-r--r--Project1/header.h8
-rw-r--r--Project1/inclass6.cpp7
5 files changed, 9 insertions, 6 deletions
diff --git a/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo b/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo
index d178da0..ab16c48 100644
--- a/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo
+++ b/.vs/in-class-exercise-6-connormcdowell275/v17/.wsuo
Binary files differ
diff --git a/.vs/in-class-exercise-6-connormcdowell275/v17/Browse.VC.db b/.vs/in-class-exercise-6-connormcdowell275/v17/Browse.VC.db
index ffefd81..8887dc0 100644
--- a/.vs/in-class-exercise-6-connormcdowell275/v17/Browse.VC.db
+++ b/.vs/in-class-exercise-6-connormcdowell275/v17/Browse.VC.db
Binary files differ
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
index 385474d..4c6bfed 100644
--- a/.vs/slnx.sqlite
+++ b/.vs/slnx.sqlite
Binary files differ
diff --git a/Project1/header.h b/Project1/header.h
index 46ecf39..a172276 100644
--- a/Project1/header.h
+++ b/Project1/header.h
@@ -1,4 +1,6 @@
-#pragma once
+#ifndef MY_HEADER_FILE_H
+#define MY_HEADER_FILE_H
+
int returnInt();
int sum(int a, int b);
@@ -7,6 +9,6 @@ float percentage(int a, int b);
float FtoC(int fah);
-float CtoF(int cel)
+float CtoF(int cel);
-# \ No newline at end of file
+#endif MY_HEADER_FILE_H \ No newline at end of file
diff --git a/Project1/inclass6.cpp b/Project1/inclass6.cpp
index 211d467..9f178b6 100644
--- a/Project1/inclass6.cpp
+++ b/Project1/inclass6.cpp
@@ -5,7 +5,7 @@
#include <iostream>
-#include "helper.h"
+#include "header.h"
int main()
{
@@ -15,8 +15,9 @@ int main()
std::cout << returnInt() << std::endl;
- std::cout << percentage() << std::endl;
- std::cout << FotC(0) << std::endl;
+ std::cout << percentage(45, 78) << std::endl;
+ std::cout << FtoC(120) << std::endl;
+ std::cout << CtoF(40) << std::endl;
std::cout << returnInt() << std::endl;
}