diff options
| author | Arthur Spears <[email protected]> | 2024-02-03 13:07:25 -0800 |
|---|---|---|
| committer | Arthur Spears <[email protected]> | 2024-02-03 13:07:25 -0800 |
| commit | ed2dc4c46adae870285806856740ea6dd456ead7 (patch) | |
| tree | c66ad4c9c245b2b4fe060242b8b32cb9f8b95611 | |
| parent | added excersize 5 into file. (diff) | |
| download | in-class-exercise-5-connormcdowell275-ed2dc4c46adae870285806856740ea6dd456ead7.tar.xz in-class-exercise-5-connormcdowell275-ed2dc4c46adae870285806856740ea6dd456ead7.zip | |
Added .gitignore
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 Binary files differdeleted file mode 100644 index 367b42a..0000000 --- a/.vs/Excersize 5/FileContentIndex/d290c870-0ac6-4ee8-af02-31621d447c4a.vsidx +++ /dev/null diff --git a/.vs/Excersize 5/v17/.suo b/.vs/Excersize 5/v17/.suo Binary files differindex 174d587..258ffcc 100644 --- a/.vs/Excersize 5/v17/.suo +++ b/.vs/Excersize 5/v17/.suo diff --git a/.vs/Excersize 5/v17/Browse.VC.db b/.vs/Excersize 5/v17/Browse.VC.db Binary files differindex cd70be9..32ce3bf 100644 --- a/.vs/Excersize 5/v17/Browse.VC.db +++ b/.vs/Excersize 5/v17/Browse.VC.db 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 Binary files differindex acff8de..d4f8e4b 100644 --- a/x64/Debug/Excersize 5.exe +++ b/x64/Debug/Excersize 5.exe 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 Binary files differindex 7f79cb0..293d97e 100644 --- a/x64/Debug/Excersize 5.ilk +++ b/x64/Debug/Excersize 5.ilk 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 Binary files differindex bee5f21..e8e3914 100644 --- a/x64/Debug/Excersize 5.obj +++ b/x64/Debug/Excersize 5.obj diff --git a/x64/Debug/Excersize 5.pdb b/x64/Debug/Excersize 5.pdb Binary files differindex 62a3320..a54185d 100644 --- a/x64/Debug/Excersize 5.pdb +++ b/x64/Debug/Excersize 5.pdb diff --git a/x64/Debug/Excersize 5.tlog/CL.command.1.tlog b/x64/Debug/Excersize 5.tlog/CL.command.1.tlog Binary files differindex cfb9d3f..4e1a733 100644 --- a/x64/Debug/Excersize 5.tlog/CL.command.1.tlog +++ b/x64/Debug/Excersize 5.tlog/CL.command.1.tlog diff --git a/x64/Debug/Excersize 5.tlog/CL.read.1.tlog b/x64/Debug/Excersize 5.tlog/CL.read.1.tlog Binary files differindex 0285882..a3ebbca 100644 --- a/x64/Debug/Excersize 5.tlog/CL.read.1.tlog +++ b/x64/Debug/Excersize 5.tlog/CL.read.1.tlog diff --git a/x64/Debug/Excersize 5.tlog/CL.write.1.tlog b/x64/Debug/Excersize 5.tlog/CL.write.1.tlog Binary files differindex 4d2fb32..6495e28 100644 --- a/x64/Debug/Excersize 5.tlog/CL.write.1.tlog +++ b/x64/Debug/Excersize 5.tlog/CL.write.1.tlog 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 Binary files differindex f65c803..b60f57d 100644 --- a/x64/Debug/Excersize 5.tlog/link.command.1.tlog +++ b/x64/Debug/Excersize 5.tlog/link.command.1.tlog diff --git a/x64/Debug/Excersize 5.tlog/link.read.1.tlog b/x64/Debug/Excersize 5.tlog/link.read.1.tlog Binary files differindex 609a461..013647b 100644 --- a/x64/Debug/Excersize 5.tlog/link.read.1.tlog +++ b/x64/Debug/Excersize 5.tlog/link.read.1.tlog diff --git a/x64/Debug/Excersize 5.tlog/link.write.1.tlog b/x64/Debug/Excersize 5.tlog/link.write.1.tlog Binary files differindex 44681a5..1c66c20 100644 --- a/x64/Debug/Excersize 5.tlog/link.write.1.tlog +++ b/x64/Debug/Excersize 5.tlog/link.write.1.tlog 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 Binary files differindex e3cd953..ca6c620 100644 --- a/x64/Debug/vc143.idb +++ b/x64/Debug/vc143.idb diff --git a/x64/Debug/vc143.pdb b/x64/Debug/vc143.pdb Binary files differindex 901ddda..10560e6 100644 --- a/x64/Debug/vc143.pdb +++ b/x64/Debug/vc143.pdb |