-
April 15th, 2010, 09:30 PM
#1
Learning C++
Hi
I would like to learn c++ but not in a way that everyone else usually does.
I have previous coding experience (mainly with php)( visual basic a long time ago)
When I went through the some of the basics of c++ it was quite simple to understand.
However what I really want to do is to learn how to code for windows (eventually trying to code for xbox)
Yet I dont want to go through all the boring tutorials.
What I think will help me learn best is learning by example. Something like a tutorial where they teach how to make something simple like a calculator.
I'm just asking if any of you would know something of this kind, like a book or a website or anything else that teaches in this manner.
Thanks
-
April 15th, 2010, 10:16 PM
#2
Re: Learning C++
I myself am just learning C++ through a book, but I picked up a few different books and 2 of them look like what your asking for.
they're called "Microsoft XNA Game Studio Creator's Guide: An Introduction to XNA Game Programming" and "XNA Game Studio Express: Developing Games for Windows and the Xbox 360"
The 2nd one comes with a disc that has all the programs needed on it, and also has lots of tutorials that show you how to code a game, and the finished product on the disc along with details on how to do it.
Not exactly sure if thats what your after, but I would look up your local library (Thats where I picked mine up from" and see if they have a copy of it, then you could decide from there.
-
April 16th, 2010, 12:06 AM
#3
Re: Learning C++
Do u want to review basic of c++ means follow the link, it will surely help to u
http://www.cplusplus.com/doc/tutorial
Thanks
sona
-
April 16th, 2010, 12:34 AM
#4
Re: Learning C++
Originally Posted by ankhmor
However what I really want to do is to learn how to code for windows (eventually trying to code for xbox)
If you want to cut the crap and do something challenging immediately you could download the DirectX 11 SDK and start fiddling with the examples that comes with it. But remember that this way of learning can be very frustrating so don't say I didn't warn you.
http://www.microsoft.com/downloads/d...6-651cbd28ca15
Here's another link for Microsoft games development,
http://msdn.microsoft.com/sv-se/xna/default(en-us).aspx
Last edited by nuzzle; April 16th, 2010 at 12:39 AM.
-
April 16th, 2010, 03:50 AM
#5
Re: Learning C++
Yet I dont want to go through all the boring tutorials.
If you think tutorials are boring, then the question is, do you really want to learn something. It sounds to me that you are asking us for a shortcut. In programming, shortcuts don't exists.
-
April 16th, 2010, 06:01 AM
#6
Re: Learning C++
Originally Posted by ankhmor
Hi
I would like to learn c++ but not in a way that everyone else usually does.
I have previous coding experience (mainly with php)( visual basic a long time ago)
When I went through the some of the basics of c++ it was quite simple to understand.
However what I really want to do is to learn how to code for windows (eventually trying to code for xbox)
Yet I dont want to go through all the boring tutorials.
What I think will help me learn best is learning by example. Something like a tutorial where they teach how to make something simple like a calculator.
I'm just asking if any of you would know something of this kind, like a book or a website or anything else that teaches in this manner.
Thanks
I suggest hiring a professional developer doing the work for you. It sounds to me that you are trying to run before being able to walk. Developing for the XBOX is not like boiling water. There are a lot of concepts and technologies that are fairly complex and involve a steep learning curve.
Jumping into the middle of it because the basics are that boring is a sure recipe for frustration and bad software later on.
Since you already seem to have some experience, take a look at 'Accelerated C++' which essentially teaches you the basics of C++ based on previous programming knowledge....
-
April 18th, 2010, 04:47 PM
#7
Re: Learning C++
Thanks everyone for your comments
Thing is I'm not trying to find a shortcut. I just can't learn without a challenge.
-
April 18th, 2010, 05:08 PM
#8
Re: Learning C++
Thing is I'm not trying to find a shortcut. I just can't learn without a challenge.
The challenge is to learn
-
April 18th, 2010, 05:28 PM
#9
Re: Learning C++
Originally Posted by ankhmor
Thanks everyone for your comments
Thing is I'm not trying to find a shortcut. I just can't learn without a challenge.
C++ is not challenging in itself? What do you know about the language library? Containers, algorithms, templates? What about the basics? What is the rule of 3? How do you overload the subscript operator properly? etc.
Maybe you should go here:
http://www.parashift.com/c++-faq-lite/
C++ is a big language with complex rules. There are ways to leverage the C++ libraries to simplify programming somewhat, but the language itself is not something that isn't challenging to learn. This isn't PHP or VB, where you can get by with a few weeks of learning and a cheat sheet of commands to get a "nice looking" program working. C++ doesn't work that way.
Secondly, if you want a challenge writing a "calculator" program, you don't need fancy graphics. How about this:
Write a program that takes a mathematical expression and outputs the answer. The expression consists of +, -, /. *, and parentheses. The order of operations is to be followed.
Example:
Enter your expression: 2*3
Answer: 6
Enter your expression: (3+4)*(2-7)
Answer: -35
Enter your expression: 2+4*3
Answer: 14
Before you start writing fancy GUI's to do a calculator, you have to know how to solve basic things such as the above. So you have two learning curves -- using the C++ language properly, and you have to know how to solve such a problem, regardless of the language you are going to use.
Regards,
Paul McKenzie
Last edited by Paul McKenzie; April 18th, 2010 at 05:42 PM.
-
April 20th, 2010, 02:54 AM
#10
Re: Learning C++
Originally Posted by ankhmor
Thanks everyone for your comments
Thing is I'm not trying to find a shortcut. I just can't learn without a challenge.
Afraid it seems like you are. The more alerting thing is that you don't tell learning C++ from programming on Windows platform. Those are two totally different aspects, and you may be sure you have no chance to pass by boring tutorial things on both.
Best regards,
Igor
-
April 20th, 2010, 07:23 AM
#11
Re: Learning C++
Originally Posted by ankhmor
Hi
Yet I dont want to go through all the boring tutorials.
What I think will help me learn best is learning by example. Something like a tutorial...
Thanks
Maybe it's just me but
-
April 20th, 2010, 07:39 AM
#12
Re: Learning C++
Originally Posted by GCDEF
Maybe it's just me but
It's almost ironic!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|