Thread: how to compile projects ?

  1. #31
    Join Date
    Oct 2007
    Inside my computer
    Quote Originally Posted by master5001 View Post
    I am not saying don't use them, as much as I am saying that you have to pick a side of the fense to stand on sometimes.
    Yes, for the *_s functions, I stand on the side of recommending them. The advantages outweigh the disadvantages.
    For other non-standard stuff, I stand on the standard's side, since well... they're non-standard and usually there's a right alternative (void main vs int main, for example) or some other way around them.

    In any event, since most of what makes these functions unsafe has a lot to do with the programmer than the C standard library, I do think its still possible to avoid these functions most of the time.
    Of course, you're right.
    But still, it will relieve some burden from programmers to write out safety checks and to remember to do it all the time.
    It's improvement, if anything.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #32
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Visalia, CA, USA
    Good eye, Daved. Though its not exactly ancient..... I have dug up older. Not that I am saying such things with dignety and pride.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compile as you type
    By Rocketmagnet in forum A Brief History of
    Replies: 33
    Last Post: 12-07-2006, 01:36 PM
  2. How to compile mfc libs from platform sdk
    By tjcbs in forum Windows Programming
    Replies: 6
    Last Post: 11-19-2006, 08:20 AM
  3. Compile crashes certain windows
    By Loduwijk in forum C++ Programming
    Replies: 5
    Last Post: 03-26-2006, 09:05 PM
  4. open scene graph compile issues
    By ichijoji in forum Game Programming
    Replies: 1
    Last Post: 08-04-2005, 12:31 PM
  5. compile program?
    By Goosie in forum C++ Programming
    Replies: 9
    Last Post: 06-22-2005, 02:26 PM