Thread: Couple of Q's.....

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Registered User deadpoet's Avatar
    Join Date
    Jan 2004
    Posts
    50
    Speedy5 is correct. If your functions are declared above main then there is no need to define a prototype for that function. However, it is good practice to define a prototype for all your functions because it adds clairity to what is available and set one up for a little more portability when you plan to expand your code.

    But in a nut he is 100% correct and there is nothing more important than begining to under stand how C/C++ work. The languages are very similar but are also very different and to tackle graphic programming from the get-go will be difficult without a firm understanding of how C/C++ work.

    DeadPoet
    Last edited by deadpoet; 02-20-2004 at 05:40 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Studying for Final, Couple Questions...
    By stewade in forum C Programming
    Replies: 4
    Last Post: 05-10-2004, 05:02 PM
  2. Pokemon talk and a couple useless stories
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 02-01-2003, 03:49 PM
  3. Thought I'd registered last couple of months...
    By Grayson_Peddie in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 08-31-2002, 09:34 PM
  4. Couple Code Snippets
    By Unregistered in forum Game Programming
    Replies: 1
    Last Post: 01-22-2002, 02:23 AM
  5. Replies: 5
    Last Post: 11-13-2001, 04:38 PM