Arguments to main

This is a discussion on Arguments to main within the C Programming forums, part of the General Programming Boards category; Originally Posted by CommonTater That would end file associations... sending all these point and click file browsers back to the ...

  1. #16
    Registered User
    Join Date
    Oct 2010
    Posts
    107
    Quote Originally Posted by CommonTater View Post
    That would end file associations... sending all these point and click file browsers back to the stone age.
    That's okay, we'll just program computers to be telepathic and know what the users want.

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,014
    Quote Originally Posted by CommonTater View Post
    That would end file associations... sending all these point and click file browsers back to the stone age.
    Nonsense. All it would do was use a different type of communication, eg API. Heck, there is already COM nonsense out there. Something similar could work.
    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.

  3. #18
    Registered User
    Join Date
    Oct 2010
    Posts
    107
    I agree. COM is nonsense.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Too many arguments to function int main?
    By plain in forum C++ Programming
    Replies: 13
    Last Post: 08-29-2006, 07:01 PM
  2. C99 and int main()
    By cwr in forum C Programming
    Replies: 8
    Last Post: 09-19-2005, 07:54 AM
  3. Passing arguments to main?
    By xddxogm3 in forum C++ Programming
    Replies: 4
    Last Post: 10-16-2003, 04:59 AM
  4. arguments passed to main?!?
    By threahdead in forum C++ Programming
    Replies: 14
    Last Post: 01-22-2003, 08:43 PM

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