Since 5/7/2012 12:41:41 AM, pete2666 has written 2 articles and participated in 1731 conversations. pete2666 signature: pete2666
pete2666's articles:
Items(2) /1
Re: Logic AND between some strings045 (3/7/2011 7:21:51 PM) comp.lang.c++ On 2011-03-07 13:35:00 -0500, crea said: > > Well he said it was fixed size strings, so I assumed that they are not > very long. In his exaple they were like 100110. Obviously this function > is for short v... Pete
Need Help Installing Type 1 Font, Mac327 (2/3/2007 6:09:56 PM) comp.text.tex I bought some Type 1 fonts from Adobe, selecting the version for the Mac. I'm trying to install these fonts for use with LaTeX. There's a subdirectory with the AFM files, and all the various steps described i... Pete
pthread creation fails with EAGAIN446 (6/2/2011 11:02:13 PM) comp.lang.c++ Hi, I am using pthread_create API in my application. My application is creating many threads, after some time I started receiving following error from pthread_create API call: "EAGAIN Resource temporarily una... chovatia.jaydeep(17)
HEAP error when trying to use free() help needed1627 (6/7/2011 10:16:05 AM) comp.lang.c++ I'm trying to figure out why this testing code do not work and produce an error in VC++ when returning from the foo method. here's the code: class test { public: char* pPointer; test ... none9823(4)
std::set preallocate?734 (6/10/2011 8:01:02 PM) comp.lang.c++ Got a complaint that allocation is costly for 2000 items to be inserted into a set one by one. I need to preallocate, and depend on the set growing, if needed, after the number of items exceeds the preallocatio... cpisz(470)
instance counter645 (6/11/2011 10:08:53 PM) comp.lang.c++ Given class Fred { public: Fred() { ctr = ++xctr; } .... private: unsigned ctr; static unsigned xctr; // initialized via boost::thread::run_once .... }; , what would be the best way to mak... moshbear.net(5)
Conversion of a number from string to vector<int>2835 (6/18/2011 5:59:58 PM) comp.lang.c++ Hello, Do anyone want to write an efficient function for converting a non-negative arbitrary-precision number in base 10 from string to std::vector. The vector must represent the number in base B, where B i... anonymous7352(16)
(simple?) problem with multiplication4725 (6/21/2011 6:04:37 PM) comp.lang.c++ Hello, I need a fast way to calculate (a * b) % B, with the following constraints: - a, b, B are int - B = 10^N , N>0 arbitrary (B always fits in an int) - the result must be valid even if the multiplication ... sanmrtn96(8)
Fast swapping of STL containers2326 (6/23/2011 1:45:44 PM) comp.lang.c++ Group, I have two containers (same type). Element are getting inserted in the first container continuously. while second container is empty. At some point of processing I want to swap the container so that firs... ittium(65)