Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > source files vs. resource files

Reply
Thread Tools

source files vs. resource files

 
 
Jackie
Guest
Posts: n/a
 
      01-27-2006
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.

 
Reply With Quote
 
 
 
 
roberts.noah@gmail.com
Guest
Posts: n/a
 
      01-27-2006

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.

 
Reply With Quote
 
 
 
 
red floyd
Guest
Posts: n/a
 
      01-27-2006
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).
 
Reply With Quote
 
rossum
Guest
Posts: n/a
 
      01-28-2006
On 27 Jan 2006 07:50:07 -0800, "Jackie" <(E-Mail Removed)>
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resource expression to access resource located in library Heinrich Moser ASP .Net 1 03-27-2008 04:25 PM
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
Resource manager problem: naming for embedded resource. Dirc Khan-Evans ASP .Net 1 10-17-2005 12:52 PM
<img> tag and resource files for scr-source? Ole Hanson ASP .Net Building Controls 3 01-12-2005 01:20 PM
The system cannot locate the resource specified. Error processing resource avishosh XML 2 08-08-2004 06:28 AM



Advertisments