aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Spears <[email protected]>2024-02-03 13:07:25 -0800
committerArthur Spears <[email protected]>2024-02-03 13:07:25 -0800
commited2dc4c46adae870285806856740ea6dd456ead7 (patch)
treec66ad4c9c245b2b4fe060242b8b32cb9f8b95611
parentadded excersize 5 into file. (diff)
downloadin-class-exercise-5-connormcdowell275-ed2dc4c46adae870285806856740ea6dd456ead7.tar.xz
in-class-exercise-5-connormcdowell275-ed2dc4c46adae870285806856740ea6dd456ead7.zip
Testing in Main()HEADmain
Added .gitignore
-rw-r--r--.gitignore398
-rw-r--r--.vs/Excersize 5/FileContentIndex/d290c870-0ac6-4ee8-af02-31621d447c4a.vsidxbin11703 -> 0 bytes
-rw-r--r--.vs/Excersize 5/v17/.suobin29696 -> 35328 bytes
-rw-r--r--.vs/Excersize 5/v17/Browse.VC.dbbin10313728 -> 10354688 bytes
-rw-r--r--Excersize 5.cpp16
-rw-r--r--x64/Debug/Excersize 5.exebin62976 -> 70144 bytes
-rw-r--r--x64/Debug/Excersize 5.exe.recipe2
-rw-r--r--x64/Debug/Excersize 5.ilkbin649256 -> 745592 bytes
-rw-r--r--x64/Debug/Excersize 5.log11
-rw-r--r--x64/Debug/Excersize 5.objbin59610 -> 82453 bytes
-rw-r--r--x64/Debug/Excersize 5.pdbbin1167360 -> 1314816 bytes
-rw-r--r--x64/Debug/Excersize 5.tlog/CL.command.1.tlogbin898 -> 2006 bytes
-rw-r--r--x64/Debug/Excersize 5.tlog/CL.read.1.tlogbin20000 -> 20212 bytes
-rw-r--r--x64/Debug/Excersize 5.tlog/CL.write.1.tlogbin800 -> 1224 bytes
-rw-r--r--x64/Debug/Excersize 5.tlog/Cl.items.tlog2
-rw-r--r--x64/Debug/Excersize 5.tlog/Excersize 5.lastbuildstate2
-rw-r--r--x64/Debug/Excersize 5.tlog/link.command.1.tlogbin1628 -> 3678 bytes
-rw-r--r--x64/Debug/Excersize 5.tlog/link.read.1.tlogbin3808 -> 4492 bytes
-rw-r--r--x64/Debug/Excersize 5.tlog/link.write.1.tlogbin844 -> 1268 bytes
-rw-r--r--x64/Debug/Excersize 5.vcxproj.FileListAbsolute.txt1
-rw-r--r--x64/Debug/vc143.idbbin158720 -> 281600 bytes
-rw-r--r--x64/Debug/vc143.pdbbin413696 -> 421888 bytes
22 files changed, 424 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8a30d25
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,398 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.tlog
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio 6 auto-generated project file (contains which files were open etc.)
+*.vbp
+
+# Visual Studio 6 workspace and project file (working project files containing files to include in project)
+*.dsw
+*.dsp
+
+# Visual Studio 6 technical files
+*.ncb
+*.aps
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# Visual Studio History (VSHistory) files
+.vshistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
+
+# VS Code files for those working on multiple tools
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
+
+# Windows Installer files from build outputs
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# JetBrains Rider
+*.sln.iml
diff --git a/.vs/Excersize 5/FileContentIndex/d290c870-0ac6-4ee8-af02-31621d447c4a.vsidx b/.vs/Excersize 5/FileContentIndex/d290c870-0ac6-4ee8-af02-31621d447c4a.vsidx
deleted file mode 100644
index 367b42a..0000000
--- a/.vs/Excersize 5/FileContentIndex/d290c870-0ac6-4ee8-af02-31621d447c4a.vsidx
+++ /dev/null
Binary files differ
diff --git a/.vs/Excersize 5/v17/.suo b/.vs/Excersize 5/v17/.suo
index 174d587..258ffcc 100644
--- a/.vs/Excersize 5/v17/.suo
+++ b/.vs/Excersize 5/v17/.suo
Binary files differ
diff --git a/.vs/Excersize 5/v17/Browse.VC.db b/.vs/Excersize 5/v17/Browse.VC.db
index cd70be9..32ce3bf 100644
--- a/.vs/Excersize 5/v17/Browse.VC.db
+++ b/.vs/Excersize 5/v17/Browse.VC.db
Binary files differ
diff --git a/Excersize 5.cpp b/Excersize 5.cpp
index 6362e6e..69eac61 100644
--- a/Excersize 5.cpp
+++ b/Excersize 5.cpp
@@ -7,12 +7,28 @@
#include "helper.h"
+using std::cout;
+using std::endl;
+
int main()
{
int mySum = sum(15, 30);
std::cout << mySum << std::endl;
+ cout << returnInt() << endl;
+
+ cout << sum(10, 15) << endl;
+
+ cout << percentage(10, 100) << "%" << endl;
+
+ cout << percentage(23, 100) << "%" << endl;
+
+ cout << percentage(56, 100) << "%" << endl;
+
+ cout << FtoC(32) << endl;
+
+ cout << CtoF(212) << endl;
}
diff --git a/x64/Debug/Excersize 5.exe b/x64/Debug/Excersize 5.exe
index acff8de..d4f8e4b 100644
--- a/x64/Debug/Excersize 5.exe
+++ b/x64/Debug/Excersize 5.exe
Binary files differ
diff --git a/x64/Debug/Excersize 5.exe.recipe b/x64/Debug/Excersize 5.exe.recipe
index a060b67..e9bd960 100644
--- a/x64/Debug/Excersize 5.exe.recipe
+++ b/x64/Debug/Excersize 5.exe.recipe
@@ -2,7 +2,7 @@
<Project>
<ProjectOutputs>
<ProjectOutput>
- <FullPath>C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\x64\Debug\Excersize 5.exe</FullPath>
+ <FullPath>C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\x64\Debug\Excersize 5.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
diff --git a/x64/Debug/Excersize 5.ilk b/x64/Debug/Excersize 5.ilk
index 7f79cb0..293d97e 100644
--- a/x64/Debug/Excersize 5.ilk
+++ b/x64/Debug/Excersize 5.ilk
Binary files differ
diff --git a/x64/Debug/Excersize 5.log b/x64/Debug/Excersize 5.log
index 7d3d783..4405f57 100644
--- a/x64/Debug/Excersize 5.log
+++ b/x64/Debug/Excersize 5.log
@@ -1,6 +1,7 @@
 Excersize 5.cpp
-C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\Excersize 5.cpp(37,37): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
-C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\Excersize 5.cpp(39,9): warning C4244: 'return': conversion from 'int' to 'float', possible loss of data
-C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\Excersize 5.cpp(47,12): warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
-C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\Excersize 5.cpp(56,12): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
- Excersize 5.vcxproj -> C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\x64\Debug\Excersize 5.exe
+C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\Excersize 5.cpp(53,37): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
+C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\Excersize 5.cpp(55,9): warning C4244: 'return': conversion from 'int' to 'float', possible loss of data
+C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\Excersize 5.cpp(63,12): warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
+C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\Excersize 5.cpp(72,12): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
+ LINK : C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\x64\Debug\Excersize 5.exe not found or not built by the last incremental link; performing full link
+ Excersize 5.vcxproj -> C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\x64\Debug\Excersize 5.exe
diff --git a/x64/Debug/Excersize 5.obj b/x64/Debug/Excersize 5.obj
index bee5f21..e8e3914 100644
--- a/x64/Debug/Excersize 5.obj
+++ b/x64/Debug/Excersize 5.obj
Binary files differ
diff --git a/x64/Debug/Excersize 5.pdb b/x64/Debug/Excersize 5.pdb
index 62a3320..a54185d 100644
--- a/x64/Debug/Excersize 5.pdb
+++ b/x64/Debug/Excersize 5.pdb
Binary files differ
diff --git a/x64/Debug/Excersize 5.tlog/CL.command.1.tlog b/x64/Debug/Excersize 5.tlog/CL.command.1.tlog
index cfb9d3f..4e1a733 100644
--- a/x64/Debug/Excersize 5.tlog/CL.command.1.tlog
+++ b/x64/Debug/Excersize 5.tlog/CL.command.1.tlog
Binary files differ
diff --git a/x64/Debug/Excersize 5.tlog/CL.read.1.tlog b/x64/Debug/Excersize 5.tlog/CL.read.1.tlog
index 0285882..a3ebbca 100644
--- a/x64/Debug/Excersize 5.tlog/CL.read.1.tlog
+++ b/x64/Debug/Excersize 5.tlog/CL.read.1.tlog
Binary files differ
diff --git a/x64/Debug/Excersize 5.tlog/CL.write.1.tlog b/x64/Debug/Excersize 5.tlog/CL.write.1.tlog
index 4d2fb32..6495e28 100644
--- a/x64/Debug/Excersize 5.tlog/CL.write.1.tlog
+++ b/x64/Debug/Excersize 5.tlog/CL.write.1.tlog
Binary files differ
diff --git a/x64/Debug/Excersize 5.tlog/Cl.items.tlog b/x64/Debug/Excersize 5.tlog/Cl.items.tlog
index f40db80..1cedcf2 100644
--- a/x64/Debug/Excersize 5.tlog/Cl.items.tlog
+++ b/x64/Debug/Excersize 5.tlog/Cl.items.tlog
@@ -1 +1 @@
-C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\Excersize 5.cpp;C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\x64\Debug\Excersize 5.obj
+C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\Excersize 5.cpp;C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\x64\Debug\Excersize 5.obj
diff --git a/x64/Debug/Excersize 5.tlog/Excersize 5.lastbuildstate b/x64/Debug/Excersize 5.tlog/Excersize 5.lastbuildstate
index 781ecbe..0797ca1 100644
--- a/x64/Debug/Excersize 5.tlog/Excersize 5.lastbuildstate
+++ b/x64/Debug/Excersize 5.tlog/Excersize 5.lastbuildstate
@@ -1,2 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.38.33130:TargetPlatformVersion=10.0.22621.0:
-Debug|x64|C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\|
+Debug|x64|C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\|
diff --git a/x64/Debug/Excersize 5.tlog/link.command.1.tlog b/x64/Debug/Excersize 5.tlog/link.command.1.tlog
index f65c803..b60f57d 100644
--- a/x64/Debug/Excersize 5.tlog/link.command.1.tlog
+++ b/x64/Debug/Excersize 5.tlog/link.command.1.tlog
Binary files differ
diff --git a/x64/Debug/Excersize 5.tlog/link.read.1.tlog b/x64/Debug/Excersize 5.tlog/link.read.1.tlog
index 609a461..013647b 100644
--- a/x64/Debug/Excersize 5.tlog/link.read.1.tlog
+++ b/x64/Debug/Excersize 5.tlog/link.read.1.tlog
Binary files differ
diff --git a/x64/Debug/Excersize 5.tlog/link.write.1.tlog b/x64/Debug/Excersize 5.tlog/link.write.1.tlog
index 44681a5..1c66c20 100644
--- a/x64/Debug/Excersize 5.tlog/link.write.1.tlog
+++ b/x64/Debug/Excersize 5.tlog/link.write.1.tlog
Binary files differ
diff --git a/x64/Debug/Excersize 5.vcxproj.FileListAbsolute.txt b/x64/Debug/Excersize 5.vcxproj.FileListAbsolute.txt
index 68f9ff2..aa4fd88 100644
--- a/x64/Debug/Excersize 5.vcxproj.FileListAbsolute.txt
+++ b/x64/Debug/Excersize 5.vcxproj.FileListAbsolute.txt
@@ -1 +1,2 @@
C:\Users\thesa\source\repos\in-class-exercise-5-connormcdowell275\Excersize 5\x64\Debug\Excersize 5.exe
+C:\Users\arthur.spears\OneDrive - Oregon Institute of Technology\CST116\Repos\Exercise 5\in-class-exercise-5-connormcdowell275.git\x64\Debug\Excersize 5.exe
diff --git a/x64/Debug/vc143.idb b/x64/Debug/vc143.idb
index e3cd953..ca6c620 100644
--- a/x64/Debug/vc143.idb
+++ b/x64/Debug/vc143.idb
Binary files differ
diff --git a/x64/Debug/vc143.pdb b/x64/Debug/vc143.pdb
index 901ddda..10560e6 100644
--- a/x64/Debug/vc143.pdb
+++ b/x64/Debug/vc143.pdb
Binary files differ