how to compile projects ?

This is a discussion on how to compile projects ? within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by master5001 I am not saying don't use them, as much as I am saying that you have ...

  1. #31
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,411
    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
    Location
    Visalia, CA, USA
    Posts
    3,685
    Good eye, Daved. Though its not exactly ancient..... I have dug up older. Not that I am saying such things with dignety and pride.

Page 3 of 3 FirstFirst 123
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compile as you type
    By Rocketmagnet in forum A Brief History of Cprogramming.com
    Replies: 33
    Last Post: 12-07-2006, 12:36 PM
  2. How to compile mfc libs from platform sdk
    By tjcbs in forum Windows Programming
    Replies: 6
    Last Post: 11-19-2006, 07:20 AM
  3. Compile crashes certain windows
    By Loduwijk in forum C++ Programming
    Replies: 5
    Last Post: 03-26-2006, 08: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21