ordielivefree wrote: > Hii there...Im having a doubt please can u help me!!! > > Is C and Ansi C the same or different??? if so what are the > differences??
The ANSI C/C++ committees define what C and C++ are via the ANSI C/C++ Standards. The Standards are real ANSI (formerly ISO) documents that go through periodic revisions. Compiler implementors (gcc, VC++, etc.) implement the Standard to the best of their abilities (and usually fall short). Each compiler implementor also usually provides OS- and compiler-specific functions/hooks to better support the platform they are targeting. These are called Non-ANSI Standard APIs/functions. Things like TCP/IP (sockets), database access, graphical user interfaces, etc. all fall under the non-ANSI category. In other words, think "line printer" and you'll be pretty close to what ANSI C/C++ is and also understand why non-ANSI "extensions" have been added to compiler suites: http://en.wikipedia.org/wiki/Line_printer -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/