It would be nice if we agreed on a book thats available on Kindle, as then everybody can get it instantly for a very decent price. If we intend to use a book that is.
Announcement
Collapse
No announcement yet.
The Programming Thread (was New to Programming)
Collapse
This is a sticky topic.
X
X
-
Hmm-I haven't heard of c# before (I've been advised against anything thats microsoft exclusive-but I'm definitely willing to have a go if it really means transferable skills for C++. If I do this (I'm likely to be busy a few months from now) I would like to know that I can use this experience for non-microsoft as well.For now its yes(IM IN). Need to know more about whats going on under the hood. And I am currently absolute beginner. The experts I spoke to offline a while back recommended pascal-but I had an absolute nightmare just trying to find a working version)-I feel I really need something a little more newbie friendly. (Or maybe just full explanations-difficult to do by correspondence). I have been given the suggestion I should get an amiga 500 just for pascal ( i can think of many more reasons)-I wonder how much they go for now?
Comment
-
Transferring to C++ from C# is not going to be a pleasant experience. Not having to understand memory management and pointers in C# is going to make you hate C++ I reckon. Essentially C# = Microsoft only. Going the other was would be an easier transition although you may lament the lack of multiple inheritance and proper template classes.
Learning how to make a simple game by typing in someone else's code and reading the explanations is one way to go about things but I do wonder if it would make you artificially feel that you'd made more progress than you really had. Better to learn the fundamentals such as data structures, sorting, searching and OO techniques first IMO. Once you understand that then you're equipped to tackle anything really.
Comment
-
Originally posted by FSW View PostNot having to understand memory management and pointers in C# is going to make you hate C++ I reckon.
Comment
-
I started off learning c++ with this book: http://www.steveheller.com/cppad/Output/dialogTOC.html
Never finished it, which is why I only know a very, very limited amount of c++. But it does teach you the fundamentals of programming and c++. A bit dated in some aspects, but it's aimed at someone who has no programming experience whatsoever, and I found it to be excellent.
Comment
-
Well, I'd have to disagree with you there bcass (my opinion is no more valuable than yours of course!). FWIW I'm not saying go in full steam ahead with every feature of C++. Treat it as C to start with perhaps. But learn about how memory is used and allocated/deallocated etc. instead of just pretending it's all done by magic. That's just my opinion though. Different people will have different goals.
Anyway, this is a good topic and has stayed alive long enough that it needs to be stickied I think. It probably ought to move to the PC section though rather than gaming? Also, I think there might already be another coding threading kicking about. I'll see if I can find it and maybe merge it.
Comment
-
I really didn't want to get into that argument, there's *never* universal agreement because there's a lot of snobbery regarding people's favourite programming languages. My main reason for recommending C# is because it's good for beginners. Even most C++ die-hards I know or have worked with would not claim that of C++. There's more to C++ and it *is* more demanding to get your head round those additional concepts.
Also, the only beginner-friendly C++ game development library that I know of (Allegro) isn't as beginner-friendly as XNA Game Studio. XNA is also updated much more regularly with new features being added all the time. It's a technology that Microsoft are pushing hard now that it's supported across a wider range of hardware platforms. I've coded in both (learnt C++ first, then C#), so can speak from experience there. Incidentally, here's the site I used a couple of years ago to teach myself C++:
It doesn't teach you everything (few tutorials/books do) but most of the core stuff is there.Last edited by bcass; 17-05-2011, 14:43.
Comment
-
Originally posted by bcass View PostThose elements alone might put you off programming forever. C++ really isn't the best beginners language. By all means use something other than C# if you can't stand the prospect of using a Microsoft langauge, but C++ is not a good place to start.
Comment
-
Originally posted by bcass View PostIncidentally, here's the site I used a couple of years ago to teach myself C++:
It doesn't teach you everything (few tutorials/books do) but most of the core stuff is there.
I would prefer to learn something like c++ over any other language. As long as you're taught well (reading from a good source of material in this case) you would only be learning the more simple aspects first, therefore more advanced concepts that are too difficult for beginners wouldn't be touched on until I'd have a firm grasp of the basics.
Comment
-
Decided to do something on iPhone. Not sure what yet but the arrival of google's API for google tasks brings possibilities. There's already a hundred todo apps on the store but none look all that great to me. Time to brush up the Obj-C skills (well, relearn it all from scratch really, it's been so long).
Comment
-
Help me get a job! Had an interview on Friday which went really well, now I've been shortlisted and have one more step to pass, a test! Now this isn't a do the test for me sort of thing, I have however been asked to use VBscript, I've never, ever used scripting languages before, so don't really have to the time to sit down and go through a book or anything, I could get enough of what I know from this test If it works. So here's what I've been asked to do:
Every 5 minutes retrieve the current value of USD to GBP from the Internet.
Display the current value to the user
Show how that value has changed since the last retrieval
Record the application’s activity in a log
Code:Option Explicit 'On Error Resume Next Dim dblRate, strFromCur, strToCur dblRate = 0.6217 strFromCur = "USD" strToCur = "GBP" WScript.Echo GoogleFinance(dblRate, strFromCur, strToCur) dblRate = strFromCur = "USD" strToCur "GBP" WScript.Echo GoogleFinance(dblRate, strFromCur, strToCur) Function GoogleFinance (myAmount, myFromCur, myToCur) Dim dblConvert, dblExchange If IsNumeric (myAmount) Then If myAmount <= 0 Then GoogleFinance = "Error: " &myAmount & "Is not a valid amount" Exit Function End If End If
Last edited by Rep; 18-07-2011, 15:33.
Comment
Comment