Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

C programming under Linux

Status
Not open for further replies.

dariush

Member level 1
Member level 1
Joined
Mar 16, 2003
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
244
C-linux programming

Hi
I need some information about C programming in linux (OPsystem).
What is the differences?Whats its advantages?
bye
 

Re: C-linux programming

C programming in Linux is more more advantageous than windows i wud say.. the reasons i knew are that...

the simplest reason is that.. the crash frequency is less...

moreover, in linux programming, u can use many many of the available system calls to program files and there are additional include files available there...

and all or most of the files used for programming linux uses the same C and hence they library is vast and available in plenty...

there are many types of editiors available for programming them

not that difficult to use.. very similar to use in windows with little changes.. for ex. conio.h library is not available in linux C, and random numbe generator function is different in Linux C.. other than that it is same.. (for programming)...

the execution is also very efficient than windows( linux) u might know it..

hope this helps!

/cedance
 

Re: C-linux programming

Other advantages are

unix scripting allows for a universal Make scipts that are easily proted across unix platforms. (I have ported Linux programs to Solaris and HP-UX with little intervention).
The configure script can set up almost everything required to taylor the C program to meet specific difference in you system (eg Athlon 64 vs Pentium 32, what libraries are available already on your system that can be used by the program etc.)
Version control is a given.
The C compiler is free and also includes C++, Fortran, Pascal, Java etc.
There is tons of unix C program source available to learn from.
For a beginner, using console type programs rather than X Windows or MS Windows is a reall advantage. I would hate to have to learn C programming using MS Windows.

I also use MSVC 6.0 and Borland builder for Windows so it ios worth mentioning the major disadvantage of Linux programming is the lack of a "Visual" set up that takes care of all the resources for GIU programs (like buttons, dialog boes etc). Such GUI front ends do exist but they are nowhere close to say Borland.
However, this "window" advantage opften makes for sloppy code.
 

Re: C-linux programming

dariush said:
Hi
I need some information about C programming in linux (OPsystem).
What is the differences?Whats its advantages?
bye

you can read here:
**broken link removed**

(Advanced Linux Programming). Quite a good book. Though sounding "Advanced", it provides really basic Linux system programming. Worth trying.
 

Re: C-linux programming

If you are going to do kernel mode programming then the C programming language is the language to go, even in windows. Linux is a much more "pleasent" place to do it. There are far fewer software layers and "rules" to follow in Linux, and it's kinda "frustrating" in windows. I admit that Linux is a far better OS than windows, when it goes to comfort in developing software.
 

C-linux programming

just a program language, just to use it
 

Re: C-linux programming

Hi
Also there are more jobs for pure C & C++ programer under linux then under windows

Added after 4 hours 57 minutes:


Advantages yu said well well there are so many tools i.e
editors , debugers etc even the source is avilable you can modify the original libc and do a lot

have tighter controller on the compiler etc .

welcome to Open source

Added after 35 seconds:


Advantages yu said well well there are so many tools i.e
editors , debugers etc even the source is avilable you can modify the original libc and do a lot

have tighter controller on the compiler etc .

welcome to Open source
 

C-linux programming

try " learning linux programming "
wiley publication

its good book
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top