|
by: Leo |
last post by:
I have a member function in this class, which needs a variable to keep
track its status. Thus I used a static member variable.
But I encounter a "unresolved external variable" error during...
|
by: Ekim |
last post by:
given the following code:
myclass.h:
-------------------------------
class CMyClass
{
public:
CMyClass();
private:
|
by: Serge |
last post by:
Hi,
I have no problem creating a static member variable with integers, etc but
when I try the same with a vector then I always get linker errors that the
static member variable is unknown...
|
by: medleykupps |
last post by:
Hi!
My linker is giving me a LNK2001 error while building a DLL.
My program looks somewhat like...
I have a DLL project (C1.dll) that contains a sortable list class
CMyList that has a...
|
by: C_Programmer |
last post by:
Question#1:
==========
==========
What is the default value for any Static Global variable?
Example:
A.c:
=====
|
|
by: markww |
last post by:
Hi,
I put a static member variable in my class.
class CMine {
static int m_nCount;
};
How do I initialize it to zero? I can't do that in the constructor of
the class can I? Won't that...
|
by: palani12kumar |
last post by:
can you please clear my doubt regarding static variables?
at the time of declaring a static variable, is it compulsary to declare its data type?
that is.... instead of writing "static int a;",...
|
by: yanlinlin82 |
last post by:
I'd like to write all code of a class in only header file. But when
there is any static member varia ble, I have to define it in cpp file,
not the header file. Otherwise, the static member variable...
|
by: rpm27 |
last post by:
Hey everyone,
I am trying to declare a static class variable (not a 'primitive' variable, but from a class i wrote) inside a class
However, I have tried several ways to initialize it and they...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|