printf("%hhd",89);717 (4/9/2007 12:34:42 PM) comp.lang.c printf("%hhd",89);/*Assume char has 8 bits and is signed*/ Is it valid? I know that it has been discussed in comp.std.c. http://groups.google.co.in/group/comp.std.c/browse_thread/thread/a656169cb5941cbf/?hl=... SRRajesh1989(61)
Quicksort819 (4/10/2007 1:34:17 PM) comp.lang.c++ hello can any one tell me how i can create program to sort string list(standard template library) using quicksort. ... aparnakakkar2003(12)
How should I handle the multibyte char set string in C++?1021 (4/29/2007 2:40:03 PM) comp.lang.c++ Hi, everyone, I'm writing a program using wstring(wchar_t) as internal string. The problem is raised when I convert the multibyte char set string with different encoding to wstring(which is Unicode, UCS-2LE(B... Dancefire(27)
Comparing floating point numbers1420 (4/30/2007 10:59:36 AM) comp.lang.c++ Hi, I'd like to compare 2 floating point numbers within a given error. I'd rather not use a absolute error but one related to the number of values that can be represented between the two floats. I've been read... new9315(43)
fast 64-bit dividend minu remainder calculation230 (5/1/2007 12:05:38 PM) comp.lang.c hi, is there a way to fast calculate x-x%y (greatest multiplication of y before x), where x and y are 64-bit integers on a 32-bit machine?? Maybe MMX registers would be useful?? I am writing this with gcc and ... pshemu(21)
why is "this->" necessary sometimes?732 (5/11/2007 5:53:40 PM) comp.lang.c++ I'm working on some code and I see in many methods that call other methods of the same class prefix a this-> to the method being called, i.e. class X::methodA() { this->methodB(); } And they are not even ... pradhan.pushkar(40)
What's up with rounding in cmath?!1142 (5/11/2007 9:01:14 PM) comp.lang.c++ I have trouble making the following line compile. int a = round (2.6); I have, of course, included and i can go flooring and ceiling with no problems. However, the rounding seems not to be working at all... giraffen1(42)
C89 Standard for Britons5160 (6/14/2007 1:28:46 PM) comp.lang.c It was reported in another group that people with an address in the UK can join Manchester Central Library on line, and when you've received your card, you can read and/or download any BSI Standard for free, as... rlb(4118)
string class problem #22214 (6/25/2007 4:15:45 PM) comp.lang.c++ can anyone tell me a solution: i cannot use the features in standard c++ string classgh i included the string.h file but still its not working. ... mann_mathann
Stupid std::codecvt question118 (7/2/2007 5:56:12 PM) comp.lang.c++ This is with MSVC8, if there's an implementation dependency. I have a requirement to read lines from files that might be composed of of wchar_t (for example, text files written by MS Notepad using "Save As Uni... wscholine(1)