Module 4: Load a grid (part 1)
This commit is contained in:
parent
b3a49d7991
commit
381984bfbc
12
a.c
12
a.c
@ -1,4 +1,5 @@
|
||||
#include <iostream> // library for printing
|
||||
#include <string> // support for strings
|
||||
using namespace std;
|
||||
|
||||
// For compiling C++ code
|
||||
@ -6,5 +7,14 @@ using namespace std;
|
||||
|
||||
|
||||
int main() {
|
||||
cout << 1 + 1 << "\n";
|
||||
string s0 = "DOG....";
|
||||
string s1 = "---....";
|
||||
string s2 = "----...";
|
||||
string s3 = "-------";
|
||||
string s4 = "...----";
|
||||
string s5 = "....---";
|
||||
string s6 = "....CAT";
|
||||
|
||||
s0.append("EXTRA!!");
|
||||
cout << "s0 is now: " << s0 << "\n";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user