which programming language should i learn?

Asked by koosha hosseiny

i want to learn programing "C" in linux.
but i don't know which compiler i should download and i must learn C++ or C# or Visual C or Visual C# or C#.Net

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Solved by:
Raúl González Duque
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Jesus Gamio (jgamio) said :
#1

Thank you for you question.

To be able to help you I need some information:

Do you want programing for fun or professional ?
Do you want learn How does the system work or just do some applications in the desktop ?

May this link can help you http://ubuntuforums.org/showthread.php?t=8682

Revision history for this message
koosha hosseiny (loolooyyyy) said :
#2

for professional
i want to know how system works(i downloaded the lastest kernel of linux but i don't know how it works?)
and i want to learn how to make a linux myself
when i was using windows,i was learning C++ in MicrosoftVisualC++.Net. but now in ubuntu i want to know where i have to begin
i want to know these:
what is system language? c or c++ or c#
which compiler is best and has Microsoft.Net tools(for instance interface designer of c#)
thanks

Revision history for this message
Hanusz leszek (leszek-skynet) said :
#3

Hello,

The linux kernel is programmed in C
Most of the linux programs are programmed in C++
A lot of the Gnome programs are programmed in python
Some of them are programmed in C# (working with mono: http://en.wikipedia.org/wiki/Mono_%28software%29 )

The language you choose depends on a lot of parameters.

If you want a fast and/or very complicated program, you program in C++
if you want a little/medium program which is developed fast, then you program in python.
If you want a program which is easily portable, then you program in java or c#

Revision history for this message
Hanusz leszek (leszek-skynet) said :
#4

Also if you want to compile C or C++ programs then you need to install the "build-essential" package
it contains gcc (the C compiler) and g++ (the C++ compiler)

If I were you, I would begin with python (a simple and easy programming language) then C++
python tutorial:
http://docs.python.org/tut/tut.html
http://www.moeraki.com/pygtktutorial/pygtk2tutorial/index.html

Revision history for this message
koosha hosseiny (loolooyyyy) said :
#5

Thanks Hanusz leszek, that solved my question.

Revision history for this message
koosha hosseiny (loolooyyyy) said :
#6

i started C++ before and i need to pragram the AVR micro controller too
i think the C++ and C# are the best choices
but something else:
why the system language is C and is not C++

Revision history for this message
Best Raúl González Duque (zootropo) said :
#7

C++ basically is like C with object oriented extensions and a few more things.

But Alan Kay is known to have said something like:
"I invented the term Object Oriented, and I can tell you I did not have C++ in mind"

If you want to do low level stuff you'll have to use C or C++. Otherwise stay away from those two and choose something more friendly like Java, Python or C#.

Revision history for this message
koosha hosseiny (loolooyyyy) said :
#8

Thanks Raúl González Duque, that solved my question.

Revision history for this message
Mircea Deaconu (mirceade) said :
#9

TRY THIS! http://en.wikipedia.org/wiki/D_programming_language and Code Blocks IDE. I believe D will be the future.

Revision history for this message
Bhavani Shankar (bhavi) said :
#10

yeah you are right... Seems like a great programming language....