Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

C Programming Language

Status
Not open for further replies.

kseng2002

Member level 2
Joined
Aug 27, 2004
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
466
embedded programming 8052

Hi, can any1 explain wat's the different btw C, C++ programming language ?

Wat's the bible for those above programming language which suitable for beginner to learn ? Thx in advance.
 

the_risk_master

Advanced Member level 2
Joined
Aug 12, 2005
Messages
662
Helped
79
Reputation
158
Reaction score
19
Trophy points
1,298
Location
UE+MIT, Philippines, (14°N , 120°E )
Activity points
5,527
I'm not a C wiz, but I think C++ has advantage in OOP

the best bible? Of course, the book that has the athor called Kernighan and Dennis Ritchie (these poeple are the developers of C and C++)
 

eelinker

Full Member level 5
Joined
Feb 12, 2006
Messages
269
Helped
16
Reputation
32
Reaction score
8
Trophy points
1,298
Location
PERSIA
Activity points
2,786
Hi ,

The C++ language supports all syntax of C Language plus some new features.
The most important feature of C++ is it's ability to implement OOP codes.

OOP concepts include class definition, and calss manipulations that itself needs a 3 units university course to be learned.

However there is no difference between C and C++ at the starting time. However I suggest to start with C++. And if you are interested to work in visual space I prefer to have a look at C# language. Thats the best for Visual programming in VS.NET similar environments.
 

_TopGun_

Member level 4
Joined
Aug 20, 2005
Messages
75
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,288
Location
Zelenograd, Russian Federation
Activity points
1,696
I disagree with eelinker.
I think you better to start from C and then learn C++. The reason is that C gives us basics of language. Also in some fields of EDA design (for example - microprocessors programming) you will need knowledge of C language, not C++.

I also recommend you to learn C/C++ language before C#, if you want to learn C#.
IMHO C# is very simple and easy learning language, but it does not learn you how does it all really works :)

Well, it's only my own opinion. :)
Make your choise!
 

mobile-it

Advanced Member level 1
Joined
Apr 24, 2004
Messages
467
Helped
22
Reputation
44
Reaction score
8
Trophy points
1,298
Activity points
3,352
You better start learning C, not with C++ or C#.

In electronics C is the basic high-level programming language

IF you want to program only PC's you may choose to start with C#.

I started learning programming for micro's,... in C and programming on PC's I started with Visual Basic
 

iana_nk

Newbie level 4
Joined
Feb 8, 2007
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Malaysia
Activity points
1,321
yup, in my point of view, it is proper for you to start with C 1st, then migrate to C++ and C#. don't worry.. once you can understand the concept very well, c++ is not a big problem to you.

~ it s works very well on me :D
 

TwinT

Junior Member level 3
Joined
Dec 5, 2004
Messages
30
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
228
The famous Deitel books can be useful too, to get started
 

money_kandan2004

Member level 3
Joined
Aug 24, 2007
Messages
59
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
india
Activity points
1,605
the bible for c++ is 'object oriented programming' by Robert lafore
 

vizard356

Newbie level 6
Joined
Aug 10, 2007
Messages
14
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,370
Start With C then C++ then Java or C#.
C Language is very important in electronics after assembly language.
right now i m using it to do micro controller programming.
 

sbalpande

Banned
Joined
May 11, 2007
Messages
33
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
0
C Language is very important in electronics after assembly language
 

raghuram_msc

Full Member level 1
Joined
Jul 3, 2007
Messages
95
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,286
Activity points
1,930
Hi all,

So much said and noted, I may say this-

C is the first most fundamental structured and 'complete' high level language. Ofcourse C++, JAVA, C# differ in style where as all of them have derived their structure more or less from C.

Coming to application part- C is still a particularly popular choice and might continue to be so for Embedded, DSP, Instrumentation, computer controlled automation and similar fields/domains.

Whereas an integrated platform like Visual Studio or VS.NET offers much more powerful and structured features which are otherwise very difficult (rather very very difficult..!!!) to implement. For ex implementing a 'class' is easier here. These features are more handy if we are talking about domains like software development and related ones.

Hope my effort summarises the discussion.

Sai
 

kseng2002

Member level 2
Joined
Aug 27, 2004
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Malaysia
Activity points
466
Thx for all u guys advice & suggestion. I think start with C is the best for me because im using it for Microprocessor programming :D Thx again !
 

mihirtronics

Junior Member level 2
Joined
Sep 3, 2007
Messages
20
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,393
C makes a better option as far as embedded programming is concerned.. for eg. Kiel or Embedded C.
C has an edge over C++ in embedded systems due to the fact that C++ consumes much space in its library files, which are more in number than that of C.
 

l_leckraj

Newbie level 4
Joined
Aug 21, 2007
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
C++ is object oriented language, unlike C
 

mihun

Newbie level 2
Joined
Sep 5, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
I am confused. If C++ is better, why will I waste time studying C ?
 

neoaspilet11

Full Member level 5
Joined
Sep 29, 2005
Messages
277
Helped
29
Reputation
56
Reaction score
8
Trophy points
1,298
Location
Cebu, Philippines
Activity points
4,048
It depends your application.. But embedded systems are usually coded in C. If you are into software development you may use C++ or any other object oriented languages
 

money_kandan2004

Member level 3
Joined
Aug 24, 2007
Messages
59
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
india
Activity points
1,605
hai, here iam attached one ppt regarding c & c++
you gothrough that material. you get an idea.

thank u,
 

suru

Full Member level 3
Joined
Aug 31, 2007
Messages
157
Helped
4
Reputation
14
Reaction score
1
Trophy points
1,298
Activity points
1,934
c is used for microcntroller programming not c++.i think doesn't have support for low & high level labguages.
 

sundaram

Newbie level 5
Joined
Jul 22, 2007
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,325
hi... for beginners it would be best to go with C.... C++ is more advanced and hence a bit complicated than C.... But C++ has some useful concepts that C does not. The most important is Object Oriented Programming Systems. But if u master in C, that too is sufficient....
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top