Thread: Making headers...

  1. #1
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273

    Making headers...

    Hi, I'm using MS VS and I was wondering how to make headers and functions. I tried what's in the help, but it doesn't work could you post up some code for perhaps multiplying two numbers.

    I'm using windows XP, and microsoft visual

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    http://faq.cprogramming.com/cgi-bin/...&id=1043284392

    Same principle applies to C as well - group similar functionality into a .c file, and put the interface to that functionality in the corresponding .h file.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making sprites
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 02-20-2010, 07:00 AM
  2. making GUIs with windows headers in C
    By xixpsychoxix in forum C Programming
    Replies: 2
    Last Post: 03-05-2006, 11:47 AM
  3. Making great graphics
    By MadCow257 in forum Game Programming
    Replies: 1
    Last Post: 02-20-2006, 11:59 PM
  4. thinking about making a network traffic monitor
    By jimjamjahaa in forum C++ Programming
    Replies: 9
    Last Post: 10-13-2005, 11:38 AM
  5. How do I include Headers and Libs with Borland 3.1?
    By fatpotatohead in forum C Programming
    Replies: 2
    Last Post: 09-23-2001, 02:27 PM