First  |  Prev |  Next  |  Last
Pages: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
std::map question
Can std::map<a,b> m_map; Can the key "a" be any types such as D3DXVECTOR3? Could you please raise an example? Thanks Jack ... 7 Jan 2010 18:06
IEnumerator Question
I hope Santa Claus was kind to you all! Back to business: As part of my on-going task of becoming familiar with C#, I got into the IEnumerable interface and looked carefully into the sample code Microsoft provides in the relevant Visual Studio help topic. Within that sample code, I find the lines: public... 27 Dec 2009 22:52
C++ and VC++ Differences
I was just wondering before I got started on any projects, what are the differences between C++ that is taught in some text books, like the For Dummies books, and the C++ that Visual Studio uses? Thanks ... 29 Dec 2009 14:11
std::set and std::multiset element mutability
VC9 allows you to modify a std::set and a std::multiset's elements. This seems to be forbidden by the c++0x standard, so is this being fixed in VC10 or left as it is in order not to break software which is c++03 standard's compliant (debatable) but not c++0x standard's compliant? /Leigh ... 6 Jan 2010 09:52
Confused about passing an Array of Objects to a function
Hi, I'm a vb programmer trying to convert to C++ and dealing with a rather steep learning curve. I want to pass an array of objects to my function. I was having trouble passing it by value, so to avoid copying issues I am trying to pass a pointer to it instead . The object is of type CPlanet my funct... 21 Dec 2009 23:33
The case of the bizarre vanishing file?
1. Yesterday I attempted to compile my source code and was told that the file sourceannotations.h included in sal.h was not present. Sure enough C:\Program files (x86)\Microsoft Visual Studio 9.0\VC\include\sal.h does include the file C:\Program files (x86)\Microsoft Visual Studio 9.0\VC\include\... 24 Dec 2009 14:05
linking warning message. C Question!
Hello, Okay, I was able to solve for extern variables in the previous post. But now, I get a linker warning that I think involves an enum command which I would desire it too to be global. Please do consider the following code: ============================KERNEL.h enum enumKM{KM_QUIT = 0, KM_CREATE, KM_RECUR... 22 Dec 2009 11:31
How to convert a Borland C++ App to Visual Studio App
Hi all, We are sitting with a bit of a challenge. We are trying to convert a Borland C++ App to either Microsoft Visual Studio C++.net or Visual Studio 6. We cannot find any resources on the net that can explain how and if this can be done. Help Please? Thanks In Advance, Nithin ... 31 Dec 2009 09:54
extern for global variable: C Question
Hello, I have asked this question in a previous post. I don't mean to double post, but I would simply like to ask the same question in a more direct manner. Please consider these .c modules: =====================KERNEL.h extern long MQ[]; =====================KERNEL.c long MQ[10] = {1,2,3,4,5,6,7,8,... 26 Dec 2009 00:26
Reference to an undefined assignment operator of a base class in a derived class.
Let consider the following code struct A { A( int i = 0 ): x( i ) {} int x; }; struct B: public A { B( int i = 0 ): A( i ), value( x ) {} B( const B &rhs ): A( rhs ), value( x ) {} B & operator =( const B &rhs ) { A::operator =( rhs ); return ( *this ); } ... 21 Dec 2009 06:57
First  |  Prev |  Next  |  Last
Pages: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30