[Q] Good C/C++ learning resource? - General Questions and Answers

Anyone know of a good resource to learn C/C++? Or if you know C/C++, where did you learn it from? I'm inevitably going to be taking a course on it this comming year, but I'd like to get my feet wet beforehand.

rightonred said:
Anyone know of a good resource to learn C/C++? Or if you know C/C++, where did you learn it from? I'm inevitably going to be taking a course on it this comming year, but I'd like to get my feet wet beforehand.
Click to expand...
Click to collapse
from...everywhere.. even from Youtube's courses !
you need an IDE and start your first "hello world" application
the question is not "where" but "when "

search in google you have lot's of stuff
search in google you have lot's of stuff

Programmatic logic with this languages is a good start then... searching for the basic I found this http://en.wikiversity.org/wiki/Introduction_to_Programming_Logic#Introduction, just take a look and see if help, is the basics with some samples. The logic is the same in all languages, the only thing different is the syntax and the meaning of some commands.
And you can search for what is need to create programs with C/C++ (TIP: http://www.bloodshed.net/devcpp.html)
Not only for C and C++, after you learn programmatic logic, you can search for the documentation of both languages to apply this knowledge, and with the documentation you can search for the basics and a lot of exercices, where you can find easily at Internet. The best source in my opinion is a good book and the documentation, foruns and communities after... then challenge yourself with your criativity. The best place to find exercises of any kind is at Internet, but always try to find, when possible, at least a piece of some book pages about.
And ruscan.calin sayed something important: "the question is not 'where' but 'when'"

I like this thread very much !
rightonred said:
Anyone know of a good resource to learn C/C++? Or if you know C/C++, where did you learn it from? I'm inevitably going to be taking a course on it this comming year, but I'd like to get my feet wet beforehand.
Click to expand...
Click to collapse
Hey !
I do not want to discourage you from the beginning
also you asked a very good question and good decision to learn C language
the most powerful in my opinion even Android kernel is made by C language !
good decision and good luck to you !

Well thanks. like I said I'm going to be taking several programming courses, so i'm definitely going do be a developer of some sorts in the future.

learn java is better...u can make android app...

budak_getah said:
learn java is better...u can make android app...
Click to expand...
Click to collapse
My goal is to learn both eventually. C++ has low level applications, and Java has high level applications.

I recommend you to buy the E.Balaguruswamy Book which is best one your learning course.

Maybe Java has high level applications, than C/C++ , I consider that better will be first of all learning C/C++. By English I saw good tutorials on cpp4u[dot]com.
BTW. You can try programming using C4Droid on your phone :laugh:

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A

Related

How did you learn to code?

Yes I am asking you!
Your personal experience on how you learned coding!
Feel free to vent, my eyes are wide open
my reason? Why I have a book on coding (for Andriod) and the coding package (Eclipse, Andriod SDK, and SO ON)
but is this enough?
How did you start? What was your motivation?
is it fun!?
Please if anyone replies to it, i'd be very happy
Many moons ago, there was a magazine called BBC Micro User, and in it there were pages and pages of code for games written in BASIC.
Normally the code was wrong in places, which meant you had to debug and therefore learn how it worked rather than just copying it verbatum.
This is of course related to our phones as the BBC B was an ancestor to them (now there's a thought!)
Problems? No problems! You need a small program to make your life easier? Go and read in all forums! Ask questions! Start programing by leaning by doing.
Mizulunaris said:
Yes I am asking you!
Your personal experience on how you learned coding!
Feel free to vent, my eyes are wide open
my reason? Why I have a book on coding (for Andriod) and the coding package (Eclipse, Andriod SDK, and SO ON)
but is this enough?
How did you start? What was your motivation?
is it fun!?
Please if anyone replies to it, i'd be very happy
Click to expand...
Click to collapse
Why did you buy a book to find out about technology?!? That book will be outdated tomorrow...I suggest looking up info on the internet and there's this cool thing that's called google that lets you ask any question you want...check it out.
Hope this helped Mizu Luna!
Thank you all for relpying !
think the book is already out dated XD
It was made when android 2.2 just came out....I figured any info toget me startd would be nice.....
I still haven't gotten into the gist of the forum though.....I still don't know many of the terms and aren't familiar to a lot of things talked about...or where things are placed.....and no formal training to help me.....
I guess I'll read on a bit until I can properly place my feet
I couldn't even tell you how I started, I was like 8 years old and just playing around for the hell of it. Been switching around and trying languages ever since. As for motivation, the only reason I ever write a program is because I need something done... I'll feel like I wish my PC/phone/website did something differently - so I make it do that
Really, the best thing to do is just dive right into it. If you want to start with Android, find a good tutorial that at least has you get an IDE and build environment set up... Then from there just start experimenting with some example code, or apps others have written as you go through more tutorials.
If you want to properly learn how to code though, most would suggest starting with something on a PC rather than diving right into Android dev. Starting with an easy-to-use scripting language or interpreter (like Python) is a good way to start playing around - and then you can move on to other languages such as Java with a solid understanding of how programming languages work.
It's all personal preference though, just find a solid tutorial and stick with it. Try to experiment as you go along, try things with the code, and actually understand what it's telling you.
I started with webpage design and slowly moved into other venues. I became interested in making apps for ideas that I had and started to search google on how to code specific tasks that I wanted in my apps and then mixing it all together and making small changes in the code and watching to see what it did.

[Q] Learning coding

I'm looking to learn how to code, mainly because its something that has always interested me but I have never done. I have no experience in it at all. I'm looking for a book that can set me up with the very basics in java (or is it better to start off with a different language?) and hopefully I can move on from there.
If anyone knows of any good books that could help me I would greatly appreciate a link to it.
Thankyou.
http://goo.gl/xB9rK
Why does no one use the search before opening another thread?
Ohnoez
http://www.google.com/cse?q=learn+c...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
Wut?
http://www.google.com/cse?q=learn+d...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
I seriously could not find an answer to your question by using the search function.
http://www.google.com/cse?q=learn+p...ub-2900107662879704:fs7umqefhnf&ie=ISO-8859-1
So even on sophisticated websites like this there are still childish idiots like yourself on them. Yes you're probably right in that I should have searched before creating a new thread, however obviously I didn't think of that.
Maybe next time you should try and show maybe at least an inch of maturity when posting. Oh and for someone who would like me to donate to them and buy/download their apps you're not going the right way about it.
I dont know if that because you joined before me or have more posts than I do, this makes you think you have some superiority over me or new members, but it doesn't and remember with every new member is potentially another donation to you for your work. So if you want to carry on alienating these member towards you then carry on but if you don't then you might want to re-think your mentality towards them, because personally I wont be donating or ever downloading any of you apps.
With that said, thankyou for the links.
SxcKieranGrr said:
So even on sophisticated websites like this there are still childish idiots like yourself on them. Yes you're probably right in that I should have searched before creating a new thread, however obviously I didn't think of that.
Click to expand...
Click to collapse
What you are seeing is my lack of understanding for people creating new threads with topics that have been covered a hundredtimes over.
I'm merely calling you out for your obvious mistake of not using the search.
You made the mistake, deal with it.
childish idiots like yourself
Click to expand...
Click to collapse
Thanks. May i call you lazy idiot?
SxcKieranGrr said:
Maybe next time you should try and show maybe at least an inch of maturity when posting. Oh and for someone who would like me to donate to them and buy/download their apps you're not going the right way about it.
Click to expand...
Click to collapse
I don't want anything from you.
You want something from this forum, more exactly from its members.
You want an answer.
You did not pay anything for the knowledge available for free here, neither the time a member puts up to help you out.
What you could do is show some courtesy by using the search function to not waste the time of people who are willing to help out.
I dont know if that because you joined before me or have more posts than I do, this makes you think you have some superiority over me or new members, but it doesn't and remember with every new member is potentially another donation to you for your work. So if you want to carry on alienating these member towards you then carry on but if you don't then you might want to re-think your mentality towards them, because personally I wont be donating or ever downloading any of you apps.
With that said, thankyou for the links.
Click to expand...
Click to collapse
Both my join date and post count are indirectly related to this.
It just means that i have seen too many threads like this, which could have been avoid by a few seconds of search.
What is more astonishing is that i still browse the question and answer forums to help people out.
Yeah maybe some people won't get the answer they wanted to hear, but hey you got your answer.
Im confused now, from looking around it looks like python is the most basic of languages but if i was to start with a dummy book for that, would it actually help me achieve learning java? I dont want to get the wrong book and be completely lost because I havent learnt the complete basics.
It seems like everyone says different things and I cant get a clear answer of where to start.
@Dark3n I'm not going to sit here and argue, you have your view I have mine let's leave it at that. If you would like to help me (which somehow i doubt) that would be great, thanks.
SxcKieranGrr said:
Im confused now, from looking around it looks like python is the most basic of languages but if i was to start with a dummy book for that, would it actually help me achieve learning java? I dont want to get the wrong book and be completely lost because I havent learnt the complete basics.
Click to expand...
Click to collapse
The most basic language would be machinecode (ASSEMBLER).
But beleive me that it is really painfull to write and learn.
Python is a nice language to write in, no doubt.
But you should think about what you want to do with your programming skills?
Something Android related?
Then you should look at C for linux kernels and the lower levels of android.
or
Java for Apps and the higher levels of the android os.
If you want to learn java there is no advantage in learning python first, besides that you can program in python and java.
I would like eventually to create an app for android, which is obviously done in java but if i got even the most basic of java books would i still be lost?
Edit: I just remembered there was a thread similar to this one where i already had a lengthy discussion about this topic.
http://forum.xda-developers.com/showthread.php?t=1179816
SxcKieranGrr said:
I would like eventually to create an app for android, which is obviously done in java but if i got even the most basic of java books would i still be lost?
Click to expand...
Click to collapse
Not totally lost, you will learn about variables, if statements, loops, classes etc. those things are all still valid when writing apps. Those somewhat remain valid through most of the programming languages.
But basic java does not cover connecting your java code with the android user interface or making use of any android feature (rotate display, sensors, telefon,gps,etc.).
But seriously you don't need a book. Of course you can get one if you really want to. I would probably search the amazon bestseller list for something on android programming (for dummies) which does not require previous programming knowledge.
You can also just jump into it, google for "android hello world tutorial" or something like that.
But the official hello world tutorial should do.
Should make you able to write your very first app pretty quick. It's only a "Hello World" app, but hey thats where everyone starts out.
Aside from the programming itself, knowledge of Linux and *nix orientated operating systems would be useful. Terminal commands and such will prove invaluable if you take application development to a professional level in the future.
C and Java are obviously what's mainly involved in Android. But if you want something simple to begin with look at HTML and CSS (which are basically just translation matrixs not languages).
DeviateDefiant said:
Aside from the programming itself, knowledge of Linux and *nix orientated operating systems would be useful. Terminal commands and such will prove invaluable if you take application development to a professional level in the future.
C and Java are obviously what's mainly involved in Android. But if you want something simple to begin with look at HTML and CSS (which are basically just translation matrixs not languages).
Click to expand...
Click to collapse
HTML and CSS knowledge would help a bit with the android user interface, but not with the actual code of the apps/programs themself.
I would advise the OP not to start with HTML and CSS if he wants to get into the programming buissness.
Unless you are going to make webpages HTML and CSS takes you pretty far of the track.
HTML and CSS knowledge would help a bit with the android user interface, but not with the actual code of the apps/programs themself.
I would advise the OP not to start with HTML and CSS if he wants to get into the programming buissness.
Unless you are going to make webpages HTML and CSS takes you pretty far of the track.
Click to expand...
Click to collapse
HTML and CSS, are two useful skills to have regardless. As you mention for interfacing, and also for the ability to work with Web Apps in the future. For myself learning Javascript and PHP has certainly helped with getting into Java/C.
Certainly HTML/CSS aren't related to learning Java and C but it's a good entrance point to coding in general. Although you yourself may see it as sidetracking, it can help some not to jump in at the deep end.
I wish the OP the best of luck.
Hey dar3n, I had posted a similar thread as well, minus all the attitude, but I agree it does get posted alot, after talking to u and searching around a bit. Why dont u get someone to make a sticky post in one of the newbie rooms, or the q&a. Start a sticky discussion and I bet half these posts dissapear.lol

Starting to develop

Hello, xdaDevelopers (Is it like that? Or XDADevelopers, or XdaDevelopers, well, doesn't matter, you can leave your opinion about that here, too.)!
I can see this is kinda a common thing around here, but, I really need the basics for programming, with a final goal of being able to make code for Android (from APKs to ROMs and such).
I just need people to point out good sources of learning, with a learning curve, please, that would be a great bonus in understanding what the heck I'm learning, from the basic of basic, to the goal here intended.
Maybe this is a bit too ambitious, but I pretend to be a professional programmer in the future, but I still have a kinda long way to college (3 years), and I wish I could start sooner that, it could even make my college life even simpler.
Well, I hope you leave your enlightenment in this thread. Thank you very much for any opinion given here.
*bump* Sorry. It was already in the second page. I just didn't want it to fall into oblivion.
Well your going to have to stsrt learnibg java if you want to make apps. Read some books. Also take a look at thenewboston channel on youtube.
Im learning myself. You just need to start and don't give up
Sent from my Galaxy SII
I'm also posting (lazy way of subscribing to this post). I knew java, although it was long ago. I'd need a refresh on everything. And then, knowing java is not the only thing you need, as you also need to know how to develop for android itself. Up to date, which book would you guys consider the most easy to follow to learn easily to program?
Thank you!
Yes. I'm asking for links or books (preferably e-books) that could have all that information. I just hope I can become a great XDA developer.
Griffrez said:
I just need people to point out good sources of learning
Click to expand...
Click to collapse
+1 to this. i would also like to get into learning how to develop for android.
google has a lot of info on their developers page, it's probably one of the better places to start.
i don't know many other good websites or books though. anyone have suggestions?
If you want to develop Application on Android. You will need...
1.JDK (Java Development Kit), which includes the JRE. ( I use Java SE 7 )
2.Eclipse with the Android Development ( I use Eclipse Classic 3.7.1 )
3.Android Development tools ADT Plugin for Eclipse
( I use android-sdk_r13-windows.zip )
more detail http://androidcontrol.blogspot.com/2011/10/android-development.html
java for the user interface "pretty" part of the apps, but the real heavy-lifting guts of the app (where the real magic happens) will normally be written in c
Tech_Boy said:
Well your going to have to stsrt learnibg java if you want to make apps. Read some books. Also take a look at thenewboston channel on youtube.
Im learning myself. You just need to start and don't give up
Sent from my Galaxy SII
Click to expand...
Click to collapse
I'm watching these. These are great. Starting with Java Development.

Learn Java

Does anyone know of a good online source or book to learn java from? I'm about to install Linux on my laptop and would really like to know where I can learn Java and what IDE would be preferable.
Also, any links to Android development tutorials (basic stuff at first) would be much appreciated.
http://developer.android.com/resources/tutorials/hello-world.html
Just google "android hello world"...
Thanks man, I've seen plenty of third rate tutorials yet sadly didn't think to look at android's dev site.
Mmm personally get a dummy or concise to the point book. A book that doesn't dwell on every syntax and functionality available. Books that do tend to intimidate the beginner at first. (ME!) XD
Then when you get experience with the language, you can get one of those more proficient books. And start reading or finding the things you need.

Android Development Traiing

Hi Guys,
I have been visiting this site for quite a while, mainly the development forum, but have not really contributed that much due to my lack of knowledge in Android Development.
I want to change this and am interested in taking a course to learn how to develop in the Android OS.
Is anybody aware of any courses I could take that are based solely online (ie, no classroom work needed)? Bearing in mind that I have no real programming knowledge to start with so will need an "A-Z" course. I am based in the UK so UK sites would be preferential.
I have done a Google search but to be honest there are so many different companies out there I was wondering if anyone had any first hand experiences?
Cheers
You can teach yourself, find some textbooks (I won't tell you where) online and start reading, download eclipse and netbeans, do some reading about object-oriented programming and being learning the basics of java, start trying to develop applications in eclipse (you will need to download all of the appropriate SDK's, Java, Android, etc), there are plenty of starter posts called "How to program Android" etc. located on the various android forums on the net- I would suggest just jumping in and reading as much as you can. I did, I'm not a full-fledged developer, but I am now capable of programming applications and understanding source code. I need to get acquainted with GitHub now so I can actually begin working on open-source projects, and I have a ton of learning to do myself, but that will take you a long way from being a noob.
luna_c666 said:
You can teach yourself, find some textbooks (I won't tell you where) online and start reading, download eclipse and netbeans, do some reading about object-oriented programming and being learning the basics of java, start trying to develop applications in eclipse (you will need to download all of the appropriate SDK's, Java, Android, etc), there are plenty of starter posts called "How to program Android" etc. located on the various android forums on the net- I would suggest just jumping in and reading as much as you can. I did, I'm not a full-fledged developer, but I am now capable of programming applications and understanding source code. I need to get acquainted with GitHub now so I can actually begin working on open-source projects, and I have a ton of learning to do myself, but that will take you a long way from being a noob.
Click to expand...
Click to collapse
Thanks for the advice. The problem with me taking it on myself is that...well...I wont do it! I have 9 or 10 Learn Linux books on my shelf and have read maybe three pages out of them.
This is why I was wondering if there was any online courses I could take, which would guide me through step by step from start to finish. I appreciate it may be more expensive this way but I feel it is the best way for me to learn
The toolset for creating Android apps while easy for a programmer to pick up, is probably not the best for first steps in programming IMHO but it can be done.
FWIW On the side of "Java" and "Android" sides, I would suggest picking up a copy of "Java in a nutshell". learning the concept of Model/View/Controller (MVC), and inhaling Google's website on Android development. Each will be useful at some point in your growth.
Sent from my Transformer Prime TF201 using Tapatalk
Spidey01 said:
The toolset for creating Android apps while easy for a programmer to pick up, is probably not the best for first steps in programming IMHO but it can be done.
Click to expand...
Click to collapse
Okay, so what do you think the best start to programming is? I really feel it is something I would love to learn. I realize it will be a big challenge...but I think I am up for it
Go for it!!!
I would recommend getting to know a bit of Java first. The Java Tutorials found on the Oracle website are an excellent place to start. I've been learning to program for Android for the past month or so, it's hard going, but very rewarding.
bendonahue said:
Okay, so what do you think the best start to programming is? I really feel it is something I would love to learn. I realize it will be a big challenge...but I think I am up for it
Click to expand...
Click to collapse
Eh, for years I have debated between Assembly and shell script depending on the goal. Programming languages are only a slice if the craft.
Sent from my Transformer Prime TF201 using Tapatalk

Categories

Resources