Unix Timestamp to hex conversion ..86 (11/8/2013 5:44:14 AM) comp.lang.c++ I am getting UNIX Timestamp as "1383889129". The ONLINE string to hex conversion gives me "31 33 38 33 38 38 39 31 32 39" which is 10 bytes but I wish to have only 8 bytes.
Can I be helped.
Help: what statement is this?75 (11/15/2013 4:21:52 PM) comp.lang.c++ It is a very simple statement, nevertheless it makes me confused:
pcl::OpenNIGrabber grabber (device_id, depth_mode, image_mode);
Is it a function declaration? In case, why parameters have no type declare... giglio.d(1)
Array typedef as function parameter116 (11/19/2013 4:55:45 PM) comp.lang.c Hello everyone,
Consider the following code defining an array type:
typedef unsigned char toto;
int foo(toto *p1);
int bar(unsigned char *p2);
bar is supposed to call foo.
One (round-about) wa... Noob
Is this C or C++?234 (11/19/2013 9:44:40 PM) comp.lang.c++ Simple question. If the task is (for example):
"Write a C++ program which asks user his name (less than 20 chars) and
Then, is this code a correct answer:
Question about std::move154 (11/22/2013 9:36:23 AM) comp.lang.c++ I am trying to learn this std::move. A simple question, but I have not found
answer after googling.
Trying to understand why this code swaps the strings:
string s = "Orig s";
string t("Orig t");
t = s... no6909(32)
how does this string trick work?207 (11/23/2013 5:37:02 AM) comp.lang.c Ok say I have a string and I only want to print out so many chars.
What exactly is this doing? Can one use -5 too in their if they wanted?