d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > I Have Decided
12Next
Add Reply New Topic New Poll
Member
Posts: 9,925
Joined: Apr 11 2011
Gold: 7,900.00
Jan 15 2013 07:33am
My previous topic: Need To Learn About Programming
Quote (GameBox @ 11 Jan 2013 09:58)
I have absolutely no knowledge about any programming, and I just received a task where I have to learn the basics about programming.

I immediately thought about C/C++ because I have heard about it before, so which would be the best to start with? C or C++



I want to learn C programming first, then move towards C++ and C#.

The problem is that i have no idea where to start. Can anyone help me?

This post was edited by GameBox on Jan 15 2013 07:33am
Member
Posts: 7,002
Joined: Feb 15 2010
Gold: Locked
Trader: Scammer
Warn: 30%
Jan 15 2013 07:48am
the 3 langage have nothing in common. I mean it's useless to go C -> C++ -> C# , they all can be learned without knowing the others. But good luck in your learning.
Member
Posts: 9,925
Joined: Apr 11 2011
Gold: 7,900.00
Jan 15 2013 07:51am
Quote (Tokiko @ 15 Jan 2013 14:48)
the 3 langage have nothing in common. I mean it's useless to go C -> C++ -> C# , they all can be learned without knowing the others. But good luck in your learning.


Well, the C++ and C# is based around the C language, right? C++ and C# is just an expansion to the C language, or am I mistaking?

Could it be compared to math?

Basic math: (C language)

5+5+5=15

Expanded math: (C++ language)

5*3=15

?

And that C, C++ and C# language does not have anything in common is wrong.
The C++ and C# language is based around the C language.

Quote
C - an older programming language that is described as Hands-on.
C++ - an extention language per se of C.
C# - Full object orriented code resembling the style of C/C++ code.

http://answers.yahoo.com/question/index?qid=20080521100946AA0iZ1B



This post was edited by GameBox on Jan 15 2013 08:04am
Member
Posts: 95
Joined: Nov 26 2012
Gold: 284.00
Jan 15 2013 11:58am
Quote (GameBox @ Jan 15 2013 05:51am)
Well, the C++ and C# is based around the C language, right? C++ and C# is just an expansion to the C language, or am I mistaking?

Could it be compared to math?

Basic math: (C language)

5+5+5=15

Expanded math: (C++ language)

5*3=15

?

And that C, C++  and C# language does not have anything in common is wrong.
The C++ and C# language is based around the C language.


http://answers.yahoo.com/question/index?qid=20080521100946AA0iZ1B


not even close.

anyways all the three C's you listed are independent of each other(also having almost nothing in common) and only thing they share is the C syntax (the "rules" of formatting the code.) other then that you will notice that they are all different from eachother programming wise. for example C# uses the .net framework and in doing so it will not use any of the same functions or classes that say C or C++ will use. same also goes for C++. it uses the C syntax but comes with its own goodies and functions.

the only thing learning C before C++ would do is give you an idea of the syntax really. programming for the two languages are completely different from each other.

now that it was said here is what i would do.

learn C#.net if you wish to create rapid GUI's with drag and drop style editors and double click generated methods (windows only unless you get linux/mac emulators like mono which you have to pay for)

learn C if you just wish to program more easily for multiple platforms (windows linux mac) you cannot build fancy GUI's easily without using a 3rd party library.

learn C++ for same reason as C except this would be more object oriented programming.

personally i would just learn C and start at cprogramming.com or w/e the site is.

This post was edited by Alithea on Jan 15 2013 12:04pm
Member
Posts: 9,925
Joined: Apr 11 2011
Gold: 7,900.00
Jan 15 2013 12:48pm
Quote (Alithea @ 15 Jan 2013 18:58)
not even close.

anyways all the three C's you listed are independent of each other(also having almost nothing in common) and only thing they share is the C syntax (the "rules" of formatting the code.) other then that you will notice that they are all different from eachother programming wise. for example C# uses the .net framework and in doing so it will not use any of the same functions or classes that say C or C++ will use. same also goes for C++. it uses the C syntax but comes with its own goodies and functions.

the only thing learning C before C++ would do is give you an idea of the syntax really. programming for the two languages are completely different from each other.

now that it was said here is what i would do.

learn C#.net if you wish to create rapid GUI's with drag and drop style editors and double click generated methods (windows only unless you get linux/mac emulators like mono which you have to pay for)

learn C if you just wish to program more easily for multiple platforms (windows linux mac) you cannot build fancy GUI's easily without using a 3rd party library.

learn C++ for same reason as C except this would be more object oriented programming.

personally i would just learn C and start at cprogramming.com or w/e the site is.


okay, thanks.

I will check out cprogramming.com tomorrow
Member
Posts: 4,605
Joined: Sep 15 2011
Gold: 9,464.00
Jan 15 2013 02:35pm
Quote (GameBox @ Jan 15 2013 06:33am)
I want to learn C programming first


This question deserves to be asked again: why?

More to the point - if you want to learn to program, then learn to program and not learn a language.

Ways to learn to program:
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/index.htm
https://www.coursera.org/course/programming1
https://www.khanacademy.org/cs/tutorials/programming-basics
http://learnpythonthehardway.org/

These links should be fucking stickied on this forum for every person who asks "How/where do I start?"

This post was edited by irimi on Jan 15 2013 02:39pm
Member
Posts: 9,925
Joined: Apr 11 2011
Gold: 7,900.00
Jan 15 2013 02:40pm
Quote (irimi @ 15 Jan 2013 21:35)
This question deserves to be asked again: why?

More to the point - if you want to learn to program, then learn to program and not learn a language.

Ways to learn to program:
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/index.htm
https://www.coursera.org/course/programming1
https://www.khanacademy.org/cs/tutorials/programming-basics[/URL]

These links should be fucking stickied on this forum for every person who asks "How/where do I start?"


well i guess i have to learn the "language" before i can learn how to use it.
Member
Posts: 4,605
Joined: Sep 15 2011
Gold: 9,464.00
Jan 15 2013 02:52pm
Quote (GameBox @ Jan 15 2013 01:40pm)
well i guess i have to learn the "language" before i can learn how to use it.


no. the language is irrelevant.

This post was edited by irimi on Jan 15 2013 02:53pm
Member
Posts: 9,925
Joined: Apr 11 2011
Gold: 7,900.00
Jan 15 2013 02:57pm
Quote (irimi @ 15 Jan 2013 21:52)
no. the language is irrelevant.


well i don't know anything about this anyways..
Member
Posts: 2,478
Joined: Jan 4 2007
Gold: 7,545.00
Jan 16 2013 01:18pm
Quote (irimi @ Jan 15 2013 02:35pm)
This question deserves to be asked again: why?

More to the point - if you want to learn to program, then learn to program and not learn a language.

Ways to learn to program:
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/index.htm
https://www.coursera.org/course/programming1
https://www.khanacademy.org/cs/tutorials/programming-basics
http://learnpythonthehardway.org/

These links should be fucking stickied on this forum for every person who asks "How/where do I start?"


Definitely this.
Learning to program is a much better way than to learn a "language"
My first "language" I learned from was completely made up by my professor to prove a point that what you really need to learn is problem solving skills.
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll