source files vs. resource files

Discussion in 'C++' started by Jackie, Jan 27, 2006.

  1. Jackie

    Jackie Guest

    Hi all, I am new to visual c++, and found that each C++ project
    automatically generates source files and resource files, what are their
    roles, respectively? Thanks a lot.
     
    Jackie, Jan 27, 2006
    #1
    1. Advertising

  2. Jackie

    Guest

    Jackie wrote:
    > Hi all, I am new to visual c++, and found that each C++ project
    > automatically generates source files and resource files, what are their
    > roles, respectively? Thanks a lot.


    Resource files are specific to the development environment and OS, they
    have nothing to do with C++. They are what they say, resources. The
    often contain icons, strings, and version information. Fankly I hate
    them...too much in Windows programming is done with some stupid static
    string embedded in a resource file.

    There is a whole OS specific API for dealing with resources in all the
    languages you can code in. You need to see a windows specific
    newsgroup for more information on them.
     
    , Jan 27, 2006
    #2
    1. Advertising

  3. Jackie

    red floyd Guest

    Jackie wrote:
    > Hi all, I am new to visual c++, and found that each C++ project
    > automatically generates source files and resource files, what are their
    > roles, respectively? Thanks a lot.
    >


    Your question is specific to Visual C++, and as such, is off topic in
    this newsgroup, which is the dedicated C++ language as defined by the
    ISO standard.

    Microsoft has several newsgroups, dedicated to Visual C++. May I
    suggest trying

    microsoft.public.vc.ide_general

    For a general discussion of the IDE (the wizards and such are on-topic
    there as well).
     
    red floyd, Jan 27, 2006
    #3
  4. Jackie

    rossum Guest

    On 27 Jan 2006 07:50:07 -0800, "Jackie" <>
    wrote:

    >Hi all, I am new to visual c++, and found that each C++ project
    >automatically generates source files and resource files, what are their
    >roles, respectively? Thanks a lot.


    The source files (*.cpp, *.h(pp)) are where the code that you actually
    type is held. Resource files are specific to Windows and hold things
    like Icons for your application. Resource files are off topic here,
    you will get better information on them from a newsgroup dealing with
    Windows.

    rossum

    --

    The ultimate truth is that there is no ultimate truth
     
    rossum, Jan 28, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. LidorP
    Replies:
    1
    Views:
    2,143
    Scott M.
    Nov 22, 2003
  2. Dirc Khan-Evans
    Replies:
    1
    Views:
    913
    Karl Seguin
    Oct 17, 2005
  3. avishosh
    Replies:
    2
    Views:
    10,622
    avishosh
    Aug 8, 2004
  4. Heinrich Moser
    Replies:
    1
    Views:
    466
    Heinrich Moser
    Mar 27, 2008
  5. Ole Hanson

    <img> tag and resource files for scr-source?

    Ole Hanson, Jan 10, 2005, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    284
    Ole Hanson
    Jan 12, 2005
Loading...

Share This Page