|
Does it distinguish between needed files and garbage?
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Um... did you click the link?
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Yes, of course. Right now But it keeps telling me that it doesnt find the server. Are you hiding it, so that no one can see that EZBackup doesnt know what files Gregor needs? Shame on you.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Good opportunity to make some advertisement, eh?
But your app has a big bug, take a look: http://foxhunter.ath.cx/ezbackup.jpg
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Someone else mentioned the resize problem, but I can't seem to duplicate it on Win2K or Win98. Can you try minimizing/restoring the resized app and see if it goes away? Thanks!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Ugh, never mind I was able to reproduce it! A fix is on its way. Thanks for pointing out the problem!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
You can safely delete all variants of Release and Debug subdirectories.
You can also delete NCB file whitch stores IDE layout informations and takes some space.
Sonork 100.15206;PavelK
|
|
|
|
|
Is there any way to import values directly into a string table rather than having to type each one of them individually in?
Could you please post the exact method of doing so if indeed there is a way.
Thanks
ashish
|
|
|
|
|
Don't know about an easy way.
You can create an RC file with string table and include it into Your main RC file.
Sonork 100.15206;PavelK
|
|
|
|
|
You mean creating a string resource automated? Well, you could use a macro for this or just any text tool that writes properly formated text into the projects .rc file. Or write your own app that works with the .rc file and inserts the strings.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
signature for atof is as follows:
double atof( const char *string );
My question is, what API can I use if I need "long double" precision?
thanx.
norm
|
|
|
|
|
istringstream::operator >> (long double &n) should do nicely.
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
but the code also invoked:
sqrt
fabs
...etc
any alternative?
norm
|
|
|
|
|
norm wrote:
any alternative?
You want functions operating on long doubles? While there are ones operating on long doubles (like sqrtl) in math.h, they are just casting parameters to double before performing calculations using plain, 'double' versions.
Tomasz Sowinski -- http://www.shooltz.com
Free your mind and your ass will follow.
|
|
|
|
|
check this out:
http://www-ccs.ucsd.edu/c/math.html#ceil
i was looking at MSDN, i dont think it says abs() supports "long double"...?
norm
|
|
|
|
|
|
MSDN say to this:
Previous 16-bit versions of Microsoft C/C++ and Microsoft Visual C++ supported the long double, 80-bit precision data type. In Win32 programming, however, the long double data type maps to the double, 64-bit precision data type. The Microsoft run-time library provides long double versions of the math functions only for backward compatibility. The long double function prototypes are identical to the prototypes for their double counterparts, except that the long double data type replaces the double data type. The long double versions of these functions should not be used in new code.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
Hello
I would like to automatically change the file version of my program (Console Application with MFC support), for example after linking.
Is it possible to do that automatically with Visual C++ 6.0.
Or do anyone has a tip for that.
Thanks
Alex
|
|
|
|
|
Look in the Macros section here at CP. If I remeber right there is at least one tool that does the trick.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
There is an article somewhere on CP that does that. You can add it to the post-link section. I am looking for it now. If I find it, I will post again
modified 29-Aug-18 21:01pm.
|
|
|
|
|
http://www.codeproject.com/macro/incprivatebuild.asp
modified 29-Aug-18 21:01pm.
|
|
|
|
|
Hi Peeps,
I am trying to decipher displaying different character sets and so far not too bad. Set the Charset value in Logfont and there you go
I am a bit stumped over what Charset values to use for some of the ISO8859 Latin variations. Can anyone help?
Cheers,
Davy
www.latedecember.com
|
|
|
|
|
Maybe you find the answer here[^]
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|
|
perhaps a stupid suggestion : if you are reading external data (from a file), would'nt it be possible that IDE put you in another directory ?
Juste pour faire avancer le Schmilblick!
|
|
|
|
|
Well, as it seems multilanguage resources used to work fine up to Windows NT 4.0. I've been testing this now extensively and results show:
NT4 - works like a charm and as documented/expected
W2k - nope
XP - nope too
W2k and XP have problems finding the resource when the system language is different from the users language settings. e.g.: XP english version, user settings German (Germany), resources are available in EN-US, DE-DE, FR-FR. LoadString does not find the german resource but instead loads the english one.
Nice, eh? Thats what we needed.
On the other side, on a W2k french version, it nicely loads the french resources. I havent yet tested a MUI version of W2k or XP, but thats next.
And, yes, the thread locale is correct in any test case.
int x=1, y=5;
x^=y^=x^=y;
<a href="http://www.codeproject.com/tips/StupidXORTrick.asp" target="_blank">ClickHereForHelp();</a>
|
|
|
|