|
by: Matthew Monopole |
last post by:
Since in integer we can use either
a = -b
and
a = b - c
shouldn't it when we overload operator there'd be two way to overload the
minus operator?
if so, what's the prototypes?
class...
|
by: Chiller |
last post by:
Ok, thanks to some good assistance/advice from people in this group I've
been able to further develop my Distance class.
Since previous posts I've refined my code to accept the unit measurement...
|
by: Teddy |
last post by:
Hello all
consider the class Date declaretion below:
class Date {
public:
Date();
Date(int year, int month, int day);
Date(const string&);
int getYear() const;
|
by: Steve Richter |
last post by:
is it possible to overload the << operator in c# similar to the way it
is done in c++ ?
MyTable table = new MyTable( ) ;
MyTableRow row = new MyTableRow( ) ;
row << new MyTableCell( "cell1 text...
|
by: vcmkrishnan.techie |
last post by:
Hi all,
In managed C++, can I overload the operator to access data members
in the following way
Create object objTime;
seconds = obj;
or
seconds = obj;
|
|
by: Lighter |
last post by:
Big Problem! How to overload operator delete?
According to C++ standard, "A deallocation function can have more than
one parameter."(see 3.7.3.2); however, I don't know how to use an
overloaded...
|
by: ek |
last post by:
In the class below I overload the "()" operator. When reading an
element in an int array "()" is therefore used. But why can't I still
use "" when writing something like a = 4;
class MyArray {...
|
by: Mahain |
last post by:
How we overload '=' operator using friend function in c++.
if not why ????????????????????
|
by: Maximus |
last post by:
I am trying to find a way to overload operator new of a class to use a
specialzied memory manager. In my design multiple memory managers exist. I
need to pass the instance of a memory manager into...
|
by: Markjan |
last post by:
I have a problem with classes and structures in classes (C++) I have to overload operator . class Data {
public:
class Proxy { //for overload operator
Data& _a;
int...
|
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: 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: 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?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
|
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...
|