C++, what book?
Page 1 of 2 Goto page 1, 2  Next
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Sun, 20th Jan 2008 19:11    Post subject: C++, what book?
So i'm gonna start learning to code in the language C++ and i am wondering what book I should get.

I'm thinking of getting the C++ for dummies 5th edition but i'm not sure. So what book would you guys recommend for someone that has never coded before?

I'm willing to try other coding languages as well if you recommend that I should try that before moving up to a harder language.

But yeah, i would like some advice. Laughing

thanks.
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Sun, 20th Jan 2008 19:55    Post subject:
Never coded? Learn C# .NET first.. then from there move to C++ .NET.. Also grab the latest version of Visual Studio.
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Sun, 20th Jan 2008 20:32    Post subject:
[sYn] wrote:
Never coded? Learn C# .NET first.. then from there move to C++ .NET.. Also grab the latest version of Visual Studio.


Would you recommend any book for learning C# .NET?
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Mon, 21st Jan 2008 00:40    Post subject:
Don't know any books really as I don't use them. Programming was kind of natural for me.. didn't need to learn.. I tend to use books as a point of reference (but these days I just do it online using the .net forums or MSDN)..

I have a "wrox professional asp.net" book which is pretty good, they do C# etc also.. You may want to check those out? Thats all I could comment on though.
Back to top
Epsilon
Dr. Strangelove



Posts: 9240
Location: War Room
PostPosted: Sun, 27th Jan 2008 23:36    Post subject:
C++ The Complete Reference, Sams Teach yourself C++,Programming Linux Games.
Last one was written by a very good friend of mine John "Overcode" Reeves Hall,
who sadly passed away in 2005, a good friend with a lot of talent :'(. Once your done with the others, that book comes heartily recommened as it teaches you how to get graphics on your screen, Input/output and write multiplatform games which is becoming even more essential as time goes on.
Enjoy your studying.
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Mon, 28th Jan 2008 17:43    Post subject:
Well thanks for the tips but i ordered C for dummies. Going to being with that one then see if i'll progress on in C or move to C++.
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Mon, 28th Jan 2008 19:25    Post subject:
Arghh! C!! NOOoooooo!

Maybe I'm alone on this one.. C = Embedded applications. Nice language but I would never use it for a computer application.
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Mon, 28th Jan 2008 19:37    Post subject:
[sYn] wrote:
Arghh! C!! NOOoooooo!

Maybe I'm alone on this one.. C = Embedded applications. Nice language but I would never use it for a computer application.


Ah well, i thought C was a good starting ground to later go onto C++. But anyway i'll start with this and see what happens.
Back to top
Rinze
Site Admin



Posts: 2343

PostPosted: Mon, 28th Jan 2008 23:09    Post subject:
Don't. Start with C++ or even better a more modern language like C# or Java.
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Tue, 29th Jan 2008 00:24    Post subject:
Rinze wrote:
Don't. Start with C++ or even better a more modern language like C# or Java.


./agree (except for the java bit... but that's simply personal taste Razz)
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Tue, 29th Jan 2008 14:37    Post subject:
aw aw aw damn. I can't "shut off" the order. it has already been sent.

But yeah what kind of applications can i construct with regular C?
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Wed, 30th Jan 2008 00:09    Post subject:
Anything without a GUI.. if you try and build a GUI with C.. you may want to just kill yourself before you start Razz..

C is great, just not for windows based applications..
Back to top
Epsilon
Dr. Strangelove



Posts: 9240
Location: War Room
PostPosted: Fri, 15th Feb 2008 01:07    Post subject:
I know someone who made a 16bit kernel using only asm...
Theres some masochists out there so if you say you can't write a gui with C somebody will do it, just because.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 15th Feb 2008 01:11    Post subject:
Hey, I've made some gui stuff on borland C for a graphics project once (for dos graphics mode). Wasn't that hard.
Back to top
Epsilon
Dr. Strangelove



Posts: 9240
Location: War Room
PostPosted: Fri, 15th Feb 2008 01:13    Post subject:
LeoNatan wrote:
Hey, I've made some gui stuff on borland C for a graphics project once (for dos graphics mode). Wasn't that hard.

No but not overly complex either I'd imagine.
Using ncurses one can easily wrap together a keyboard selection interface with C, but it's never going to be a gui.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 15th Feb 2008 01:22    Post subject:
Sure, it just had the functions I needed for my project (it was a 3d maze, and the UI was for the level editor).
Back to top
[sYn]
[Moderator] Elitist



Posts: 8374

PostPosted: Fri, 15th Feb 2008 18:06    Post subject:
Epsilon wrote:
I know someone who made a 16bit kernel using only asm...
Theres some masochists out there so if you say you can't write a gui with C somebody will do it, just because.


I'm a hardware engineer, sue me Razz!
Back to top
dizturbd




Posts: 335
Location: Right Here!
PostPosted: Wed, 24th Sep 2008 10:10    Post subject:
C++ for dummies is a wonderful start. Don't listen to everyone here or you won't get started. The best thing is to just start.

For me, I took a class because I need someone there to show me how to get started on things. That's just how I am.

To learn some basics and understand the fundamentals of programming and have fun doing it, I would suggest learning Javascript first. The only pre-requisite is knowing some basic HTML. It's immediately visual and you kill 2 birds with one stone. C++ just uses a broader terminology and offers more functionality after you learn JS.

My 2 cents.


Back to top
tainted4ever
VIP Member



Posts: 11335

PostPosted: Sun, 19th Oct 2008 05:52    Post subject:
I recommend Java, since everyone seems to be doing it (most popular language baby Very Happy ). After you get it down C++ and that rest of the gang are simple. The trick is not learning a language, but learning the mindset of a programmer. With that down, you can learn any language in a day or two just by looking at a syntax reference.

Quote:
I know someone who made a 16bit kernel using only asm...
Theres some masochists out there so if you say you can't write a gui with C somebody will do it, just because.


It's not that bad... Very Happy


Sense Amid Madness, Wit Amidst Folly
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sun, 19th Oct 2008 06:07    Post subject:
C++ is most definitely not easy, even for semi-experienced developers. I've gone the "C -> C++ -> Java -> C# for a long time -> C++" path, and I can't even begin to explain how hard and limiting it is on one hand, while overwhelming and powerful on the other. I recently did an MFC project in C++, and I reached a point where I had to touch multiple inheritance with virtual polymorphism. But C++ is really in a need for a serious change and modernization.

Just a quick example:

Code:
typedef void (Scene::*Inserter)(int, GameShape*);

Inserter inserter;
inserter = &Scene::AddTeamShape;
(g_Conn.scene.*inserter)(data[2], tank);


Seriously, WTF!? Very Happy

BTW, C# as a language is much better than Java and that should be the beginners choice.
Back to top
Frant
King's Bounty



Posts: 24433
Location: Your Mom
PostPosted: Thu, 22nd Jan 2009 10:30    Post subject:
Razacka2 wrote:
Well thanks for the tips but i ordered C for dummies. Going to being with that one then see if i'll progress on in C or move to C++.


If you start with C you'll learn to program in a way that is vastly different from modern object oriented development and you'll actually have to forget the programming paradigms from linear C when you move to C++ or C#. C# is a somewhat easier language to learn while still as powerful as C++. The negative side is that your applications will be dependent on Microsoft's .NET framework, or possibly a Mono implementation for cross-platform compatibility. On the other hand you'll have to port C++ code if you want it to run native on Leenucks or Windows unless you're developing in a very generic way.

And don't jump on polymorphing inheritance from start, that will just confuse the hell out of you and make you wish you had never gotten into programming in the first place. I remember I hated those parts when I studied System Development. Well, I didn't like the pseudo-coding during System design either but that was just tedious, not complexity squared. Wink


Quote:
The trick is not learning a language, but learning the mindset of a programmer. With that down, you can learn any language in a day or two just by looking at a syntax reference.


A lot of truth there. Once you've got the basics you've pretty much got the key to development as far as programming goes.


Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!

"Thank you to God for making me an Atheist" - Ricky Gervais
Back to top
CookieCrumb




Posts: 4670
Location: Celephaïs
PostPosted: Sat, 18th Apr 2009 23:47    Post subject:
I'll just hijack this thread Wink
I'm looking for a couple of books / tutorials.
First of I'm looking for one on PHP and or MySQL preferrably the latest versions (if there is a significant difference from PHP 4 to 5 or 5.3)
and I'm looking for a book / tut on C# or C++ but people seem to agree that it's a better idea to go with C# first?
Since my studying at the university seems to be going to shit I'd like to teach myself something useful for once. Something that I can bring up so people would actually consider hiring me Very Happy
Thx in advance
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Mon, 9th Nov 2009 16:48    Post subject:
Sorry for bumping this post after a long time but... what book can you recommend for starting with C# or Java?
Back to top
lhzr




Posts: 3902
Location: RO
PostPosted: Mon, 9th Nov 2009 16:51    Post subject:


Last edited by lhzr on Thu, 24th Dec 2015 11:57; edited 1 time in total
Back to top
Razacka2




Posts: 2832
Location: Sweden
PostPosted: Tue, 10th Nov 2009 14:23    Post subject:
lhzr wrote:
check this http://www.csharp-station.com/tutorial.aspx

or google for other tutorials, 'til you find one you're comfortable with (depending on your general programming knowledge, i guess)


Hmm ok thanks, though i prefer books for some reason Razz but i'll take a look and see if i can manage C# before i even order anything.
Back to top
Omego2K




Posts: 317

PostPosted: Wed, 3rd Feb 2010 14:39    Post subject:
I may be a bit late, but learn C++ first, it gives you a better understanding of modern day programming paradigms and then move to .NET or Java. In fact a lot of jobs take UNMANAGED C++ as a plus right in the requirements. In fact I interviewed for a .NET job once and was asked mainly C++ questions.
Back to top
mtj




Posts: 2315
Location: Austria / Finland
PostPosted: Sun, 21st Mar 2010 23:23    Post subject:
Bumping up for fun, and for a small advice...

For C# I would suggest the 'Head First C#'

I wanted a small reference book and ordered one without checking at all what it's about (I've done several courses of C# at uni.) and... I was disappointed Smile I found out that it starts from zero and it's done in quite... funny way.

So, as I was saying I think this book would be great for beginners... just totally useless if you know the language already.

Someone mentioned the Wrox series, and I think that they're for a bit more advanced people... not sure though, I've only one book from the series and it sucks (Android 1st edition)


Intel Core I-9 9900K @ stock, ASUS Z 390A MoBo, 32GB 3.6GHz, Zotac 3090 | BeQuiet 1000W PSU, Be Quiet Dark Base Pro 900 case, 49" Samsung G9
Back to top
Frant
King's Bounty



Posts: 24433
Location: Your Mom
PostPosted: Sun, 21st Mar 2010 23:46    Post subject: L
Razacka2 wrote:
[sYn] wrote:
Arghh! C!! NOOoooooo!

Maybe I'm alone on this one.. C = Embedded applications. Nice language but I would never use it for a computer application.


Ah well, i thought C was a good starting ground to later go onto C++. But anyway i'll start with this and see what happens.


The problem with going from C to C++/C# is that you'll have to forget most of what you've learned and start over with understanding object oriented development. C is not object oriented and unless you're planning to develop for various automated devices/drivers there's no point in learning it.

Start with C# in Visual Studio C# Express, then go to C++ if you need to.

My first book was "Visual C#.NET Step by Step" by John Sharp and Jon Jagger. It would be good to have a book about SQL as well so you can practice and develop with databases (I have Sam's "SQL in 24 hours, 3rd Edition"). Doesn't matter which database server you use as long as it's SQL.


http://www.microsoft.com/learning/en/us/Book.aspx?ID=13525&locale=en-us#tab1


Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!

"Thank you to God for making me an Atheist" - Ricky Gervais
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Mon, 22nd Mar 2010 10:14    Post subject:
Maybe it's because this is how I learned programming, but I think C is really important as basis for all development. It contains all the basics for programming, and also makes you appreciate object oriented programming so much more.
Also, I think, going straight to Java or C# is also not recommended, but possible. Starting with C++ and understanding everything that is done for you in the background in Java/C# is very important, as well as getting a feel for how memory management is done (this also applies to C, but to a lesser extent).
I'm sure there are people that would recommend the same for ASM -> C, but I wouldn't go that far, wouldn't recommend ASM beyond a nice afternoon read.
Back to top
me7




Posts: 3936

PostPosted: Mon, 22nd Mar 2010 10:27    Post subject:
Why was this thread resurrected? The original poster asked his question two and a half years ago.
Back to top
Page 1 of 2 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner Goto page 1, 2  Next
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group