Why using Linux when Windows offers tons of tools to program C++. Other than that, I'll take a look
|
So laike I'm paying around $650 per class, and why not share it with all of you that want to learn C++ at a college level So here are some video lectures that you may or may not find useful.
Things you should consider having before doing some C++
Linux/Unix
You should use g++ compiler and not rely on IDEs
Topic #1 - Getting familiar with C++ (loops, arrays etc)
Viewing CS162 Videos
Topic #2 - Functions/Structures/External Data files
Viewing CS162 Videos
Topic #3 - Using classes
Viewing CS162 Videos
Topic #4A - pointers and dynamic memory
Viewing CS162 Videos
Topic #4B - Linear linked lists
Viewing CS162 Videos
Topic #5 - Recursion
Viewing CS162 Videos
Topic #6 - Arrays of arrays
Viewing CS162 Videos
Just some simple stuff
how to open/create a txt file in linux/unixCode://This would be a program that prints out Hello world //save this file as hello.cpp #include <iostream> using namespace std; int main() { cout << "Hello world" << endl; }
how to compile on linux/unixCode:nano "hello.cpp" pico "hello.cpp"
how to run this on linux/unixCode:g++ hello.cpp
If you guys want me to do a tutorial/example of anything ask and I'll see what I can do!Code:./a.out hello.cpp
Why using Linux when Windows offers tons of tools to program C++. Other than that, I'll take a look
No, it's about how good the OS is combined with what it offers. Popularity doesn't represent quality, being that Windows is dispatched with most computers nowadays and a lot of people don't want to mess around with different operating systems. Also we are heading off topic, so lets save it for a more appropriate thread :-).
Linux/Unix is preferred because people actually learn the syntax. people that use IDE's most of the time rely on auto complete to code for them, and in a work setting Knowing how to code on Linux/Unix is more ideal because most of the time you'll be working on a VPS that requires knowledge of Linux/Unix. Also most of the compilers out there aren't 100% right/correct, and with the board of Computer Science, they say that the g++ compiler is universal and should be the go to compiler.
Because lets say you used dev to compile your code and you went to use it with another compiler out there, it would probably spit out errors that you wouldn't normally get with dev and vise versa.
nonetheless, it's only a recommendation because if you end up to take Computer Science in college that's what you'll be doing
Wait you paying $650 per class?as class in like 1-2hours class???????????
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |