How to disable/tweak intellisense in VS2005?

I can’t just bear the intellisense of VS2005. So went out to find ways to disable this feature since I have another intellisense (you know right?) 😉 package from a private vendor. Here are some ways to disable this feature in VS2005… Rename Program FilesMicrosoft Visual Studio 8VCvcpackagesfeacp.dll I’ve renamed it to “feacp.dll.renamed_to_disable_intellisense”. Hehe Open […]
Continue reading…

 

How to deprecate a function?

Well what is deprecation? It’s just a way to tell the user that a better/safer function is available for a function which he is using! For e.g. strcpy. If you use strcpy in VC8 we’ll get a warning saying that it’s deprecated, instead use strcpy_s which is the secure version of this API. So the […]
Continue reading…

 

How to get vc compiler version?

Having trouble finding out your VC++ compiler version number? Let me help you out. 🙂 Open command prompt type and type in [sourcecode language=”cpp”]cl.exe /?[/sourcecode] Relevant part, as shown for me, is pasted here. My current compiler is VC6. Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80×86 Copyright (C) Microsoft Corp 1984-1998. All […]
Continue reading…

 

How to convert iterator to corresponding data pointer?

Well it was quite easy in VC6 to work with iterators since iterators were actual pointers to internal data, so they could be used interchangeably. For e.g. [sourcecode language=”cpp”]typedef std::vector IntVector; IntVector IntVecObj; // Push in a thousand ints for( int Index = 0; Index < 1000; ++Index ) {    IntVecObj.push_back( Index + 1 […]
Continue reading…