|
My vc6 always creates a project as a debug version. Is there a way to change the default to release version?
I've already looked inside tools->customize and tools->options but I can't find it.
using: [VISUAL STUDIO 6.0] [WIN98/2]
|
|
|
|
|
Nope. You are expected to get rid of all bugs before release
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
Me never mistaking makes! Me is name Billy Gaytes...
using: [VISUAL STUDIO 6.0] [WIN98/2]
|
|
|
|
|
Bill G. makes mistakes. But Bill S. doesnt
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
Who's Bill S??
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
search for Bill S in the lounge if you dare
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
Sorry i asked, didnt mean to bring u bad memory indeed
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
LOL
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
That setting is probably in the same place as the "don't make useless readme.txt files upon project creation" setting.
Seriously though, I don't know.
_____________________
"So in the interests of survival, they trained themselves to be agreeing machines instead of thinking machines. All their minds had to do was to discover what other people were thinking, and then they thought that, too."
Breakfast of Champions, Kurt Vonnegut
|
|
|
|
|
Does anyone know how to get the system time and store it in a variable in vc6? also, do you know how to get the country from the system and store that in a variable as well?
|
|
|
|
|
Have a look at GetSystemTime / GetLocalTime on MSDN.
Michael
Programming is great. First they pay you to introduce bugs into software. Then they pay you to remove them again.
|
|
|
|
|
In my application, I'm using a TreeCtrl to display some hierachical information about the setting of the information.
I want it to be shown like:
[B] Solutions
|
---+[F] Solution Users
|
---+[F] Materials
I want Solution Users and Materials are not initially expanded (Items not populated until the + is clicked).
[B] and [F] here represents two images.
By the way, I don't know how to create image list for it, should i create a bit map of 2 x 16 x 15 to hold the images, and load it into CImageList, and set it to the tree ??
|
|
|
|
|
Yes, at 1st you shoul create image list, then attach it to the tree. When you'll want to add tree item, specify the index of the image in the image list
_________________________
Warm regards,
Vladimir V. Polischuk
AlarIT Inc.
Developer
URL: http://www.alarit.com
|
|
|
|
|
what is the different between this two declaration of pointer:
1) int* inta;
and
2) int *inta;
|
|
|
|
|
The readability.
Technicaly there is no difference at all. You can write int * inta or even put it in diffent lines. Whitespaces dont count (in most cases).
In my opinion its more readable to see int* pvariable; then int *pvariable; because it is not an integer variable but a integer pointer variable.
But thats only my 2 €-cents.
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
This is a bit of a mess in C/C++
int* pvariable; seems good from some points of view but it suggests that int* is a variable type.
What about:
int* pvariable, p2;
is p2 a pointer? NO! It's an int. For this reason I always write int *p, *p2; ... the * really belongs with the variable name not with the type.
That was just my £0.02
The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).
|
|
|
|
|
This is why experienced programmers do not declare more than one variable on a single line.
Not all of the capabilities of C are necessarily good things.
|
|
|
|
|
Jim A. Johnson wrote:
experienced programmers do not declare more than one variable on a single line
Don't generalise. All generalisations are false.
I am probably more experienced (been programming longer) than most people around here and I often declare more than one variable on a line (in certain circumstances). I just try to make sure it's not confusing.
The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).
|
|
|
|
|
That creates a problem, agree. But I never do THAT.
Another (clean) solution is using typdef'd types for that: use a LPINT or PINT and you are out of this troubles.
...if you're under 8 or younger. Chris Maunder, the Lounge
|
|
|
|
|
True. My view has always been that the '*' is an attribute of the variable, rather than the type. This is especially true when the language standard makes things of the form:
int* p,i;
equivalent to:
int *p;
int i;
which is not immediately apparent in the first case.
Also, there's a comment in this thread about typedef'ing pointers. I've always considered that poor practice, as it adds a lot of 'noise' type definitions. What do you do when you have to pass **p? Or a reference? Do you add typedef's for all of those as well?
Gary R. Wheeler
|
|
|
|
|
there is no difference in operation
everyone prefer int* variable ;
bcz that increase the readability
A Programmer Never Dies..***
|
|
|
|
|
renjith -CP teckforce wrote:
everyone prefer int* variable ;
WRONG!
renjith -CP teckforce wrote:
bcz that increase the readability
WRONGER!
The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).
|
|
|
|
|
Hi there!
What happens to unicode characters outside the Basic Multilingual Plane when using 'unicode enabled' functions in MFC. Are they just invalid?
It appears to me that the _UNICODE support enables UCS-2 encoding (the BMP) only. If I want to use UTF-16 encoding, must I go with _MBCS support?
Thanks
Jonnie
|
|
|
|
|
Here - Is it possible to enable a combo-box to display tabs
(\t) correctly?
I know there's a style to set for List-boxes and the like
(LBS_USETABSTOPS) but I can't find anything simplar for
Combo-Boxes - am I missing something obvious?...
Len.
|
|
|
|
|
hi,
does anybody has a pointer to some information on getting the background of your desktop icon text transparent ?
thx,
bisserke
I used to have a life ... now I have a computer
|
|
|
|