Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visual studio

Visual studio

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studioquestion
10 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nitin3
    wrote on last edited by
    #1

    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

    N M F 3 Replies Last reply
    0
    • N nitin3

      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

      N Offline
      N Offline
      Nishad S
      wrote on last edited by
      #2

      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]

      N 1 Reply Last reply
      0
      • N Nishad S

        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]

        N Offline
        N Offline
        nitin3
        wrote on last edited by
        #3

        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

        N 1 Reply Last reply
        0
        • N nitin3

          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

          N Offline
          N Offline
          Nishad S
          wrote on last edited by
          #4

          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]

          1 Reply Last reply
          0
          • N nitin3

            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

            M Offline
            M Offline
            Maxwell Chen
            wrote on last edited by
            #5

            Tools | Options --> Projects and Solutions --> Visual C++ Project Settings --> C/C++ File Extensions.


            Maxwell Chen

            N 1 Reply Last reply
            0
            • N nitin3

              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

              F Offline
              F Offline
              Florin Crisan
              wrote on last edited by
              #6

              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

              CPalliniC 1 Reply Last reply
              0
              • F 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

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #7

                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]

                In testa che avete, signor di Ceprano?

                F 1 Reply Last reply
                0
                • CPalliniC CPallini

                  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]

                  F Offline
                  F Offline
                  Florin Crisan
                  wrote on last edited by
                  #8

                  You're right :-O

                  Florin Crisan

                  1 Reply Last reply
                  0
                  • M Maxwell Chen

                    Tools | Options --> Projects and Solutions --> Visual C++ Project Settings --> C/C++ File Extensions.


                    Maxwell Chen

                    N Offline
                    N Offline
                    Nishad S
                    wrote on last edited by
                    #9

                    Isn't it in VC 2005? He is using VC 2003. :(

                    - NS - [ODBaseBtn]

                    M 1 Reply Last reply
                    0
                    • N Nishad S

                      Isn't it in VC 2005? He is using VC 2003. :(

                      - NS - [ODBaseBtn]

                      M Offline
                      M Offline
                      Maxwell Chen
                      wrote on last edited by
                      #10

                      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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups