www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - the differencies beetwen D and C from compilation scope concept

reply Pieter Valdano <pieter_ambonese yahoo.co.id> writes:
i have simple basic question...
1.what do you think about the diferencies between D and C?.
2.what make D very unique from C?.
3.do D have library for graphics?.

thank you very much for your answer and attention. God Bless U always...
Jun 22 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Pieter Valdano wrote:
 i have simple basic question...
 1.what do you think about the diferencies between D and C?.

Day, meet Night. Night, meet Day.
 2.what make D very unique from C?.

D supports object-oriented programming and has a garbage collector. Those are the two biggies to me. But D has dozens of other features that C doesn't.
 3.do D have library for graphics?.

Since you can call C libraries, yes you can use whatever graphics library you like that exposes a C interface. What kind of graphics do you mean? There are several OpenGL bindings for D, for instance. --bb
Jun 22 2007
parent reply Pieter Valdano <pieter_ambonese yahoo.co.id> writes:
Bill Baxter Wrote:

 Pieter Valdano wrote:
 i have simple basic question...
 1.what do you think about the diferencies between D and C?.

Day, meet Night. Night, meet Day.
 2.what make D very unique from C?.

D supports object-oriented programming and has a garbage collector. Those are the two biggies to me. But D has dozens of other features that C doesn't.
 3.do D have library for graphics?.

Since you can call C libraries, yes you can use whatever graphics library you like that exposes a C interface. What kind of graphics do you mean? There are several OpenGL bindings for D, for instance. --bb

library graphics for e.g "setcolor","line",etc.. thanks...
Jun 22 2007
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Pieter Valdano wrote:
 Bill Baxter Wrote:
 
 Pieter Valdano wrote:
 i have simple basic question...
 1.what do you think about the diferencies between D and C?.

 2.what make D very unique from C?.

Those are the two biggies to me. But D has dozens of other features that C doesn't.
 3.do D have library for graphics?.

library you like that exposes a C interface. What kind of graphics do you mean? There are several OpenGL bindings for D, for instance. --bb

library graphics for e.g "setcolor","line",etc.. thanks...

Maybe Arclib does what you want? http://www.dsource.org/projects/arclib Or maybe just one of the SDL bindings? --bb
Jun 23 2007