Thread: User defined Header

  1. #31
    Registered User
    Join Date
    Oct 2008
    Is there any compiler that I could use to do manual linking or all the stuffs are manual? I wanted to understand things in detail, like how the linker works and how to link two files something like that.. Is there any good tutorial or website that you could provide?

  2. #32
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Well, you could do
    cl /c Name.cpp
    cl /c People.cpp
    # At this point, you should have a Name.obj and a People.obj
    link Name.obj People.obj
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #33
    Join Date
    Oct 2007
    Inside my computer
    cl requires some special switches or you will end up with a broken executable or warnings. Not the friendliest compiler.
    I believe you have to specify to use exceptions or not, or you will get a warning.
    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.

  4. #34
    Registered User
    Join Date
    Oct 2008
    thanks for all the replies... I will be doing all your advices..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sum of User Defined Matrix Powers
    By QuaX in forum C Programming
    Replies: 1
    Last Post: 04-19-2009, 11:33 PM
  2. Reading User Defined Files
    By Necrofear in forum C++ Programming
    Replies: 17
    Last Post: 06-30-2006, 12:55 AM
  3. SSH Hacker Activity!! AAHHH!!
    By Kleid-0 in forum A Brief History of
    Replies: 15
    Last Post: 03-06-2005, 03:53 PM
  4. DLL compiling question
    By Noose in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2004, 07:16 AM
  5. win32 and user defined classes
    By paulf in forum Windows Programming
    Replies: 4
    Last Post: 04-16-2002, 06:12 PM