Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a C++ Expert!

Join 244,303 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 776 people online right now. Registration is fast and FREE... Join Now!




what is release mode and how do i get to it and use it

 
Reply to this topicStart new topic

what is release mode and how do i get to it and use it

bwjohns4
6 Jan, 2009 - 08:42 PM
Post #1

New D.I.C Head
*

Joined: 2 Jan, 2009
Posts: 14

in visual express 2008. also what's the difference in debug mode and release mode

User is offlineProfile CardPM
+Quote Post


Core
RE: What Is Release Mode And How Do I Get To It And Use It
6 Jan, 2009 - 09:08 PM
Post #2

using DIC.Mod.Core;
Group Icon

Joined: 8 Dec, 2008
Posts: 1,780



Thanked: 139 times
Dream Kudos: 350
Expert In: Software Development, Software Testing/Debugging

My Contributions
In Release mode the application code is being optimized for better performance (therefore, it is somehow not as good for debugging purposes). When in Debug mode, the application code is not optimized and contains some additional debugging information.

Also, in Debug mode, you can define a debug constant, so you can write conditional code that will only be executed while debugging.

I would not recommend distributing the debug version of the application because of the above mentioned reasons.
User is offlineProfile CardPM
+Quote Post

bwjohns4
RE: What Is Release Mode And How Do I Get To It And Use It
6 Jan, 2009 - 09:36 PM
Post #3

New D.I.C Head
*

Joined: 2 Jan, 2009
Posts: 14

how do i build it in release mode
User is offlineProfile CardPM
+Quote Post

Core
RE: What Is Release Mode And How Do I Get To It And Use It
6 Jan, 2009 - 09:42 PM
Post #4

using DIC.Mod.Core;
Group Icon

Joined: 8 Dec, 2008
Posts: 1,780



Thanked: 139 times
Dream Kudos: 350
Expert In: Software Development, Software Testing/Debugging

My Contributions
You can switch beetween the Debug and Release modes by using the toolbar:

IPB Image
User is offlineProfile CardPM
+Quote Post

bwjohns4
RE: What Is Release Mode And How Do I Get To It And Use It
6 Jan, 2009 - 10:13 PM
Post #5

New D.I.C Head
*

Joined: 2 Jan, 2009
Posts: 14

so i'm in visual c++ express with no resource editor. i did download xn resource editor. now i just don't know exactly what to do. i can make a .res file in it but how do i go about including the .res file in my project. Can I add the .res file to the resources folder. Is an .rc file a compiled .res file? do i have to have a .rc or .res file in the project or both. also how do i get a header to put in the code. very confused!!!

This post has been edited by bwjohns4: 6 Jan, 2009 - 10:22 PM
User is offlineProfile CardPM
+Quote Post

Core
RE: What Is Release Mode And How Do I Get To It And Use It
7 Jan, 2009 - 01:26 PM
Post #6

using DIC.Mod.Core;
Group Icon

Joined: 8 Dec, 2008
Posts: 1,780



Thanked: 139 times
Dream Kudos: 350
Expert In: Software Development, Software Testing/Debugging

My Contributions
You must have a .rc file in your project. There are also third-party tools that allow you to convert you .res file to a .rc file.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 7/4/09 06:00PM

Live C++ Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month