by: Jianli Shen |
last post by:
Hi,
I want to implement like this:
class A{
int length;
class B{
void operate_length_in_A(){
|
by: Xiangliang Meng |
last post by:
Hi, all.
What are the benefit and the drawback of defining a class embedded inside
another class?
For example:
class List
{
public:
|
by: Jan |
last post by:
Here's the code with the problem:
class Startup
{
public static string Sym;
public static string PrevDate;
public static int Highest = new int;
// ______________
|
by: Eugene |
last post by:
Hi, I got a singleton class. Then in another class (CA), i would declare a
variable with this singleton class and get a reference to it. I would have
another class (IA1) that would inherit from CA...
|
by: Macca |
last post by:
Hi,
I have a windows form project. The form class has a number of methods in it
that i want to call from another class I have just created.
This class is a finite state machine and is created...
|
by: Steve Goldman |
last post by:
Even asking this question probably demonstrates that I have a
fundamental misunderstanding of how values and references work in C#,
but here goes:
I'd like to assign a reference to an arbitrary...
|
by: unicorn7777777 |
last post by:
Hi,
I need a deep copy constructor for a class which contains an array for another class:
class Chessboard
{
public:
ChessSquare chessSquare;
// copy constructor needed to copy all...
|
by: VanKha |
last post by:
After reading some books in c++,I know that it is better to hide the data members ,but sometimes the rule makes everything messy and terrible ! For example
class Node{
private:
int key;
...
|
by: James Booker |
last post by:
Hi all - this should be a very easy question to you guys.
Say I have two classes, class1 and class2. In my application, class2
can't operate without a class1, as class1 performs communication...
|
by: alchemist |
last post by:
Hi everyone. I have a problem about object construction.
I have two classes called Flight and ReservationSystem
and have a function addFlight() which creates a Flight object and adds it to an array...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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: 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: 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...
|