No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Hi all, I am trying to implement singleton class having static method. my requirement is as below: A.h Class A{ Public : Static A* getInstance(); } B.cpp #include A.h Class B : public class A{ A* A::getInstance() { //some code. Return *A } } D.cpp #include B.h A* pter = …
Hi all, I am trying to conver string to decimal. the sting is 8 byte long and contains data as hex nembers e.g 0000000000000D72 i want to conver this data into decimal as 3442 i'm not getting how to do this help me...
hi i also have similar issue to solve instead of 4 byte i have 8 byte of data char a = 0x00; char b = 0x00; char c = 0x00; char d = 0x00; char e = 0x00; char f = 0xbc; char g = 0x61; char h = 0x4e; …
the hex value 00 00 00 00 00 BC 61 4E (LSB) which is stored in string as char data[8] = {0x4E, 0x61, 0xBC, 0x00, 0x00, 0x00, 0x00, 0x00}; now i want to convert it into int (equivalent of above hex string is 12345678) i have below code char a …
The End.
archana.c07