|
by: Christopher J. Bottaro |
last post by:
Hello,
Lets say I have a class instance with the following member vars: var1, x,
size. Now lets say I have dict with the following keys: var1, x, size.
Is there an easy way to *automatically*...
|
by: vp |
last post by:
Can I safely assume that all static variables are initialized as NULL
or zero, depending on the types of the variables, no matter on which
platform that app is compiled ?
Thanks for your help,
...
|
by: JM |
last post by:
Hi all, I have a Customers class that can be instantiated with a customerId , which causes private member vars to be populated. But I also want to simply make a call to a static method on the...
|
by: Harald |
last post by:
Hi
My question: I use a few static vars in my site and want to know if their values
interfere between ore than one session.
Sample:
First session: static int x = 10
Second session: static int...
|
by: Dave |
last post by:
Are there any issues with concurrency on static methods creating instances
such as in the data access code below? Or if I wanted to expand it to use an
ADO.NET transaction and having two users...
|
|
by: r.roest |
last post by:
Hi,
I'm looking for a way to fill static vars from a different c-file.
Here is what I want to do:
file1.c
static DEBUG
calling function X using DEBUG to display information
calling...
|
by: Bran Kelly |
last post by:
Hi,
I am running into something I haven't ever encountered before. I have a
static instance of a class declared in a cpp file, which seems to be
optimized (or for some other reason) out of...
|
by: John A Grandy |
last post by:
Say I have Class1 which contains
static Class2 var1 = new Class2();
Is Class2 constructor code only executed if var1 is referenced in the
code-execution path ?
Or is Class2 constructor code...
|
by: Zytan |
last post by:
I see that static is more restricted in C# than in C++. It appears
usable only on classes and methods, and data members, but cannot be
created within a method itself. Surely this is possible in...
|
by: RishiD |
last post by:
Hi,
I am trying to figure out if the local variables created within a
static member function are created on the heap or stack?
Example:
class Circle
{
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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: 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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
|