by: Stewart Midwinter |
last post by:
I've got an app that creates an object in its main class (it also
creates a GUI). My problem is that I need to pass this object, a
list, to a dialog that is implemented as a second class. I want...
|
by: bartek d |
last post by:
Hello,
Regarding my previous question about a class which is used to store a
variable type vector. I tried to be more elaborate on the code.
I'd be grateful for your suggestions. Am I going in...
|
by: BCC |
last post by:
I have a simple container class with an enum:
class MyObject {
typedef enum {
etype1,
etype2
} EType;
};
In another class I have a vector:
|
by: adamrfrench |
last post by:
Let it be mentioned that Javascript is not my forte, so the solution to
this could very well be a simple one.
I am working on an AJAX function where I can pass a URL and the target
ID in, and...
|
by: babylon |
last post by:
I have an enum
public enum MyEnum : int
{
X,
Y
}
I have to do
int a = (int) MyEnum.X;
can i overload the operator or other means to do something like
|
by: M O J O |
last post by:
Hi,
I want to expose a enum from another class, is that possible and how?
Here's an example
Public Class ClassMaster
Public Enum Colors
|
by: drummond.ian |
last post by:
Hello Everyone,
This problem's been causing me a lot of trouble and I'm hoping
somebody can help me out!!
I have a dialog-based MFC application in visual studio 2003. I want to
call a...
|
by: hoganlai2006 |
last post by:
Recently I have come across with a problem with enum. I have defined an enum as follows:
private void btnViewNumber_Click(object sender, EventArgs e)
{
if...
|
by: puzzlecracker |
last post by:
Say we have the following class (adapted from the standard):
enum {i=1};
class X{
char v;
enum{i=2} // why this is illegal?
int f(){ return sizeof(c); } // and this is legal?
};
|
by: AliR \(VC++ MVP\) |
last post by:
Hi Everyone,
I have writing a class that represents a object on a screen. The object has
normal things like X,Y, Width, Height, ZOrder, and it also has drawing
attributes and flags.
It has...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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: 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...
|