I am trying to make the following construction:
class A
{
CString s;
void method(CString t);
};
void A::method(CString t)
{
s = t;
}
....
A a;
x = global_functio...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20459160.html
Zones:
C++Date Answered: 02/19/2003 Grade: B Views: 0
I use the timeSetEvent function in ms VC++5.0.The source code of my program like this:
{
.................
Timer_id=timeSetEvent( 33,uResolution,myTimeProc,
dwUser,TIME_PERIODIC);
.......
}
void ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10095814.htm...
Zones:
Windows MFCDate Answered: 11/06/1998 Grade: B Views: 0
I'm getting the following error:
error C2664: 'CreateThread' : cannot convert parameter 3 from 'bool (class std::basic_string<char,struct std::char_traits<char>,class std::allocator <char> >)' t...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20194557.html
Zones:
C++Date Answered: 10/18/2001 Grade: A Views: 0
How do I correct the C2664 error?
from the header file:
// CONST MEMBER FUNCTIONS
const Item& data( ) const { return data_field; }
const expr_tree_node* left( ) const { retu...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21628900.html
Zones:
C++Date Answered: 11/12/2005 Grade: A Views: 0
i am trying to compile a vc project in Microsoft Visual C++ 2005 (XP Pro v2002 SP2) and i am getting errors (there's only a few of them) like
-- error C2146: syntax error : missing ';' before id...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CPP/Q_21811714.html
Hi,
I am a little bit confused on some syntax in C++, yet I do not have a C++ reference book at hand... So please help if you can...
I declared my class (Vector) like following:
template <cla...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10052409.html
Zones:
C++Date Answered: 05/14/1998 Grade: A Views: 0
using vc6.0 I want to compile some code written with vc5.0
the problem seems to be as following:
(this time I give you complete code of my test-proggy...)
#include <...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10217855.html
Hi,
I have a class called CMonitor. In this class I defined
unsigned int __stdcall PollingUpdate(void *pParameters);
I wanted to call it like this to create my thread:
hThread = (HAN...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10593861.htm...
Zones:
Windows MFCDate Answered: 07/03/2000 Grade: A Views: 0
I would like to declare a list of smart pointers. Is this possible? I am trying something like:
std::list< CComPtr< IMyInterface > > m_spMyInterface;
I get the following copile error:
erro...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10638401.html
OK
How do I fix this little problem? The code originally compiled and worked in MS C++ 4.0, but is now in MS C++ 6.0. Now I get this error.
Here is the data:
str.Format("SELECT * FROM BA...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10889361.html
Zones:
C++Date Answered: 08/02/2000 Grade: A Views: 5