User defined Header

This is a discussion on User defined Header within the C++ Programming forums, part of the General Programming Boards category; Is there any compiler that I could use to do manual linking or all the stuffs are manual? I wanted ...

  1. #31
    Registered User
    Join Date
    Oct 2008
    Posts
    115
    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
    Posts
    8,893
    Well, you could do
    Code:
    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!
    CornedBee

    "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
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,001
    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
    Posts
    115
    thanks for all the replies... I will be doing all your advices..

Page 3 of 3 FirstFirst 123
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-20-2009, 12:33 AM
  2. Reading User Defined Files
    By Necrofear in forum C++ Programming
    Replies: 17
    Last Post: 06-30-2006, 01:55 AM
  3. SSH Hacker Activity!! AAHHH!!
    By Kleid-0 in forum A Brief History of Cprogramming.com
    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, 07:12 PM

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