summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei F <[email protected]>2022-11-30 12:29:15 -0800
committerAndrei F <[email protected]>2022-11-30 12:29:15 -0800
commit8f238f5efef84165f3b8fea998c1a8895a59de3b (patch)
tree7cfdedfb7764089d8d8c55cb4002b4407d270db2
parentSetting up GitHub Classroom Feedback (diff)
downloadarchived-cst116-lab3-florea-8f238f5efef84165f3b8fea998c1a8895a59de3b.tar.xz
archived-cst116-lab3-florea-8f238f5efef84165f3b8fea998c1a8895a59de3b.zip
Adding some comments, changing file names
-rw-r--r--BlankConsoleLab/BlankConsoleLab.cpp16
-rw-r--r--Lab3/BlankConsoleLab.vcxproj (renamed from BlankConsoleLab/BlankConsoleLab.vcxproj)0
-rw-r--r--Lab3/BlankConsoleLab.vcxproj.filters (renamed from BlankConsoleLab/BlankConsoleLab.vcxproj.filters)0
-rw-r--r--Lab3/CST116-Lab3-Florea.cpp34
-rwxr-xr-xa.outbin0 -> 44082 bytes
5 files changed, 34 insertions, 16 deletions
diff --git a/BlankConsoleLab/BlankConsoleLab.cpp b/BlankConsoleLab/BlankConsoleLab.cpp
deleted file mode 100644
index ed5f807..0000000
--- a/BlankConsoleLab/BlankConsoleLab.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there.
-//
-
-#include <iostream>
-
-using namespace std;
-
-using std::cout;
-using std::cin;
-using std::endl;
-
-int main()
-{
- cout << "Hello World!\n";
-}
-
diff --git a/BlankConsoleLab/BlankConsoleLab.vcxproj b/Lab3/BlankConsoleLab.vcxproj
index db2e734..db2e734 100644
--- a/BlankConsoleLab/BlankConsoleLab.vcxproj
+++ b/Lab3/BlankConsoleLab.vcxproj
diff --git a/BlankConsoleLab/BlankConsoleLab.vcxproj.filters b/Lab3/BlankConsoleLab.vcxproj.filters
index aca1dd9..aca1dd9 100644
--- a/BlankConsoleLab/BlankConsoleLab.vcxproj.filters
+++ b/Lab3/BlankConsoleLab.vcxproj.filters
diff --git a/Lab3/CST116-Lab3-Florea.cpp b/Lab3/CST116-Lab3-Florea.cpp
new file mode 100644
index 0000000..b8c3fe0
--- /dev/null
+++ b/Lab3/CST116-Lab3-Florea.cpp
@@ -0,0 +1,34 @@
+// CST 116 - Andrei Florea - Lab 3
+
+
+#include <iostream>
+#include <string.h>
+
+using namespace std;
+
+using std::cout;
+using std::cin;
+using std::endl;
+
+string getFileName();
+
+int main()
+{
+ cout << "Hello World!\n";
+ getFileName();
+}
+
+string getFileName()
+{
+ string file_name;
+ cout << "Enter the name of the file including extension: " << endl;
+ cin >> file_name;
+
+ return file_name;
+}
+
+void readData()
+{
+ int pick_up_loc;
+ int drop_off_loc;
+} \ No newline at end of file
diff --git a/a.out b/a.out
new file mode 100755
index 0000000..fd0a880
--- /dev/null
+++ b/a.out
Binary files differ