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: Fao |
last post by:
Hi, I am in my first year of C++ in college and my professor wants me
to Write a Program with multiple functions,to input two sets of
user-defined data types:
One type named 'Sign' declared by...
|
by: Klaus Schneider |
last post by:
Hi all!
I'm having trouble with a template function with variable arguments when I
parse an enum type as variable argument. Example:
template <class T>
bool test(int num, ...)
{
va_list ap;...
|
by: sonu |
last post by:
Hi,
I have a problem regarding use of a ListviewSorter class which is used
to sort the items in the
listview.
Basically I have a listview with three columns as "Name","Size" and...
|
by: Paolo |
last post by:
Hi all!
As I said in the title, I have a very strange problem compiling a
program Here's the code that gives the problem:
enum letters
{
a = 0,
b,
c
};
|
by: Jigar.Patel |
last post by:
Hi,
I have following enum definition.
public enum OperationTypes
{
All = 1,
New = 2,
View = 4,
|
by: tony |
last post by:
Hello!
I have below a for loop and a switch in the for loop.
I have also a enum called colBlowStep with some values.
I have also an array called m_columnBlowStep with some strings.
All items in...
|
by: Kurt |
last post by:
Hi. I have a c++ project that is basically a set of implementation
hiding classes, so that we can convert a static lib with a lot of
dependancies into a dynamic lib with less dependancies, so that...
|
by: Rohit |
last post by:
Is there any way by which I can find number of elements in an enum
list?
Generally I use one last element at the end to find out total number
of elements. e.g.
typedef enum{
SUN,
MON,
TUE,...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: 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...
|