I can't get intellisense to work. Even if I start with an empty project and add just one file to it with only an include for iostream
and an int main()
function that prints a char with cout
(basically the most basic program), if I try to get intellisense to show anything (say by typing cout.
) I get
IntelliSense: 'No additional information available' (See 'Troubleshooting IntelliSense in C++ Projects' for further help.)
Hours of googling have yielded a couple of articles over at the Microsoft sites that suggest a bunch of things to try or reasons why it wouldn't work. I have tried and eliminated them all, except for one that mentions that stdafx.h
has to be in the path.
What is this file?
How do I know if it is in the path if I don't know where it is?
What does it have to do with IntelliSense?
Should I add this file to my project to get it to work?
Thank you.
stdafx.h
won't be your problem. Check to make sure intellisense is actually turned on (on lower end systems, it actually should be turned off in 2010 as it will make coding virtually impossible when it eats up 100% of your CPU every 60 seconds). When you includeiostream
and typestd::
does it provide you with a list of available types in thestd
namespace? – Cannadystd::
– Santiagosantillan