diff options
| author | Connor McDowell <[email protected]> | 2024-02-02 11:13:34 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-02 11:13:34 -0800 |
| commit | b4f93c2590042f79c3b58eed7e6cfe64e8329aeb (patch) | |
| tree | baa8d23edabd63b1ef408a3711a561d85d54c762 | |
| parent | project created, program.cpp, NestedLoops.cpp, and NestedLoops.h created. (diff) | |
| download | in-class-exercise-8-connormcdowell275-b4f93c2590042f79c3b58eed7e6cfe64e8329aeb.tar.xz in-class-exercise-8-connormcdowell275-b4f93c2590042f79c3b58eed7e6cfe64e8329aeb.zip | |
framework set up for all files
| -rw-r--r-- | project/NestedLoops.cpp | 3 | ||||
| -rw-r--r-- | project/NestedLoops.h | 13 | ||||
| -rw-r--r-- | project/program.cpp | 15 |
3 files changed, 30 insertions, 1 deletions
diff --git a/project/NestedLoops.cpp b/project/NestedLoops.cpp index e69de29..e451ce2 100644 --- a/project/NestedLoops.cpp +++ b/project/NestedLoops.cpp @@ -0,0 +1,3 @@ +#include "NestedLoops.h" + +#include <iostream>
\ No newline at end of file diff --git a/project/NestedLoops.h b/project/NestedLoops.h index 6f70f09..d14b549 100644 --- a/project/NestedLoops.h +++ b/project/NestedLoops.h @@ -1 +1,12 @@ -#pragma once +#ifndef NestedLoops +#define NestedLoops + +void ForLoop(size_t n); + +void WhileLoop(size_t n); + +void DoWhileLoop(size_t n); + + +#endif NestedLoops + diff --git a/project/program.cpp b/project/program.cpp index e69de29..982e803 100644 --- a/project/program.cpp +++ b/project/program.cpp @@ -0,0 +1,15 @@ +// Name: Connor McDowell +// date: 1/29/2024 +// class: CIS116 +// Reason: inclass exercise 8 + +#include <iostream> +#include "NestedLoops.h" + +int main() +{ + + + + return 0; +}
\ No newline at end of file |