|
|
Up |
|
|
  |
 |
|
Re: wholesale of the sport shoes,clothing,Mobile Phones in China shop,Quality AAA nike shoes =28USD,LV bags = 25USD,ALL NLF = 15USD, Jeans = 25USD,Coat = 33USD,T-shirt = 12USD,MK4=55USD,Nokia N95=260USD www.shopbb.com |
|
 |
|
 |
|
 |
|
 |
Author: SannySanny
Date: Mar 5, 2008 22:40
|
| |
|
| |
no comments
|
|
  |
Author: LussyLussy
Date: Mar 5, 2008 20:34
hello,
have u clicked on the link,if not i think you are going to miss
the great offer,because i get 30$ with in a day,it has a certain limit
of 15 days,so do it hurry..............
so "hurry--it's late!"
"hurry--it's late!"
Just click & get 1$---it.I can tell you it will not harm
you............
http://xfactoraffiliate.com/go.php/75221
IT IS FOR MUSIC LOVERS
|
| |
|
| |
no comments
|
|
  |
Author:
Date: Mar 5, 2008 20:01
Hello,
Does anyone know a (preferably open-source) multi-platform C or C++
library that would be able to write and read C/C++ doubles and floats
to/from streambuf, char array or similar device in IEEE 754 with
reasonably optimal precision and performance?
The purpose is to exchange serialized doubles and floats between C/C++
and Java programs where Java serialization rules are used.
I tried to search for it on the Internet but, surprisingly, could not
find any mature code for this seemingly common purpose.
Thanks in advance,
-Pavel
|
| |
|
13 Comments |
|
  |
Author: yogi_bear_79yogi_bear_79
Date: Mar 5, 2008 18:52
I have a char *year that contains a 4-digit year (i.e 1929), I use the
following syntax c = atoi(year); to convert it to an integer. However
I must strip the first two numbers. I've tried to convert it from
char* to a string and use the erase function, which works, but then I
can't seem to convert the string it to an integer. I am impartial as
to when I remove the first two digits, meaning it can be done before
or after the conversion to int. In my example above the end result
should be an integer variable equalling 29.
|
| |
|
4 Comments |
|
  |
Author: MZazaMZaza
Date: Mar 5, 2008 17:27
That's a calculator and there is an option which should convert the
result you got to binary, but when I try to do so I get a Windows
error stating that the applications has encountered an error..
#include
#include
#include
using namespace std;
int main()
{
int c, b, i;
double x, y;
double r;
char o;
cout <<"Enter the mathmatical operation, for example 1+2:" <
cin >>x >>o >>y;
|
| Show full article (5.30Kb) |
|
4 Comments |
|
  |
Author: Daniele M.Daniele M.
Date: Mar 5, 2008 16:03
Hi!
I hope someone could help me :)
I'm playing with cool FreeType library;
I have an 8bit pixmap (i suppose it should holds the values i have
combine with OR with my screen backbuffer in order to calculate
correctly the pixel color).
My problem is: my display backbuffer is 16bit (565), so when i apply
my pixmap with something like this:
pixel[x][y]=pixel[x][y] | pixmap[a,b]
it doesn't work very well (actually the pixel isn't changed as it
should :D)
I think the main problem is: pixel is a 16bit value, pixmap instead is
an 8bit value...
I think i should do a sort of conversion for pixmap...but i can't
figure how...
Please helppp!
Thanks in advance for your time.
Regards.
|
| |
|
2 Comments |
|
  |
Author: Sektor van SkijlenSektor van Skijlen
Date: Mar 5, 2008 15:54
Is there any official proposal for annotations in C++0x?
So far annotations have been "implicitly" used in many proposals as some
(usually) free-form text enclosed in [[ ]] (for example, n2493, n2509, n1943 -
not used in later updates). Is there any consistent proposal for the general
mechanism of annotations?
--
// _ ___ Michal "Sektor" Malecki
\\ L_ |/ `| /^\ ,() gmail.com>
// \_ |\ \/ \_/ /\ C++ bez cholesterolu: http://www.intercon.pl/~sektor/cbx
"Java is answer for a question that has never been stated"
|
| |
|
7 Comments |
|
  |
Author: MZazaMZaza
Date: Mar 5, 2008 15:45
What command can I use to make the program quite after a certain
condition?
--
Mustafa Zaza
|
| |
|
15 Comments |
|
  |
Author: Andy ChampAndy Champ
Date: Mar 5, 2008 15:05
How many times have you written
someType* var = dynamic_cast(someOtherPtr);
and wondered WTH you have to quote the type twice?
So I built this:
template class AutoCastProxy
{
public:
AutoCastProxy(T object): m_Object(object) {};
template operator U()
{
return dynamic_cast(m_Object);
};
private:
T m_Object;
};
template AutoCastProxy AutoCast(T object)
{
return AutoCastProxy(object);
};
|
| Show full article (0.67Kb) |
|
261 Comments |
|
  |
|
|
  |
Author: qinghu.liaoqinghu.liao
Date: Mar 5, 2008 14:46
I want to improve my application's memory usage. But before I can do
anything, I'm supposed to profile it first.
1. The first step would be count the number of objects for each class,
and thus I can see hot pots and where I can start to reduce memory
usage.
2. The second goal would be monitor the frequency of new/delete for
each class, those highly rated class would be better allocated into
memory pool. and this going to help me improve the overall application
performance.
How could easily achieve these goals, or there is any existing
software can do that?
Don't tell me the way to put the counter into each class's
constructor/
destructor, since the application is huge and contain too many
classes to be easily instrumented.
|
| |
|
1 Comment |
|
|
|
|
|
|