Re: [Dev-C++] 'extern const' and std::vector
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: David M. <ci...@ya...> - 2003-05-04 15:20:36
|
----- Original Message ----- From: "Ioannis Vranos" <iv...@at...> To: <ci...@ya...> Sent: Sunday, May 04, 2003 2:33 AM Subject: RE: [Dev-C++] 'extern const' and std::vector > > -----Original Message----- > > From: David McKen [mailto:ci...@ya...] > > Sent: Sunday, May 04, 2003 3:53 AM > > To: Ioannis Vranos > > Subject: Re: [Dev-C++] 'extern const' and std::vector > > > > > > I must say thnk you to those who helped me. > > > At firs ti have to note that you sent the email only to me. I guess you made > this by mistake? :) > Whoops my bad.. > > > > Istill have one question thoug about using a pool of > > threads for a 'round > > robin' approach. How would I implement such a system? My > > current idea is > > that all the player objects will be in a vector and I have > > an int pointing > > to the one that has been most recently processed. Once a > > thread is avalible > > it reads this varible and moves on to the next object in > > the vector > > (starting at the begining if it has reached the end), > > updating the integer > > so the next thread knows which object to process? Any > > suggestions (or better > > yet some example code) would be appreciated. > > > > I do not know thread magic (yet)... > > > > BTW Ioannis we plan to make it multi-OS the library we are > > using is Opentop. > > Unfortunately our goal to become truly os-independent is > > proving harder than > > we thought. If push comes to shove we will stick with the > > *NIX and Win32 > > (none of us on the developement team have a Mac to > > playaround with). > > > > Why don't you use OpenGL, isn't it portable? > This is the server we are talking about. Opentop does not provide any graphics classes. The server is purely textbased. We hope to make a client that will be graphical (For that we can use OpenGL).Opentop provides wrappers for various things (threads, sockets, etc). > > My sugggestion is do not use Win32, use .NET instead. > > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL 1: http://run.to/noicys > * Alternative URL 2: http://www.noicys.cjb.net > > __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |