|
Microsoft Visual C++ .NET 2003 Kick Start by Kate Gregory
|
|
|
|
|
Thank you. I just ordered this book.
MilkyWay
|
|
|
|
|
You should also be aware that VC++ 2005 is out now. And the Express Edition is a free download for the next 11 3/4 months.
|
|
|
|
|
Nishant Sivakumar wrote: the Express Edition is a free download for the next 11 3/4 months
Actually, it remains free to use ever after. But the download is free until Nov. 2006.
On the downside you need one of the infamous Passport-IDs to register.
One of those "We want to know all about you and share it with whoever pays enough"-Spam inviters.
I really like anonymous EMail services.
(MS seems to detect spamgourmet)
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
jhwurmbach wrote: On the downside you need one of the infamous Passport-IDs to register.
I don't think this is much of a hardship. I get no spam with my hotmail. Also, as it's not my primary email account it doesn't matter.
Kevin
|
|
|
|
|
Nishant Sivakumar wrote: And the Express Edition is a free download for the next 11 3/4 months.
Doesn't have MFC though.
Kevin
|
|
|
|
|
Kevin McFarlane wrote: Doesn't have MFC though.
True!
|
|
|
|
|
Visual C++.NET Bible
Tom Archer
Excellent book!
And Tom frequents CP quite often to boot!
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
I'm trying to turn off incremental compilation in VisualC++ 6.0.
At the moment I'm using the following options but the compiler seems to be ignoring me and keeps creating the "vc60.idb" file.
cl.exe /nologo /c /W3 /Gi- /Zp1 /Od /GZ /FD
Any idea?
---
There are 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Go to [Project Settings], tab [C/C++],
select the cpp file(s) you are interested in,
select "Precompiled Headers" in the "Category" combobox and
then click on the "Not using precompiled headers" radio button.
SkyWalker
|
|
|
|
|
I don't think we're talking about the same here
I'm not using precompiled headers at all, I want to turn off the incremental complilation feature. According to the documentation /Gi- should turn it off but "vc60.idb" is still created.
And yes, I've checked all files and checked that the flag is set on all files (using gnumake, it's easy to check).
---
There are 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Then we are talking about this one:
Project Settings -> C/C++
Category: Customize
The option "Enable incremental compilation" should be unchecked
SkyWalker
-- modified at 10:52 Monday 14th November, 2005
|
|
|
|
|
Yes, that's the /Gi- option but it's not working, the *.idb file is still created.
---
There are 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
There is also a step in the link phase that has to be turned off. I think it is part of the debug options.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
I have char* holding jpeg image and want to seperate header and data parts
hadi be
|
|
|
|
|
|
Does the following JpegHdr structure correspond to your requirements?
typedef struct JpegHdr
{
short width;
short height;
short restartInterval;
short numOfQts;
char precision;
unsigned char numComps;
char blockWidth[3];
char blockHeight[3];
char qtId[3];
char compId[3];
char maxBlockWidth;
char maxBlockHeight;
JpegQt qt[4];
JpegHt ht[4];
} JpegHdr;
See more here: http://www.cs.cornell.edu/dali/api/jpeg-c.html[^]
SkyWalker
-- modified at 10:16 Monday 14th November, 2005
|
|
|
|
|
hi all,
if two funcions in one class ,their parameter type and numbers are same ,but only the return type is different ,the two functions belong overload?
thx
vivid
|
|
|
|
|
Tder wrote something like: if two functions in one class are the same, but differ only in return type
That is illegal by the C++-standard.
Different functions must have a differing paramater list or const ness.
VC7.1 raises error C2556 "'identifier' : overloaded functions only differ by return type"
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
if when compiling ,there is a error
vivid
|
|
|
|
|
Hello,
Whether two functions should be overloaded or not should not be determined by the parameter list. Functions should only be overloaded if they do the same thing with different parameters!
The following example illustrates:
class DoOverload
{
public:
void AddOneInteger(int nValueToAdd);
void AddTowIntegers(int nVal1, int nVal2);
void AddInteger(int nVal1);
void AddInteger(int nVal1, int nVal2);
};
class DontOverload
{
public:
void DoFoo(int i);
void DoBar(int i);
};
Hope this helps
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
if
void AddInteger(int nVal1); int AddInteger(int nVal1, int nVal2);
the two funciton belong overload?
vivid
|
|
|
|
|
Hello,
Yes, the term would be that AddInteger() is overloaded for one parameter and for two parameters.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
no,my meaning is void AddInteger(int a) and int AddInteger(int a,int b);
their return type is different,they belong to overload?
thanks
vivid
|
|
|
|
|
Hello,
Your return type can be different as long the function is overloaded by parameters.
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|