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. Novice Programmer here: Linking

Novice Programmer here: Linking

Scheduled Pinned Locked Moved C / C++ / MFC
questionlearning
12 Posts 4 Posters 0 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.
  • J Jay Minor

    I know this is a stupid question but: how do I link (or include) only resource files within my project? Jay

    T Offline
    T Offline
    toxcct
    wrote on last edited by
    #2

    can you provide some little more details about what you have and what you need please ?


    [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

    J 1 Reply Last reply
    0
    • J Jay Minor

      I know this is a stupid question but: how do I link (or include) only resource files within my project? Jay

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #3

      Jay Minor wrote:

      ...resource files...

      Which is what exactly? :confused:


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      1 Reply Last reply
      0
      • J Jay Minor

        I know this is a stupid question but: how do I link (or include) only resource files within my project? Jay

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #4

        Do you want to insert resource file(rc) to your project?


        WhiteSky


        J 1 Reply Last reply
        0
        • H Hamid Taebi

          Do you want to insert resource file(rc) to your project?


          WhiteSky


          J Offline
          J Offline
          Jay Minor
          wrote on last edited by
          #5

          i ment linking surce files (.cpp) not .rc files

          T H 2 Replies Last reply
          0
          • T toxcct

            can you provide some little more details about what you have and what you need please ?


            [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

            J Offline
            J Offline
            Jay Minor
            wrote on last edited by
            #6

            sorry, i wanted to link source files

            1 Reply Last reply
            0
            • J Jay Minor

              i ment linking surce files (.cpp) not .rc files

              T Offline
              T Offline
              toxcct
              wrote on last edited by
              #7

              still you don't provide much infos, so i can't help


              [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

              1 Reply Last reply
              0
              • J Jay Minor

                i ment linking surce files (.cpp) not .rc files

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #8

                If you want to add a cpp file to your project you can right click on the Solution Explorer of your project and choose Add->Add New Item and select c++ file to Create a source file,Is your intent?


                WhiteSky


                J 1 Reply Last reply
                0
                • H Hamid Taebi

                  If you want to add a cpp file to your project you can right click on the Solution Explorer of your project and choose Add->Add New Item and select c++ file to Create a source file,Is your intent?


                  WhiteSky


                  J Offline
                  J Offline
                  Jay Minor
                  wrote on last edited by
                  #9

                  my intent was to include it in the actual program (not just the project)

                  H 1 Reply Last reply
                  0
                  • J Jay Minor

                    my intent was to include it in the actual program (not just the project)

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #10

                    Whats meaning of "actual program " again if you want to include a exist cpp to your project you can use of Add Exsiting Item you can include cpp but if it doesnt your answer more explain:)


                    WhiteSky


                    J 1 Reply Last reply
                    0
                    • H Hamid Taebi

                      Whats meaning of "actual program " again if you want to include a exist cpp to your project you can use of Add Exsiting Item you can include cpp but if it doesnt your answer more explain:)


                      WhiteSky


                      J Offline
                      J Offline
                      Jay Minor
                      wrote on last edited by
                      #11

                      this is what i dont want to do: #include "c:/.....", since i can (like u said) add an existing item to my project, so instead of typing the file path all the time, cant i just do something like #include "filename.cpp" wich is already in the project?

                      H 1 Reply Last reply
                      0
                      • J Jay Minor

                        this is what i dont want to do: #include "c:/.....", since i can (like u said) add an existing item to my project, so instead of typing the file path all the time, cant i just do something like #include "filename.cpp" wich is already in the project?

                        H Offline
                        H Offline
                        Hamid Taebi
                        wrote on last edited by
                        #12

                        Im sorry but I dont understand what you said can you more explain but a thing you must inlcude filename.h not filename.cpp


                        WhiteSky


                        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