Agreed. I would concider native functionality in c++ those found in the stl, plus stuff on the C library, as file management functions like fopen and such. Anything out of the stl and the C library can not be concidered native. I however should have replied to his message the following way: Threads are not still supported natively in c++, so you will have either to use the specific operating system functions to use threads, or download a good portable library which will do it for you, like the boosts one or the zThreads one. btw, I think the boosts site confusing, I am not able to find documentation. Could you find the documentation easily and in an accessible format? Marlon 2008/2/16, Ken Perry <whistler@xxxxxxxxxxxxx>: > > > True and false though. You said it doesn't have a built in library which I > would say is true. Of course if we went by that standard though perl > doesn't do anything at all because the way its libraries loads is only when > you request them and there are no built in ones really. I mean you can say > that C++ doesn't have a built in library to handle Neural networks either > but there is only about 100 good libraries to do this in c++ in the first > 100 libraries searched out on google so I just don't like the idea of built > in libraries in c++ > > Ken > > -----Original Message----- > From: programmingblind-bounce@xxxxxxxxxxxxx > [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Marlon Brandão > de Sousa > Sent: Friday, February 15, 2008 11:52 PM > To: programmingblind@xxxxxxxxxxxxx > Subject: Re: thread.sleep() for c++? > > Sorry Ken, > I do know the boosts library do exist, but accordingly with what I know > boosts still isn't concidered part of the c++ library, so the fact that > there're no native c++ thread support is still true. > Boosts manage threads but a bunch of other libraries also do it. This isn't > to say you're wrong, boosts really would be a great suggestion, but I also > sent a true message. > Marlon > > 2008/2/16, Ken Perry <whistler@xxxxxxxxxxxxx>: > > > > > > > > This used to be true before the boost library. If you use the boost > > threads they use the native operating system threads and thus make it easy > to port. > > so grab the www.boost.org library for threads and that will work no > > matter which OS you use. > > > > Ken > > > > -----Original Message----- > > From: programmingblind-bounce@xxxxxxxxxxxxx > > [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Marlon > > Brandão de Sousa > > Sent: Friday, February 15, 2008 8:56 PM > > To: programmingblind@xxxxxxxxxxxxx > > Subject: Re: thread.sleep() for c++? > > > > Hello, > > Well, C or c++ doesn't present a built in library to manage threads. > > This means you will need to access the operating system native > > functions to manage them, and this is different in each OS. There are > > OS that even don't support threads, so if you are using one of them > > you will have to figure how to simulate it, although modern operating > > systems like windows and most ports of unix for most part of platforms > > have it. If you can give more dtails we can provide help on how to do it. > > About the beep function, where was one in borland turbo c++ for DOS, > > long time ago. I don't know if it still works, but it shouldn't be > > hard to build one ... > > Marlon > > > > 2008/2/15, Alex Hall <mehgcap@xxxxxxx>: > > > I have a java timer that I made out of bordum. It uses > > > thread.sleep() to run for the input time. I really want to use the > > > pc speaker and the beep() function in c++. Is there a method I can > > > call in a c++ program similar to Java's thread.sleep()? > > > Even better, is there some way of using a method like beep() in Java? > > > > > > Have a great day, > > > Alex > > > __________ > > > View the list's information and change your settings at > > > //www.freelists.org/list/programmingblind > > > > > > > > > > > > -- > > When you say "I wrote a program that crashed Windows," people just > > stare at you blankly and say "Hey, I got those with the system, for free." > > Linus Torvalds > > __________ > > View the list's information and change your settings at > > //www.freelists.org/list/programmingblind > > > > __________ > > View the list's information and change your settings at > > //www.freelists.org/list/programmingblind > > > > > > > -- > When you say "I wrote a program that crashed Windows," people just stare at > you blankly and say "Hey, I got those with the system, for free." > Linus Torvalds > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > __________ > View the list's information and change your settings at > //www.freelists.org/list/programmingblind > > -- When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind