Thread: (split) yet another how to declare main thread

  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
    39,661
    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.

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, 09: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, 11:07 AM
  4. pointer to main thread from worker thread?
    By draegon in forum C++ Programming
    Replies: 2
    Last Post: 10-27-2005, 06:35 AM
  5. How to declare a global variable in Main()
    By vnrabbit in forum C Programming
    Replies: 2
    Last Post: 06-20-2002, 12:59 PM