EvilZone

Programming and Scripting => Beginner's Corner => : warlock91 January 24, 2015, 12:21:31 AM

: got my hands on a c++ book, just wondering if it will do
: warlock91 January 24, 2015, 12:21:31 AM
I read the thread on which language to learn first and c++ looks right on the money, just wondering if this book will do the trick or if I need to get something better

It's this book http://www.cengage.com/search/productOverview.do;jsessionid=7BBFCF499116DFA3258D7F80A9636682?N=16+4294966351&Ntk=P_EPI&Ntt=96411306358303923221046676129994012&Ntx=mode%2Bmatchallpartial (http://www.cengage.com/search/productOverview.do;jsessionid=7BBFCF499116DFA3258D7F80A9636682?N=16+4294966351&Ntk=P_EPI&Ntt=96411306358303923221046676129994012&Ntx=mode%2Bmatchallpartial)

It also says that it came with a compiler but I got this book second hand and as a result do not have the compiler. Are there any free ones I can use for the time being?
: Re: got my hands on a c++ book, just wondering if it will do
: rincewind January 24, 2015, 01:04:42 PM
I have never read that book or heard of it personaly. If you already have it use it, go from cover to cover and try to make as much as you can your own things, and FINISH THEM don't leave them half way done. As for the compiler if on linux use g++, if on windows try devc++ I think that one comes with compiler MiniGW, or visual studio express that will work too. Hope this post helped you :D
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 January 24, 2015, 03:17:02 PM
Ok... I just have one more question. When i read the sticky it said that C++ is object oriented but this book says nothing about object oriented. Are all C++ books about OOP? I just have a hunch that this is an older book that came out before OOP was introduced. Or has C++ always been object-oriented?  :-[


Edit: The very last chapter talks about OOP... page 810. It says "the previous chapters were procedure-oriented". Is it a good idea to learn procedure oriented these days? Or should I just get a book that focuses on OOP C++?


Edit2: I found >this (https://evilzone.org/ebooks/starting-out-with-c/)< book in the ebooks forum. Should I just ditch the paperback and get this one? After all I am a beginner...
: Re: got my hands on a c++ book, just wondering if it will do
: rincewind January 24, 2015, 09:37:48 PM
First line on wiki page about c++ gives you many answers https://en.wikipedia.org/wiki/C%2B%2B . If you are a beginner I think you should read this thread https://evilzone.org/c-c/c-tutorial/ and go to check out cs50 https://cs50.harvard.edu/ and you can start from there (you can even sign up on edx to get some ceritficates if you want to) but just read as much as you can and make as much as you can, you don't have to buy expensive books, you have plenty here and on the web.
: Re: got my hands on a c++ book, just wondering if it will do
: kenjoe41 January 25, 2015, 05:26:56 AM
try to make as much as you can your own things, and FINISH THEM don't leave them half way done.
That is just wrong, to some extent, but no offense. There are personally anot of projects i start or i started and never finish/ed. Though it is advisable to get those projects to finish, we all know motivation can run alot of places. The main objective is for you to write as much bad code as possible and with time, it will get good.

@OP, I didn't even click that thread but i know it isn't the right book for you. OOP is the power of C++ that is one of the major determinants of its difference with C. You can achieve alot with procedural C++ but when you start posting code in places, people with have to suggest, "You could have made a class for this one, and that one." If you learning way is one of having insight from a book, then either "Starting out with C++: early objects" or "C++primer"
: Re: got my hands on a c++ book, just wondering if it will do
: IamMe January 25, 2015, 08:20:45 AM
Though i've never heard of it, it may be good. If you want opinions i rather you go with deitel c++ how to program or any cover by D.S Malik
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 January 25, 2015, 01:59:07 PM
Thanks to both of you, i tried quoting your posts but it made them really small... :-\


Nothing better than getting hooked up  8)
: Re: got my hands on a c++ book, just wondering if it will do
: rincewind January 25, 2015, 02:29:19 PM
That is just wrong, to some extent, but no offense. There are personally anot of projects i start or i started and never finish/ed. Though it is advisable to get those projects to finish, we all know motivation can run alot of places. The main objective is for you to write as much bad code as possible and with time, it will get good.

None taken, I see what you mean and you have point. What I really wanted to say was not to give up at beginnig because it seems hard.
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 January 29, 2015, 09:31:45 PM
Which compiler do you recommend I use? I'm doing the tutorial here (https://evilzone.org/c-c/c-tutorial/) but I don't even know where to enter the code.


A friend of mine pointed me toward Eclipse but I can't navigate this program to save my life. I'm only familiar with the Python IDLE environment where you just type it in right at the first window that comes up... I don't know what the heck I'm looking at right now. Please help!  :-[
: Re: got my hands on a c++ book, just wondering if it will do
: BigSmoke January 31, 2015, 05:51:01 AM
There are many C++ ebooks in ebook section, i recommend C++ Primer Plus

(http://i.imgur.com/ysl7Evl.jpg)

this one and its best to learn standard code which works fine Cross-platform devC++ and VisualStudio by default do not support standard code they are for windows so in my opinion You should use any GCC(GNU compiler collection) compatible IDE for example CodeBlocks(Its the best ;) ), Eclipse etc.
In codeBlocks You can even add more compliers as per your requirements,it is beginner friendly and Best part it is Open source and Cross-platform(Works under all Windows,Linux and Mac). If you download it make sure you download Binary release of CodeBlock With Mingw and if you further need help in order to start with these IDE's or with C++ in general feel free to pm me.

PS:- For All Command Line GCC lovers you can code like Linux in Windows too just Grab this compiler.
http://www.equation.com/servlet/equation.cmd?fa=fortran
 (http://www.equation.com/servlet/equation.cmd?fa=fortran)
: Re: got my hands on a c++ book, just wondering if it will do
: haseebr21 February 04, 2015, 12:12:31 PM
It also says that it came with a compiler but I got this book second hand and as a result do not have the compiler. Are there any free ones I can use for the time being?


http://sourceforge.net/projects/turbocforwindows-9/?source=typ_redirect (http://sourceforge.net/projects/turbocforwindows-9/?source=typ_redirect)


this is quite old but seriously a newbie friendly compiler and quite good to learn basics.
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 February 07, 2015, 01:45:34 AM

http://sourceforge.net/projects/turbocforwindows-9/?source=typ_redirect (http://sourceforge.net/projects/turbocforwindows-9/?source=typ_redirect)


this is quite old but seriously a newbie friendly compiler and quite good to learn basics.


You rule man thank you
: Re: got my hands on a c++ book, just wondering if it will do
: cyberdrifter February 07, 2015, 01:51:11 AM
If you learning way is one of having insight from a book, then either "Starting out with C++: early objects" or "C++primer"
I second C++ Primer, and also recommend Accelerated C++ as the exercises in that book really helped bang out alot of confusion for me.
http://fit.hcmup.edu.vn/~thqthu/OOP/ebook/Accelerated_C++,_Practical_Programming_by_Example_-_Andrew_Koenig,_Barbara_E._Moo_-_Addison%20Wesley_-_2000.pdf (http://fit.hcmup.edu.vn/~thqthu/OOP/ebook/Accelerated_C++,_Practical_Programming_by_Example_-_Andrew_Koenig,_Barbara_E._Moo_-_Addison%20Wesley_-_2000.pdf)


The big thing is just starting, you'll have alot of questions. just write them down and go find the answers to them as you go along.
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 February 07, 2015, 02:32:50 AM
Sweet deal, exercises! No, really, thank you for this  ???
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 March 20, 2015, 07:31:22 PM
Ok, so, I've read a bit and practiced some. This is coming along smoothly, I think I'm getting a taste for it. Now I have another question for you guys. Are there any books you would recommend to a beginner, maybe something about computers that doesn't necessarily deal with programming itself?  I'm reading Inside the Machine An Illustrated Introduction To Microprocessors and Computer Architecture and this is really informative and stimulating to my mind as I have always noticed when people add x86 x64 and the like to a file download but never really knew what the heck that meant. Do any books come to mind? I like documentaries too, only recently all I can find are like Anonymous videos and old crap from like 1996   :o
: Re: got my hands on a c++ book, just wondering if it will do
: cyberdrifter March 21, 2015, 02:25:27 AM

What exactly are you looking to learn about?


I think one of the best books on the evolution and breakdown of how computers work is:
Code (http://kysmykseka.net/koti/wizardry/Programming/Misc/Charles%20Petzold%20-%20Code%20-%20The%20Hidden%20Language%20of%20Computer%20Hardware%20and%20Software.pdf) by charles petzel


If you're looking for a general less technical/more practical introduction to computers then any of the study guides for the CompTIA A+ certification would be useful
link (http://www.arconlab.com/dev/devdocs/Sybex%20-%20A+%20Certification%20Study%20Guide.pdf) and link (http://www.federaljack.com/ebooks/Computers%20-%20Informatin%20Technology/CompTia%20A+%20Complete%20Study%20Guide%20-%20Exam%20Essientials%20(220-601)%20Exam%20Objectives/CompTia%20A+%20Complete%20Study%20Guide%20-%20Exam%20Essientials%20(220-601)%20Exam%20Objectives.pdf)

Ok, so, I've read a bit and practiced some. This is coming along smoothly, I think I'm getting a taste for it. Now I have another question for you guys. Are there any books you would recommend to a beginner, maybe something about computers that doesn't necessarily deal with programming itself?  I'm reading Inside the Machine An Illustrated Introduction To Microprocessors and Computer Architecture and this is really informative and stimulating to my mind as I have always noticed when people add x86 x64 and the like to a file download but never really knew what the heck that meant. Do any books come to mind? I like documentaries too, only recently all I can find are like Anonymous videos and old crap from like 1996   :o
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 March 22, 2015, 02:52:26 PM
Word, I'll check those out, thanks  8)
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 March 22, 2015, 02:55:02 PM
What exactly are you looking to learn about?



Mostly just stuff surrounding programming that would help me be a better hacker/programmer/designer

Like when you learn music there are several different topics, theory, composition, harmony, engineering etc that make you a better musicians  overall
: Re: got my hands on a c++ book, just wondering if it will do
: cyberdrifter March 22, 2015, 11:23:27 PM
Mostly just stuff surrounding programming that would help me be a better hacker/programmer/designer

Like when you learn music there are several different topics, theory, composition, harmony, engineering etc that make you a better musicians  overall
I'd also recommend this book, alot of productivity tips and ways to help how you solve problems:
http://www.ebay.com/itm/like/261473542674?lpid=82&chn=ps


(i was too lazy to find the book for you, but i'm sure with a little google fu it won't be hard)
: Re: got my hands on a c++ book, just wondering if it will do
: warlock91 March 23, 2015, 03:01:52 PM
I'd also recommend this book, alot of productivity tips and ways to help how you solve problems:
http://www.ebay.com/itm/like/261473542674?lpid=82&chn=ps


(i was too lazy to find the book for you, but i'm sure with a little google fu it won't be hard)

Thanks, I'll check it out