Learn C++ for WM ... which book for starters? - General Topics

Hey Guys
i'm going to get into C++ so I can program WinMob and having ordered Programing Windows by Petzold, I quickly realised this is not a "learn c++" book.
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!

Monty Burns said:
Hey Guys
i'm going to get into C++ so I can program WinMob and having ordered Programing Windows by Petzold, I quickly realised this is not a "learn c++" book.
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Click to expand...
Click to collapse
are you a C/C++ expert? I presume you are since you have assembly knowledge.
I can't say I'm a WM programmer expert, but I like to share with you my experience with Windows and Windows Mobile.
I started off in Windows programming, rather than Windows Mobile, and that helps me alot in adopting Windows Mobile programming. And when I first started Windows programming, there isn't a luxury like .NET or MFC (actually it was already there, but very preliminary) so Win32 programming was all I can cling on, but I am glad I'm 'force' to learn Win32 programming as it forces me to understand the foundation of Windows operation (messaging queue, windows message intercept, windows manipulation, etc). So when C# and .NET comes in, it took me very quickly to adopt (although I resist on such managed framework for awhile ). Because of my background with Windows programming, it's easy for me to develop Windows Mobile application, although I can't say it's anywhere comparable to some of the wonderful codes you find in XDA developers.
So my personal advise is if you are into building good Windows code, knowing Win32 programming is important.

Monty Burns said:
Can anyone recommend a book to take me from knowing nothing to genious please? I have assembler experience so not a total newbie but haven't done any for over 15 years!
Click to expand...
Click to collapse
I would like to suggest Douglas Boling's "Programming Microsoft Windows CE .NET, Third Edition (Core Reference)" or its latest version. It was one of Windows Mobile C++ book that I bought that's still useful after many years.

HI GUys
thanks for the replies.
I've quickly found out that before I learn C++ for WinMob I need to learn it on the windows platform in general. As you say Zenkinz, it seems easy to migrate from Windows to WinMob. Sadly, I am far from advanced at c++, I used to know assembler (680x0) but that was over 15 years ago! Infact, i'm a complete newbie to C++
I got that Douglas Boling book ... its mammoth! And also beyond my level at the moment as I'm a complete learner.
I've also booked myself on a local college course to start me on learning C++.
So again, thank you for the replies, very usefull!

Related

Best place to get started ? ? ?

. . . with understanding development using Java for Android?
Do I start with Java books?
Where do I read about how to set up an Android development environment? I'm trying to read through everything at the Android Developers website, but I was hoping someone could point me towards better/more information.
I know this is a VERY n00b question, but in order to avoid asking any further n00b questions, I'd like to come to this party better equipped.
TIA -
Darryl
You HAVE to be good at java before you can start programming for android. C/C++ too if you intend to develop something performance hungry.
I suggest that you look at an introduction to developing in Java on desktop and familiarize yourself with Java syntax. If you haven't programmed anything before then also familiarize yourself with programming techniques and object oriented programming in java.
To be honest, it takes 4 years on college to learn that. You may be able to learn it earlier, given that you put enough effort but don't expect programming anything useful anytime soon.
Thank you!! At least I have a starting point. Never too late to begin.
Gonna see if starting with Introduction to Java Programming, Comprehensive Edition is something that works for me.
Thanks again!!
sorry for double post
Ive managed to set up Eclipse 3.5 and the Android SDK.
Then I downloaded the components to develop for Android 1.5, 1.5, and 2.x(.x)
Also installed the USB driver(on an WinXP machine) and that's all there is to it, I think.
As for Java, I have an old book(or bible, judging by the size) on Java 1.5 from Deitel.
But right now, Im just looking at the official trails on sun.com:
http ://java.sun.com/docs/books/tutorial/index.html
I guess learning the syntax is one thing.
Learning programming concepts and OO are two other things.
Then there are algorithms and programming techniques.
Then there is familiarization with how the Android platform differs from regular Java applications/applets/etc.
I think that covers the basic steps towards Android programming in java.
If I missed anything, can someone fill me in please?
Thanks!
maybe someone knows of a open source repos. you can look at examples. Like planet-source-code dot com but with android examples.

I want to develop.

im looking to start developing android apps. should i start goggling how to develop android apps, or should i learn c++ first?
i have a 500 page PDF on c++ ( from the university that my brother goes to). the pdf is for beginner's learning to c++ it starts of with the common hello world code and advances.is this a good start?
ps: i hope this is the right section.
Damn! 500+ Pages and for Beginners. I couldn't write that much if I had a whole life time to do it. And maybe Android Q&A.
And yeah dude Google then Learn. Or maybe, Google and Learn. OR! Google what you should do first. SMART!
I would suggest you take a course on it then do some real world placement with seasoned programmers, you wont really develop all of the required skills using a beginners guide to programming.
Android is Java not C++.
I heard that a good Java introductory book is Head First Java. If you have some programming experience I would recommend Thinking in Java.
After you are confortable with Java, you could move to Android specific things. Good luck!
thanks for the replies. the 500 pages of C++ are pdf, and the font is kind of big. im ganna keep learning from that for a couple of weeks to get the very basics. then ill move on to java.
PS: another nub question, what dose Linux have to do with android? is it better to develop on Linux or windows 7?
Android is based on Linux. But you can develop in any platform you want. It is the same Linux, windows or OSX, whatever you have would work.
janfsd said:
Android is based on Linux. But you can develop in any platform you want. It is the same Linux, windows or OSX, whatever you have would work.
Click to expand...
Click to collapse
im a little confused .
andriod uses the syntax java,while andriod is based off linux which uses syntax c, c++, java and fortan. so dose andriod use the java part of linux only or what?
To be more specific, it is based on the Linux Kernel, which is written in C. All the apps are already Android specific, so written in Java. Google developed their own virtual machine (Dalvik) so the developers can use it. It is Java based (on the 1.5 version), but it doesn't support all Java classes. It is still possible to write in c++ with the NDK, but only if you need the extra performance or maybe write a game in OpenGL. So you would stick to Java.
If you need to communicate with kernel, or your application has to do something with great calculation (Such as encoding or decoding), you may need to through Java layer and native layer by JNI, than you need C/C++. Else you just need to write your application by Java.
okay that clears it up, thanks guys. now i just gotta give it time and dedication.

[Q] What programming skills are needed to develop app for windows phone 7?

What programming skills are needed to develop apps for windows phone 7?
I don't know anything about programming but I have a lot of free time.
I've read a few threads but I've just ended up with a headache. I know that an understanding of C# and the .NET platform are required and this book was suggested:
Pro C# 2010 and the .NET 4 Platform by Andrew Troelsen,
but it's not for beginners. What other programming knowledge/experience is required before getting into a book like this?
Lots of a detail would be appreciated and any recommendations of books would be welcome.
I would like some info on this as well. i am a student of computer programming and would like to learn to develop for Windows Phone as one of my specialties. Im merely a beginner so a full out start-from-scratch advise would be appreciated
Sent from my LG-P509 using xda premium
So... My research still has turned out to be inconclusive. Maybe learning C before C# and .NET would help? Any idea? Anyone?
I like Bob Tabor tutorials:
http://www.youtube.com/user/bobtabor#p/a/131EC19FD9223A11/0/fI6t-Psn370
or:
http://www.learnvisualstudio.net/co...one_7_Development_for_Absolute_Beginners.aspx
Maybe is too easy for you.

Best Programming Language to learn for beginners?

Alright before you all have a go on him, I know this isn't the right place to post neither this website but I am active in this site so don't want to create account on another site just to ask this question. I am student and n00b in terms of Programming. I am thinking of joining extra classes in summer vacation. Of course I want to become software engineer. I want to know which will be best language for me to start. C, C++ or dot net? Visual basic looks easy to use but not sure if it has much value in future. I am confused so thought I may get help from these experienced developers. I am in the last year of High School btw.
I am n00b so don't go hard on me If I said anything stupid
friend863 said:
Alright before you all have a go on him, I know this isn't the right place to post neither this website but I am active in this site so don't want to create account on another site just to ask this question. I am student and n00b in terms of Programming. I am thinking of joining extra classes in summer vacation. Of course I want to become software engineer. I want to know which will be best language for me to start. C, C++ or dot net? Visual basic looks easy to use but not sure if it has much value in future. I am confused so thought I may get help from these experienced developers. I am in the last year of High School btw.
I am n00b so don't go hard on me If I said anything stupid
Click to expand...
Click to collapse
Studying C/C++ will be kick start in programming. For future scope, studying Java is good, because Java has its own different fields like Standalone application, web application, and Android of course.
If you're opting for .NET, be sure you're learning the latest version, as .NET versions change from time to time.
And also there are several modern languages like Python, Ruby, Perl etc. Don't know much about its scope.
But everything just emerged from C or Java. So first making a base is what it matters.
EDIT: Don't study Visual Basic as a separate Course, if its included in .NET then its fine. As VB is somewhat a dead technology, most companies are not using it. Studying Silverlight with .NET would be a good choice though.
The best language for me and easy to learn is python programming even noob can create thier own project or apps. bcoz it is embedable in all apps u can understand even if u r n0t a programmer..
Actually any programming language is good to get to know programming in general and to exercise your brain to think/work this way.. oncve you advance a little bit, you will also have the knowledge to know which language to go specific on..
because of my studies, I started with assembler and C, C++, Java, C#.
it depends on what you want to do.
you want to program Android application, use Java, Windows Phone use C#...
i neglected programming on my studies.. i was too lazy. but now i want to be a developer somehow..
so Java for Android applications?
so how about Developing a Rom/Kernel?
Python will be easiest and once you know how to program in one language all others will be much easier to learn.
Sent from my HTC Vision using XDA
Thanks guys, looking forward to it.
The first programing language I used was C.
I've started with C++. But You should try .NET at the beggining. It's so simple. Almost drag&drop method. I used it to create a lot of code generators for my game and other projects.
You should also try AutoIt. Maybe quite harder, but still useable.
I would say, start either with Java or Python.
Why? No specific reason, but they are easy to learn and have a wide area where they can be used later.
I would start with ActionScript 3.0 and/or Java. The first one is the easiest and most fun to program in
If anyone is interested in applications for Android, you should try App Inventor.
http://www.appinventor.mit.edu/
You should try python, becase as others say, it's pretty easy, and if you want to be more motivated, try udacity.com. This is university that operate entirely online. You can view lectures, do quizes, there are also final exams. They start 101 Computer Science (where you learn basics) at 16 april. And guess what, they use python! Even on harder classes.
I wouldn't encourage starting with C or C++. Java and C# are a bit higher level languages and thererfore help you get started faster and let you consentrate on the things that matter most. I would prefer C# over Java as Java has gotten a bit messy in some places, has some gaps in it's standard library, and lacks in standard user interface tools.
Another option to C# would be JavaScript, CSS, and HTML, but the compiler in C# can help you by pointing out mistakes that JavaScript tools can not. Also, if you go this route, don't try to make your code run well on many browsers as that will only cause extra headiche while you are trying to learn the basics. Actually, if you want to use JavaScript over C#, Windows 8 WinRT programming could be a good place to look at. However, it's still in development and lacks in documentation and learning materials when compared to more mature technologies.
If u want work in buisness then go Java. But its very expensive to use because it needs large resources. If u want go for new language try Scala.
JAVA and C++ are the most widely used languages ​​in the world of work today.
But if you want to do web, starts with PHP. It's fairly simple to understand and you can quickly get to Object Oriented concepts, and use simple Design Patterns.

[Q] Which programming language to learn?

Hello,
I want to start learning to program for windows phone so i bought a book on C# and started to read. Now I am hearing about how wp8 will be using native code. Does that mean that wp8 will be using C++ or should i still be able to program using C#? I am not very knowledgeable in programming as I just started reading so im not too familiar with the lingo.
I'd stick to c# for the beginning as you can nerly do everything with it and it's way easier to get started.
No need to fight against native code. You can still do that when the time comes as c++ is similar to c#.

Categories

Resources