Thread: beginner here, need sum support

  1. #1
    Registered User
    Join Date
    Jun 2002

    beginner here, need sum support

    Ok, ive read a lil about C++ and i basically made up my mind im going to start programming with C++, i have alot of documents about it already anyways. I read that you

    1. Create a source code file, with a .CPP extension.

    2. Compile the source code into a file with the .OBJ extension.

    3. Link your OBJ file with any needed libraries to produce an executable program.

    but im lost... whats a library first of all. Ill ask more once i figure that much out.
    this is my signature. k thx

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    A library is a set of functions that have been written by someone else already so you don't have to bother. Handy things.

    In a C/C++ environment, you normally include a header file into your source code which prototypes the functions, and then link to the library when you build your .exe. Depending on your IDE/software, the linker may do this for you automatically, (most of the time at least).
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  2. Minor Problem
    By stewie1986 in forum C Programming
    Replies: 6
    Last Post: 11-30-2007, 08:40 AM
  3. Dev-cpp - compiler options
    By tretton in forum C Programming
    Replies: 7
    Last Post: 01-06-2006, 06:20 PM
  4. string to int conversion not using atoi()
    By linucksrox in forum C Programming
    Replies: 2
    Last Post: 05-19-2004, 12:17 AM