A hack to circumvent access - how bad?749 (9/23/2009 2:08:45 AM) comp.lang.c++ Hello, Please consider the code below. The 'BS/CS/DS' class hierarchy lives in a third-party library that I can't change. It's broken (a little) in the sense that I need to call a protected member function... Victor
CAD models of parts?274 (6/13/2008 3:46:44 PM) comp.lang.c++ Hi All, Does anybody know whom to ask or where to look for a CAD model of any of the current Vulcan motorcycle parts? Any of the popular CAD formats would do. Thanks! T -- Please remove capital 'A's when... Victor
Restrict to objects with static storage duration947 (3/27/2008 2:09:27 PM) comp.lang.c++ I am drawing a blank here... Is there a way to restrict a class to only instantiate objects with static storage duration, but no dynamic, and no automatic (hence no function arguments, either) storage duration... Victor
Where is Shiva?1151 (8/15/2007 10:02:31 PM) comp.lang.c++ Well, Shiva's probably busy... But where is our Welcome message that is supposed to be posted every now and then? Somebody wants to take the job? V -- Please remove capital 'A's when replying by e-mail I do ... Victor
Array copying technique554 (12/12/2005 7:28:42 PM) comp.lang.c++ Below you will find some code I wrote to see if I could wrap array copying (especially for multi-dimensional arrays) in a simple class and/or function. It seems to work fine for one-dimensioned arrays as well ... Victor
FAQ (somewhat OT)043 (6/21/2005 2:09:14 PM) comp.lang.c++ X-No-Archive: yes All, I just found out that the maintainer of the C++ FAQ Lite, Marshall Cline, is being cared for in a hospital at this time, following an unfortunate accident. Hopefully, and according to ... Victor
C++ Object and Class *****649 (3/22/2010 6:18:12 PM) comp.lang.c++ Implement a class which can only have two objects e.g. obj1,obj2.Now when obj3 is created ,then obj1 should get destroyed.. This process will be repeated . It means at any instant we will have only two objects.... anurag.it.jolly(5)
Formatted output4218 (6/9/2010 6:28:21 PM) comp.lang.c++ Say, I have the following lines in my program:
cout << setw(8) << 23.56 << "\n";
cout << setw(8) << 7043.345 << "\n";
cout << setw(8) << 85;
The above program outputs
Reinitialize Structure Object35188 (6/18/2010 11:26:25 PM) comp.lang.c++ How can I reinitialize all the values in the structure object below?
This structure object (myTest) is common to several subprograms in a
larger program, and when I engage any of the subprograms I want ... mrc2323
Question about *&7108 (6/24/2010 2:12:36 PM) comp.lang.c++ Hi,
could someone please tell me what *& in the following means.
I see it used in other places also.
char *&block = _blocks[_blockCount];
block is a reference to char pointer - .....
Invalid Template Argument?6192 (8/14/2010 5:57:37 PM) comp.lang.c++ Why do I get compiler error message? It explains that I am not
allowed to create variable in the template parameter, but constant
variable is acceptable.
How can I fix the error?
Any news on comp.lang.c++ newsgroup?7168 (9/13/2010 8:20:15 PM) comp.lang.c++ This question is for the moderators of comp.lang.c++
It's been down for a couple of weeks now already.
Is there any news as to when it's going to be back online?