silly C querry

This is a discussion on silly C querry within the C Programming forums, part of the General Programming Boards category; hi all, a question from a neophyte: how to declare the prototype of a fuction in the header files?? how ...

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    silly C querry

    hi all,
    a question from a neophyte:
    how to declare the prototype of a fuction in the header files?? how do i create the header files??

    plz help.

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    »how to declare the prototype of a fuction in the header files??
    type name(arguments);

    »how do i create the header files??
    open a text editor, type stuff, save it.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    Just kidding.... fnoyan's Avatar
    Join Date
    Jun 2003
    Location
    Still in the egg
    Posts
    269
    Just write the prototype of the function in any text file and save it with .h prefix.

    I am sure that you can find how to declare a prototype in any C book?

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,590
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Silly Jokes
    By Snafuist in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 03-02-2009, 06:40 PM
  2. I am sillyI am sillyI am sillyI am silly
    By linuxdude in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 09-27-2004, 09:14 AM
  3. best download site
    By gooddevil in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-20-2004, 10:36 PM
  4. Sreen Resolution Statistics?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 38
    Last Post: 04-26-2004, 02:33 PM

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