Search:
Type: Posts; User: the one
Search:
Search took 0.07 seconds.
-
August 16th, 2005, 03:55 AM
I understand your comments. I shuld thank you for your interest. I still wanted to reply to explain why this kind of usage would be usefull. Firstly I should introduce some facts and then i will try...
-
August 15th, 2005, 07:45 AM
By definition, an inner class can be in only one outer class.
What do you mean by the comment:
-
August 15th, 2005, 07:25 AM
Is there a smart way to access any attribute/function of outer class from the inner class? This is a very intelligent property of Java , I don't know whether C# offer such a way that is similar with...
-
July 29th, 2005, 07:14 AM
thanks for your posts..
I need a simple info too, after your post:
- how to create/declare different assemblies?..
- does this approach provide compile-time-safety or run-time?
( lets assume...
-
July 29th, 2005, 06:39 AM
how to declare a class( or a method ) that is only accessible through package (namespace)?
i.e.
Assume that
X is a class in package A
Y is a class in package A
Z is a class in package B
...
-
July 29th, 2005, 06:09 AM
I want to use Generics in C#, so I want to write in C# 2.0.
However my IDE is .NET 2003, so it includes previous version of C#.
How can I install and adopt C# 2.0 into my .NET 2003 IDE?
Thanks.
-
March 30th, 2005, 06:37 AM
I'm implementing a client/server application.
The system consists of many clients, 1 server and 1 control center.
This is a scientific app which has a dense processing tasks.
The clients performs...
-
August 18th, 2004, 05:45 AM
What is the exact difference between char* a[] and char** a ?
As far as I know, the first array will be created in stack, on the other hand,
the second array(?) will be created in heap. In...
-
March 31st, 2004, 09:42 AM
Hi,
I'm trying to adopt my [VC++ 6.0] code to [.NET C++]...
There is some changes in MFC.
One of them is return types!.. e.g.
CList::GetCount() returns int in 6.0, but
it returns INT_PTR...
-
February 16th, 2004, 10:13 AM
The last class doesn't compile.
Any suggestion ?
I've tried both
CDerivedEx( int x, CString s, int a ) : CDerived( s, a ) : CBase( a )
and
CDerivedEx( int x, CString s, int a ) : CDerived( s,...
-
February 7th, 2004, 05:24 AM
Sorry,
I have realized that I have not implemented the constructor of last class; i.e. class CTrioGeneral()
Last class should be like following..
Anyway... Totally we have good(?) example of...
-
February 7th, 2004, 05:00 AM
It says that, write whole things in .H file instead of .CPP.
I should say that, I have already written everything about template in .H file.
Any more suggestion ?
-
February 6th, 2004, 02:13 PM
Hi Gurus,
I have a problem with templates.
Here is a simplified version of my problem..
Any suggestion will be very appreciated.
In main code I call this
CMainEtc::OnClickOK()
{
-
February 4th, 2004, 08:46 AM
Thanks Yves M...
I want to be sure about another thing,
I always use (*) as an array instead of ([]) like the example above.
( by saying 'as an array', I mean, I keep starting point of...
-
February 4th, 2004, 06:50 AM
Could you please explaine what exactly going around ?
-
February 4th, 2004, 06:16 AM
Hi,
There is function like
MyFunction( T* apElements, int anCount );
As it can be seen it accepts an array as argument..
In my code, I have a pointer to array ( MyObject** ),
and I need to...
-
December 12th, 2003, 01:57 AM
You may right.
Anyway, I have realised that, the problem is actually not in '#include stdafx.h'. Although it says "No such file ... etc.", the actual problem had been in property of 'stdafx.cpp'....
-
December 11th, 2003, 04:06 AM
Hi,
I have a solution( i.e. workspace) which includes 3 projects.
Some classes ( so files ) are common in these projects. I have grouped them in a single folder called 'Common'. Therefore my...
-
November 24th, 2003, 11:43 AM
Let's say we have 3 timers started by 'SetTimer' on a single window. So we have 3 different static TIMERPROC function.
i.e.
CMyWindow::OnInitialUpdate()
{
...
SetTimer( 1200, 500,...
-
November 15th, 2003, 09:36 AM
I have a UI thread(CMyTHread) derived from CWinThread.
CMyThread* m_pThread; //member of CTestDialog;
CTestDialog::OnNewJob()
{
...
if( NULL != m_pThread )
{
-
November 13th, 2003, 09:36 AM
Thanks..
I'will regard these.
I may refine my design..
-
November 13th, 2003, 09:04 AM
but why doesn't 'force cast' cast it correctly ? They are valid object as you see..
-
November 13th, 2003, 08:57 AM
My original code is not dynamic_cast. It is pure casting.. ( C type )
(CTask*)pQueue->Dequeue();
-
November 13th, 2003, 08:46 AM
Firstly thanks for your replies..
But we know that it is actually a IQueable. Because it is created as CDerivedQueableTask....
As a character, CTask doesn't have to be queued. But...
-
November 13th, 2003, 08:36 AM
it is more dangerous.. it works wrong and whenever I want to touch my exe it asserts..
please note that the above code is just a toy-version of my app.
but it is one-to-one regarding the...
|
Click Here to Expand Forum to Full Width
|