473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

source files vs. resource files

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.

Jan 27 '06 #1
3 12106

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 '06 #2
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).
Jan 27 '06 #3
On 27 Jan 2006 07:50:07 -0800, "Jackie" <Sh***************@gmail.com>
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
Jan 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: LidorP | last post by:
Hello All, My problem is as follows: I have an assembly which holds a number of WebForms. In order to use these WebForms in my WebApplication i have to extract them out of the assembly (using...
6
by: Hans Kesting | last post by:
Hi, When I add a webform, VS generates three files: WebForm1.aspx WebForm1.aspx.cs (could also be "WebForm1.aspx.vb" I guess) WebForm1.aspx.resx What is that last file for? How can I use...
0
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description...
1
by: urban.john | last post by:
Here are my steps: create resource files from resx files: <echo message="CREATING RESOURCE FILES FROM RESGEN EN" /> <resgen todir="product\resources_en" verbose="true"> <resources> <include...
1
by: Tom | last post by:
This may seem a little strange, but in all my years of developing Windows Forms apps, I've never really used Resource files; however, I would like to start doing so in order to store icons,...
7
by: craig | last post by:
....quick question for anyone who might have some experience with .net resource files in VS 2003. I have an application that is not localized, but I would still like to be able to place all of...
2
by: Andrus | last post by:
I have resource files in different languages created by VCS 2005 Express. I want to use those files to translate reports at runtime. I have text to be translated as string. I think I need to...
5
by: DBC User | last post by:
I have a situation, where I need to add 4 or 5 data files (they change every time I build) in my project during build time and somehow I need a way to access these files during runtime. So I have...
1
by: Claire | last post by:
Ive written a small string resource building utility that I send out to our translators. I have a setup project for each language we support, which picks out a group of 12 english resx files plus...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.