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.

Is C under DOS and Unix same?

Status
Not open for further replies.

ykul

Newbie level 4
Joined
Oct 16, 2007
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,333
Is C under DOS and Unix same? If different how n if same how pls explain.
 

C under dos and unix have some differences
like C uses 64 bit register to store computed value..
where as Unix compiler uses 90 bit.. so u may get different results for same progam in floating point operations!
 

The main difference is that under Unix capital letters matter, but under DOS they don't ;)
 

Dos lacks Unix system calls. That's probably the biggest difference.
 

i think c works in the way under Linux and DOS .. only the compilers matter in this regard.
 

Hi all,
Of course C langage under doc or linux is the same. It is a Standardized language so it remain the same.
The difference is in the compilation even if we use the same compiler for each platform we obtain the same result in execution but not same binary file.
64 bits, 32 bits Microprocessor is with relation with machine/hardware and which can support any type of OS like linux, Unix, Dos, Windows etc.
 

They are the same, if compilers follow ANSI-C specification.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top