Which to learn first?

Which to learn first?

Post by kineto on Sun Oct 03, 2010 9:10 am
([msg=46949]see Which to learn first?[/msg])

I'd like to learn C and C++ sometime, I am starting on C++ right now. I heard that if you learn C then C++ that you will have to get rid of bad habits because C++ is OOP and C is Structured. I can program applications on my Mac because you can compile C++ code in XCode. But, what I also want to do is get an Arduino sometime, I know you have to program them with C so would I be safe learning some C++ then learning some C? Thanks.

~Kineto
kineto
New User
New User
 
Posts: 3
Joined: Sun Oct 03, 2010 9:06 am
Blog: View Blog (0)


Re: Which to learn first?

Post by insomaniacal on Sun Oct 03, 2010 10:41 am
([msg=46951]see Re: Which to learn first?[/msg])

C was the first language I ever picked up, but I've yet to really look at C++.

It probably doesn't matter that much which you decide to go after first, if it's your first language, I'd recommend C, because it's a tad lower level and gives you a good idea of how programming logic works. You'll be fairly safe either way, take a look at what you plan to accomplish, and which language seems more to your liking, and learn it.

Good luck!
It's not who votes that counts, it's who counts the votes
insomaniacal.blog.com
User avatar
insomaniacal
Addict
Addict
 
Posts: 1210
Joined: Sun May 24, 2009 10:21 am
Blog: View Blog (0)


Re: Which to learn first?

Post by Arameus on Sun Dec 05, 2010 3:08 am
([msg=50022]see Re: Which to learn first?[/msg])

The ancient arts were entrenched in secret and mystery.

Mystery revealed, a light breaks through an old, thick window, and half the room is revealed.

In shadow, the darkness conspired of itself to engulf the light.

The light, however, constant from the burning sun, only covered to us by cloud and earthly structure, content in it's eternity, neither conspires nor lazes, it is engulfed instead by peace.

The standards are a forming mountain, tectonic forces driving together new shapes, like iron forged to steel, what once was empty becomes grand. But the art, the horizon rolling, like a tear drop, remains forever peaceful. Content in it's simplicity it knows only truth. The art of C programming in it's ancient splendor knows only peace. Thus, what discontent is imported into its serenity is not a reflection of C. But, looking into the oceans of time, you see only yourself in all your imperfection at last. The truth, too, is imperfect.

Do not stray into the dark arts.

Be like the mountain.
Be like C.
Arameus
New User
New User
 
Posts: 36
Joined: Mon Feb 01, 2010 6:53 pm
Location: Ballston Spa, NY
Blog: View Blog (0)


Re: Which to learn first?

Post by msbachman on Sun Dec 05, 2010 3:28 am
([msg=50024]see Re: Which to learn first?[/msg])

Thanks for the advice, Gandalf.

Haha, retro-correct.
Last edited by msbachman on Wed Dec 08, 2010 6:21 pm, edited 1 time in total.
"I'm going to get into your sister. I'm going to get my hands on your daughter."
~Gatito
User avatar
msbachman
Contributor
Contributor
 
Posts: 681
Joined: Mon Jan 12, 2009 10:22 pm
Location: In the sky lol
Blog: View Blog (0)


Re: Which to learn first?

Post by tgoe on Tue Dec 07, 2010 9:39 pm
([msg=50281]see Re: Which to learn first?[/msg])

Learn C first. Most of what you'll be doing as a beginning C++ guy is Object-Based anyway. C handles this fine. Moving to OOP... you own Mac/Xcode already so why not go the Objective-C route? Objective-C is a much more clean OOP overlay to C, IMHO. And Obj-C can only get more popular...
User avatar
tgoe
Contributor
Contributor
 
Posts: 633
Joined: Sun Sep 28, 2008 2:33 pm
Location: q3dm7
Blog: View Blog (0)


Re: Which to learn first?

Post by Monica on Wed Dec 08, 2010 1:40 pm
([msg=50291]see Re: Which to learn first?[/msg])

Arameus wrote:The ancient arts were entrenched in secret and mystery.

Mystery revealed, a light breaks through an old, thick window, and half the room is revealed.

In shadow, the darkness conspired of itself to engulf the light.

The light, however, constant from the burning sun, only covered to us by cloud and earthly structure, content in it's eternity, neither conspires nor lazes, it is engulfed instead by peace.

The standards are a forming mountain, tectonic forces driving together new shapes, like iron forged to steel, what once was empty becomes grand. But the art, the horizon rolling, like a tear drop, remains forever peaceful. Content in it's simplicity it knows only truth. The art of C programming in it's ancient splendor knows only peace. Thus, what discontent is imported into its serenity is not a reflection of C. But, looking into the oceans of time, you see only yourself in all your imperfection at last. The truth, too, is imperfect.

Do not stray into the dark arts.

Be like the mountain.
Be like C.


Gandolf's advice above will no longer make you upset.
hi am new so plz dont troll me or i report 2 the HTS mods ty
User avatar
Monica
Contributor
Contributor
 
Posts: 877
Joined: Thu Oct 02, 2008 12:29 am
Location: In The Shadows
Blog: View Blog (0)


Re: Which to learn first?

Post by Goatboy on Wed Dec 08, 2010 1:44 pm
([msg=50294]see Re: Which to learn first?[/msg])

It's Gandalf*

...

...

Get it right.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2782
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Which to learn first?

Post by kujinR on Fri Dec 10, 2010 2:40 am
([msg=50364]see Re: Which to learn first?[/msg])

msbachman wrote:Thanks for the advice, Gandalf.

Haha, retro-correct.
Monica wrote:Gandolf's advice above will no longer make you upset.
Goatboy wrote:It's Gandalf*

...

...

Get it right.

I lol'd. No idea why this was so funny to me. Meh.
"Better to keep your mouth shut and be thought a fool than to open it and remove all doubt."
"red = changed"
User avatar
kujinR
Poster
Poster
 
Posts: 270
Joined: Thu Jul 29, 2010 4:39 am
Blog: View Blog (0)


Re: Which to learn first?

Post by dethdude335 on Mon Dec 13, 2010 9:01 pm
([msg=50429]see Re: Which to learn first?[/msg])

What the point of learning C and C++? You can do the samethings can't you? If not what can one do the other cant?

Edit:
Yes I know they are to seperate languages but I'v heard they are similar. True?
dethdude335
New User
New User
 
Posts: 37
Joined: Thu May 27, 2010 7:29 pm
Blog: View Blog (0)


Re: Which to learn first?

Post by neuromanta on Tue Dec 14, 2010 1:24 am
([msg=50432]see Re: Which to learn first?[/msg])

True. C++ is the object oriented extension of C.
User avatar
neuromanta
Poster
Poster
 
Posts: 302
Joined: Mon Nov 30, 2009 9:29 am
Location: Hungary
Blog: View Blog (0)


Next

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests