About to start learning C++ - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Life Support (https://www.supportforums.net/forumdisplay.php?fid=12) +---- Forum: Omni's Secret Hidden Inside Tricks (https://www.supportforums.net/forumdisplay.php?fid=13) +---- Thread: About to start learning C++ (/showthread.php?tid=7239) Pages:
1
2
|
About to start learning C++ - Fallenour - 05-21-2010 So yea, im finally entering into the coding field, I should be up and running, and making programs within a month or so, anything yall would like to see program wise? Ok so its talking about linking, but I dont have anything to link with do I? RE: About to start learning C++ - MrD. - 05-22-2010 Linking is the step where the separate compilation units are joined together, in the case of using external libraries, this is also where the library code is linked into your application code. You can get a variety of linker errors, the most common ones I would expect you to see would be an 'unresolved external symbol' where you have declared something but not defined it, or a 'multiply defined symbol' error where you have managed to put something in a header file such that it is duplicated into multiple compilation units instead of being referenced by multiple compilation units. tl;dr Learn what the C++ compiling process involves (pre-processing, compilation, linking) Also, this should really be in the C++ programming forum. Can a mod move it? RE: About to start learning C++ - Fallenour - 05-22-2010 ok, but how do I actually "do" the linking? do I need a tool or something? RE: About to start learning C++ - MrD. - 05-22-2010 It's a step your compiler does, what IDE/compiler are you using? RE: About to start learning C++ - Fallenour - 05-22-2010 umm...do I have one? o.o RE: About to start learning C++ - MrD. - 05-22-2010 ... you have to have something. What have you been using to try and make your C++ apps so far? RE: About to start learning C++ - Fallenour - 05-22-2010 umm...nothign? 8O am I supposed to? x.x RE: About to start learning C++ - Jake - 05-22-2010 (05-22-2010, 12:27 PM)Fallenour Wrote: umm...nothign? 8O am I supposed to? x.x "In order to make usable programs in C or C++, you will need a compiler. A compiler converts source code - the actual instructions typed by the programmer - into an executable file. Numerous compilers are available for C and C++. Listed on the sidebar are several pages with information on specific compilers. For beginners, Code::Blocks is our recommended free and easy-to-use compiler. " http://www.cprogramming.com/begin.html The computer doesn't speak English, you know. RE: About to start learning C++ - MrD. - 05-22-2010 I recommend Visual C++ Express if you are using Windows. Also, LOL. RE: About to start learning C++ - delme - 05-22-2010 I'd also recommend code::blocks, i've been using it for about a week now and its pretty good. |