Visual studio
-
hi , i want to edit a file with non ".cpp" extenstion on vs2003. the editor displays the contents as a plain text file( no Intellisence and color scheme). is any way i can configure the editor to treat thi file as cpp source code without changing its file extension ?
Thanks & Regards
-
hi , i want to edit a file with non ".cpp" extenstion on vs2003. the editor displays the contents as a plain text file( no Intellisence and color scheme). is any way i can configure the editor to treat thi file as cpp source code without changing its file extension ?
Thanks & Regards
Set the Language as "C/C++" in the "Source File Properties". You will get it by right clicking the editor and select the "Properties".
- NS - [ODBaseBtn]
-
Set the Language as "C/C++" in the "Source File Properties". You will get it by right clicking the editor and select the "Properties".
- NS - [ODBaseBtn]
NS17 wrote:
right clicking the editor and select the "Properties".
the editor does not contains a "Properties" option on context menu. i tried "view->properties" but property panel contains nothing. iam using VisualStudio2003, doing a console application project.
thanks
-
NS17 wrote:
right clicking the editor and select the "Properties".
the editor does not contains a "Properties" option on context menu. i tried "view->properties" but property panel contains nothing. iam using VisualStudio2003, doing a console application project.
thanks
nitin3 wrote:
iam using VisualStudio2003
I am sorry, I said about VC6. I am not so sure about how to do it in VC7.
- NS - [ODBaseBtn]
-
hi , i want to edit a file with non ".cpp" extenstion on vs2003. the editor displays the contents as a plain text file( no Intellisence and color scheme). is any way i can configure the editor to treat thi file as cpp source code without changing its file extension ?
Thanks & Regards
Tools | Options --> Projects and Solutions --> Visual C++ Project Settings --> C/C++ File Extensions.
Maxwell Chen
-
hi , i want to edit a file with non ".cpp" extenstion on vs2003. the editor displays the contents as a plain text file( no Intellisence and color scheme). is any way i can configure the editor to treat thi file as cpp source code without changing its file extension ?
Thanks & Regards
Hmm, ".cpp" should be handled by default by Visual Studio. Are you sure you have installed the C++ component of Visual Studio? You can always try running the VS installer and doing a repair... Just my two cents.
Florin Crisan
-
Hmm, ".cpp" should be handled by default by Visual Studio. Are you sure you have installed the C++ component of Visual Studio? You can always try running the VS installer and doing a repair... Just my two cents.
Florin Crisan
Actually his source file has NOT
cpp
extension... :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
Actually his source file has NOT
cpp
extension... :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]You're right :-O
Florin Crisan
-
Tools | Options --> Projects and Solutions --> Visual C++ Project Settings --> C/C++ File Extensions.
Maxwell Chen
Isn't it in VC 2005? He is using VC 2003. :(
- NS - [ODBaseBtn]
-
Isn't it in VC 2005? He is using VC 2003. :(
- NS - [ODBaseBtn]
NS17 wrote:
Isn't it in VC 2005? He is using VC 2003.
I only have VC2005 right now. I think that VC2003 and VC2005's IDEs are very much similar. :)
Maxwell Chen