(split) yet another how to declare main thread

This is a discussion on (split) yet another how to declare main thread within the C Programming forums, part of the General Programming Boards category; hey its amazing... its going continue without any loop. i ran this program and got a new idea... actually i'm ...

  1. #1
    Registered User DevoAjit's Avatar
    Join Date
    Jun 2011
    Location
    Ludhiana, Punjab, India, India
    Posts
    32

    (split) yet another how to declare main thread

    hey its amazing... its going continue without any loop. i ran this program and got a new idea... actually i'm totally new in c programming.[QUOTE]Can you tell me what is the diffrence between:[QUOTE]
    void main()
    main()
    int main(void)

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,854
    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. Thinning a bitmap (split thread)
    By Paramjeet Kaur in forum C Programming
    Replies: 2
    Last Post: 05-20-2011, 10:38 PM
  2. Summat about cars (thread split)
    By drae in forum C Programming
    Replies: 1
    Last Post: 11-19-2010, 10:44 AM
  3. Message box as thread to stop main thread
    By Yasir_Malik in forum Windows Programming
    Replies: 8
    Last Post: 04-11-2006, 12:07 PM
  4. pointer to main thread from worker thread?
    By draegon in forum C++ Programming
    Replies: 2
    Last Post: 10-27-2005, 07:35 AM
  5. How to declare a global variable in Main()
    By vnrabbit in forum C Programming
    Replies: 2
    Last Post: 06-20-2002, 01:59 PM

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