For New People: How to make a question: 1. In the first part say what course. There are 3 courses in this Computer Science group, so first tell which is the course you are doing. 2. If it is not of a course, specify the programming language first. 3. Then the question :)
Actually, there are 4 courses that are officially here and several others that are not official. It is always worth it to let us know the actual question you are answering as it is stated in the book, asignment sheet, etc. There have been many times when people fixed code only to find the person asking had misinterpreted their assignment and the real problem got missed. This causes a large amounts of confusion and wasted time when it happens. When posting code, please use one of the ways that makes it work easily. For small bits of code, you can put a ``` (the one with the ~) above and below the code block to get proper formatting and let people copy it without the text collapsing. For example: ``` #include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; } ``` For larger bits of code, use a code sharing site: http://dpaste.com http://pastebin.com https://gist.github.com/ http://pastie.org http://codepad.org http://ideone.com http://www.repl.it/
And you will make life easier to everyone :)
Wish we could make this, or osmething like it, into a sticky post at the top...
Join our real-time social learning platform and learn together with your friends!