Thread: creating libraries for c++

  1. #31
    Registered User
    Join Date
    Apr 2002
    Originally posted by Okiesmokie
    uhh that is not a library file, that is a header file.

    In visual C++ in the new project menu, you choose Static Linked Library and write your code, hit the build button and voila you have a library.
    Why don't you re-read my post. I never once stated that it was a library file. I was just showing a simple header.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  2. #32
    Name the file menuscreen_.h instead of .cpp
    name the function something else than main, like void menuscreen()
    include menuscreen_.h in excalibur.cpp and call menuscreen(), don't call the file, call the function.

  3. #33
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    no it was supposed to be a cpp file, i meant like attaching files, not header(include files).
    Email: || AIM: MisterSako || MSN:

    -the shroom has spoken

  4. #34
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Outer Space!
    Sams Teachyourself C++ In 21 Days is a good book to read. Maybe you'll get something from there. Besides, it's free on the net
    what does signature stand for?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 08:15 AM
  3. Two questions (Linking Libraries and Creating Them)
    By Thantos in forum Linux Programming
    Replies: 3
    Last Post: 03-21-2004, 05:01 PM
  4. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 07:18 AM
  5. creating libraries in c
    By reallyfreakedou in forum C Programming
    Replies: 2
    Last Post: 03-31-2003, 12:12 PM