diff options
| author | Evan <[email protected]> | 2022-11-16 16:11:02 -0800 |
|---|---|---|
| committer | Evan <[email protected]> | 2022-11-16 16:11:02 -0800 |
| commit | 9770a76a3e978b5f50d1d2ab8399463fdd4b1381 (patch) | |
| tree | 632d844d7af9ad70e936e269ba3ae7c0b533ceda | |
| parent | n (diff) | |
| download | cst116-lab3-evanmihm-9770a76a3e978b5f50d1d2ab8399463fdd4b1381.tar.xz cst116-lab3-evanmihm-9770a76a3e978b5f50d1d2ab8399463fdd4b1381.zip | |
j
| -rw-r--r-- | BlankConsoleLab/BlankConsoleLab.cpp | 11 | ||||
| -rw-r--r-- | BlankConsoleLab/infile.txt | 0 | ||||
| -rw-r--r-- | infile.txt | 0 |
3 files changed, 10 insertions, 1 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp index 938d312..e2b9159 100644 --- a/BlankConsoleLab/BlankConsoleLab.cpp +++ b/BlankConsoleLab/BlankConsoleLab.cpp @@ -1,14 +1,23 @@ //lab3 #include <iostream> +#include <fstream> using namespace std; -using std::cout; using std::cin; +using std::cout; using std::endl; +using std::ios; + +using std::ifstream; +using std::ofstream; int main() { + ifstream inFile; + + ofstream outFile("infile.txt"); + inFile.open("LabResults.txt"); } diff --git a/BlankConsoleLab/infile.txt b/BlankConsoleLab/infile.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/BlankConsoleLab/infile.txt diff --git a/infile.txt b/infile.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/infile.txt |