|
Are you smoking drugs? If so, can I have some?
|
|
|
|
|
|
AAAAaaawwww man, thats's too strong for me. Do you have anything VB wise?
|
|
|
|
|
GetDlgItem(IDC_CONTROL_ID)->EnableWindow(FALSE);
-- modified at 15:07 Tuesday 20th February, 2007
Why was that voted a 2? The answer is correct.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi all,
i am doing my final year project on face detection using webcam in VC++ and am finding some problems in coding..
could you all please help me..
|
|
|
|
|
mannur wrote: finding some problems in coding..
could you all please help me..
We'd love to help if we can, but you'll need to be more specific. What sort of problems are you having?
/ravi
|
|
|
|
|
mannur wrote: ...and am finding some problems in coding..
Where are you finding these problems?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Can some one help me , how this program XGraph works, I am not able to get out the demo program working , or can anyone help me by giving some sample program, or some documentation.
Thanx in advance.
rams
|
|
|
|
|
|
1- no, we all are using Turbo Pascal.
2- does not install on Vista, I'm still using Win 3.1
3- no applicable.
|
|
|
|
|
Maximilien wrote: 1- no, we all are using Turbo Pascal.
2- does not install on Vista, I'm still using Win 3.1
3- no applicable.
But I dont know why you get Score: 1.6 (5 votes)
And what questions?
|
|
|
|
|
|
yes thank you I saw question on above
But what happens today,some questions was delete and also some answers
|
|
|
|
|
Yes, it works on Vista. Are you having problems?
|
|
|
|
|
|
Vithaya wrote: 1) Is anybody use the Visual C++6/MFC develope application?
Yes, I'm certain there are several folks that use it.
Vithaya wrote: 2) When install on Windows Vista, it has any problem?
None that I've heard of.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Do you want to use VisualC++ 6.0 on the vista? or its a general question?
It seems you asked previous this question but you dont need to delete your question.
|
|
|
|
|
Hi,
I am doing GUI side and i am playing with Icons.
I got this below error message
error RC2176 : old DIB in res\activity.ico; pass it through SDKPAINT
What it is? How can resolve this ?
Thanks.
|
|
|
|
|
See here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I'm writing a class which is more or less a STL map with a few enhancements, e.g. sending of update notifications. To still have STL like access to the map, I forward the map iterators in my class with public typedefs. The problem is, those typedefs seem to be missing a semicolon where there is definitely none missing;
<br />
#include <map><br />
<br />
template <typename K, typename V><br />
class Repository<br />
{<br />
private:<br />
typedef std::map<K, T> ReposMap;<br />
public:<br />
typedef ReposMap::iterator iterator;
typedef ReposMap::const_iterator const_iterator;
public:<br />
Repository()<br />
{<br />
}<br />
<br />
~Repository()<br />
{<br />
}<br />
<br />
<br />
private:<br />
ReposMap m_objects;<br />
};<br />
MSVC8 gives the following error msgs compiling this code:
Error 2: error C2146: syntax error : missing ';' before identifier 'iterator' 14
Error 3: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 14
and the same error msgs again for line 15 before 'const_iterator'
I was wondering what the error could be in that few lines of code. Typedefs should be able to work with template parameters, so there shouldn't be an problem, should it?
I'm trying to compile this and some other versions of the same problem for two days now, but I don't have an idea, what could cause the problem, so I'd appreciate any suggestions.
thanks in advance,
Norbert
|
|
|
|
|
sorry, it seems my <'s have been removed.
Here should be the corrected version of the code:
<br />
template <typename K, typename V><br />
class Repository<br />
{<br />
private:<br />
typedef std::map<K, V> ReposMap;<br />
public:<br />
typedef ReposMap::iterator iterator;<br />
typedef ReposMap::const_iterator const_iterator;<br />
public:<br />
Repository()<br />
{<br />
}<br />
<br />
~Repository()<br />
{<br />
}<br />
<br />
private:<br />
ReposMap m_objects;<br />
};<br />
|
|
|
|
|
N-O-R-B-E-R-T wrote: public:
typedef ReposMap::iterator iterator;
typedef ReposMap::const_iterator const_iterator;
Modify this to,
typename ReposMap::iterator iterator;
typename ReposMap::const_iterator const_iterator;
See MSDN documentation for warning C4346 .
|
|
|
|
|
I've had the warnings supressed, and I forgot about that. I'm sorry for posting without reading all errors AND warnings before.
Thanks for your fast help.
Norbert
|
|
|
|
|
N-O-R-B-E-R-T wrote: I've had the warnings supressed, and I forgot about that
You should not ignore warning at all !
|
|
|
|
|
Have a look at reply below, posted by Stephan.
|
|
|
|