CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2010
    Posts
    15

    how to create a simple thread using c++, in vc++ 6.0

    Hi,

    i want to konw how to create and use thread in c++[vc++ 6.0], what all are the header files needed,

    can anyone please write a simple code for that......

    can anyone please refer to some links where i can get good hold of c++ threads

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: how to create a simple thread using c++, in vc++ 6.0

    The C++ standard is poor in threading support. But you can use the Windows API CreateThread. See this example: http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Sep 2010
    Posts
    15

    Cool Re: how to create a simple thread using c++, in vc++ 6.0

    Quote Originally Posted by cilu View Post
    The C++ standard is poor in threading support. But you can use the Windows API CreateThread. See this example: http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx.
    okay..that was helpful

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured