Skip to content

Commit

Permalink
Merge pull request YearOfProgramming#445 from dewie102/master
Browse files Browse the repository at this point in the history
[cpp] Challenge 0 (reviewed and merged)
  • Loading branch information
Steven Landau committed Jan 23, 2017
2 parents 5ef3211 + e8ce4c4 commit 48cb942
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
19 changes: 19 additions & 0 deletions challenge_0/cpp/dewie102/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Hello World
###### C++ 11

### 1. Approch to solving the probelm

Pretty self explainitory, just getting the basics down and making sure everything is correct.

### 2. How to compile and run this

In Windows - I used the Visual Studio C++ compiler, move to the proper directory and run:

```
cl.exe src/HelloWorld.cpp
HelloWorld.exe
```

### 3. How this program works

The program just outputs "Hello, World!" on the main output stream.
6 changes: 6 additions & 0 deletions challenge_0/cpp/dewie102/src/HelloWorld.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <iostream>

int main(int argv, char** argc) {
std::cout << "Hello, World!" << std::endl;
return 0;
}

0 comments on commit 48cb942

Please sign in to comment.