copying pthread_mutex_t, pthread_cond_t668 (7/4/2009 9:50:03 AM) comp.unix.programmer Not sure this is the best group: my question concerns the actual Posix standard, and what it says. Basically, is it legal to copy a pthread_mutex_t or a pthread_cond_t, and use the copy? If not (which is the ... James
literate programming in C++636 (9/24/2008 2:45:59 PM) comp.text.tex Is CWeb still being used, and is it being used for C++? I'm interested in trying it, but comp.programming.literate seems very dead, and I'm not sure where to go for further information. (I'd particularly like ... James
SFINAE revisited3640 (7/15/2008 4:22:40 PM) comp.lang.c++ Just ran into an interesting question concerning SFINAE. Given the following code: #include #include template class P { public: P( T* ) { std::cout P( U* ) { std::c... James
Help with naming convention requested737 (6/12/2008 2:36:15 PM) comp.lang.c++ I have a particular case where I'm having a problem deciding on a good naming convention. Basically, I have several classes which are split in two: there is a base class, which is a POD (designed to support st... James
dlopen not finding symbols in original process image651 (10/17/2007 12:59:53 PM) comp.os.linux.misc I'm having problems with dlopen under Linux (although exactly the same code works under Solaris). Although the actual problem is in an application written in C++, I've managed to distill it into a very small b... James
can't convert from type A* to type B*44 (5/17/2013 3:43:28 AM) comp.lang.c++ I need to change DMapEntry::pData from a char* to a class DMapData that contains the original pointer but still be able to refer to &pData[offset] in DMapEntry without changing it. Is this possible?
#include... carl.eichert(1)
address of array at index34 (5/18/2013 6:58:48 AM) comp.lang.c++ hello group,
i use the function std::inner_product(&arya[0], &arya[4], &aryb[0],
0.0f) with the c-style and/or c++11-style array. does the compiler set
the addresses at compile time or is there a runtime... 4one(114)
Compilation of Awkward Syntax2710 (4/27/2013 12:58:11 PM) comp.lang.c++ I've almost finished teaching myself C++, but there's one last step I
have to take. I need to teach myself all the situations that require
one to use a strange looking combination of operators.
One exampl... vaughan.andursen(4)
When did the bool type make it into the language?2510 (4/29/2013 9:31:54 PM) comp.lang.c++ Trivial argument at work. My cooworker claims that Windows invented the
BOOL type before C++ had a bool type. We're bored.
When did bool make it's way into C or into C++ if not from the beginning?
... someone3(1540)
Raw pointers not evil after all?276 (5/1/2013 7:19:20 AM) comp.lang.c++ Hi.
I saw this:
http://stackoverflow.com/questions/4252273/should-i-use-smart-pointers-on-everything-and-forget-about-classic-normal-pointe
--
"You should use smart pointers careful. They are not the ... mike4ty41(5)
To go with Go or C/C++?1906 (5/1/2013 2:05:35 PM) comp.lang.c++ Don't worry, this is not about some religious language war. I'm just lookin=
g for some advice from some C/C++ people who can judge better than me since=
my experience in C/C++ is very limited. I have been d... jeti789(31)
enums and signed/unsigned43 (5/12/2013 2:50:47 PM) comp.lang.c++ The following code generates a warning about an singned/unsigned integer
comparison. I don't understand why.
typedef enum
{ TATTR_NONE = 0x00U
, TATTR_SONG = 0x01U
, TATTR_PLAYLIST = 0x02U
, ... news.5.maazl(164)
Overloading string literal132 (5/12/2013 2:50:57 PM) comp.lang.c++ Suppose: int Buffer::Put(const char *s);
Where: Put() has to find the length of 's' by strlen().
I would like to have: Put("Header Tag...") where sizeof("Header Tag...") -
1 is known at compile-time.
Macro... q3k(2)
Parsing response coming from server122 (5/18/2013 4:30:00 PM) comp.lang.c++ I am getting below response from server -
Main stream options:
EncType1=H.264
Resolution1=704*576
KeyInterval1=50
FrameRate1=25
BitflowType1=VBR
NormalBitrate1=2048
Now I need to parse the parameter... sumit369(1)