![]() |
|
[C] [C/C++] The Definitive Beginner's Guide towards learning Programming - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C] [C/C++] The Definitive Beginner's Guide towards learning Programming (/showthread.php?tid=2105497) |
[C/C++] The Definitive Beginner's Guide towards learning Programming - Irritiable - Jan 12, 2012 Hello, and welcome. This is a short prologue to define who this thread is addressing, and the audience it is aimed at. 🙂 If you are wanting to learn programming in general, and have chosen C/C++ as your first language, this is the thread for you! If you already know how to program in general, and are wanting to learn more about C/C++, then this is the thread for you!! I will refer to Wikipedia, and other websites, as references for (reading/educating) extracurricular material. Table of contents
- A quick explanation of IDEs & compilers! I highly suggest you read the Wikipedia pages! If nothing else, continue to read my descriptions... - Compiler - Integrated Development Environment What an IDE is... The acronym, "IDE," stands for: Integrated Development Environment. In short, what this means is: An IDE is a program, like any other, but geared towards a programmer. It contains many gimmicks (or luxuries, however you want to view it), such as automated command-line parameters for the linker, and/or the compiler itself (in conjunction with a simple, "Compile" button). Many IDEs also provide syntax checking (real-time is how IntelliSense operates), and syntax highlighting (a lot of IDEs offer the ability to modify what is highlighted, and what color(s) to use for the foreground/background of the highlighted words, or common parameters (such as function arguments)). What a compiler is... In the utmost ambiguous form: A compiler transforms a programmer's source code into 'object code' (also called: 'machine code'). The machine code is stored as/an object file/s, which are/is then used by a linker to generate an executable ('binary') program. An IDE is not a compiler. An IDE is not tied to any single given compiler. Compilers and IDEs may be interchangeably used at will. From my experience, this is a common misconception (EG: Code::Blocks and Visual Studio cannot both use the MSVC/GCC compilers). - Getting started a. (Which compiler is best suited for you) There is a wide array of options of compilers to choose from out there. Depending on what platform you're using, you'll be limited to particular ones. There are compilers aimed at specific operating systems, and specific languages. There are compilers even aimed at cross-platform compatibility! If you're running (almost) any operating system, and are aiming for cross-compatibility: Use the GNU/GCC compiler! If you're running Windows (any flavor), and are aiming for Windows-only development: Use the MSVC++ compiler! In a short summarization: Those are the most common modern compilers around today. 🙂 - Getting started b. (Installing an IDE/compiler) Every IDE/compiler is installed differently. Especially for every operating system. Instead of creating a step-by-step explanation of how to install every IDE/compiler, I will refer to the home-sites "Download" page.
... As you can see! A WIDE variety of IDEs are out there! This is only a glimpse. 🤐 - Commonly listed C/C++ tutorials (YouTube & HTML) HTML: YouTube:
- Commonly listed forums
- Commonly listed APIs (Creating games & GUIs)
- How to help yourself (Search engines & invaluable programming advice) If you've skipped to this part, you've skipped to the best part! 🙂 The most invaluable resource to anything on this earth starts with the letter 'Y,' and ends with an 'o.' That word being: YOU!! Without YOU: YOU Cannot learn! Without YOU: There is no point. The only way to learn programming is by you, through you, and for you... Programming is not for everyone. Programming is about problem solving. If you do not like solving problems, programming might not interest you. However, if you do love solving problems! And get excited over it (even now), read on! 🙂 The first and foremost answers you should seek, should come from: GOOGLE (or your favorite search engine). If Google majestically fails you (somehow), the next step is to resort to searching say.. MSDN. If MSDN (Microsoft Developer Network) fails you, search other particular websites (API libraries). If those fail you, then search by searching forums (use their SEARCH engine that is provided). If that fails you, then resort to creating an account, and posting a literate thread, explaining in depth what your issue is. If that fails you! Finally resort to the last possible solution: Log onto an IRC network, or PM users on a forum. If that fails you, then find a book, or some other resource that's guaranteed to solve your problem at hand. The epilogue: If you have any commonly known of forums, or APIs, or anything else, please PM me, do not post here. Thank you! 🙂 EDIT: Fixed the thread title (hours later) EDIT: Updated the API list as per requested * - erhanzz - Jan 13, 2012 Nice tutorial dude. Hope there will be more c++ coders soon. * - postbag - Jan 13, 2012 if i just knew how to give you rep+... nice tutorial mate * - Han. - Jan 13, 2012 Nice tutorial dude. I'm sure some beginners will appreciate this! You should add FLTK(Fast Light ToolKit) to APIs. 🙂 * - n00bzh4ckz - Jan 13, 2012 Oh man finally a good tut thanks bro, you should get a reward of some sort * - d4rkj4y - Jan 14, 2012 This is what people should see, not those other shit tutorials that make me cry in this section :) Props to you :D * - CtrlAlt - Jan 15, 2012 Great List for a beginner like me! :D * - screwtap3 - Jan 18, 2012 i love you so much lol +3 to you man so insightful * - Nityy - Mar 8, 2012 Will take a look tomorrow, looks great! Thank you! * - m1ndfr3ak - Mar 9, 2012 Nice man :) keep up the good work :D :D * - Cody8295 - Mar 22, 2012 StackOverflow is a great forum for programming. * - jacobra2 - Mar 27, 2012 hey thanks this is awesome. wish there were more posts like this. * - khaleekstyle - Apr 3, 2012 really appreciate your help.. this tutrial include a good knowledge about C++ which all programmers need it to improve there skills or to learn programming * - SIM-73089 - Apr 8, 2012 You have to add an extra phrase at the end of the instructions. "and if THAT fails you then we're all doomed." Edit: oh, and good job. * - ʝosh - Apr 23, 2012 Thanks for making this tutorial. I'm bookmarking it so I can read it during some free time :D |