by: penny336 |
last post by:
dear all,
just a little confused in c++ oop , in the below class, i set x,y as
private, but it can be accessed directly in copy constructor e.g x=p.x
is it problems in c++?
//=== file Point.h...
|
by: RonHiler |
last post by:
My copy constructor is crashing my program, and I can't figure out
why. I'll try to make the code listing as short as I can. Here are
the two headers:
class BreakthroughClass
{
public:...
|
by: csudha |
last post by:
Hi all,
Can you please explain me the usage of copy constructor and how do we use it.
Give me some example.
Regards,
Sudha.
|
by: Andrew J. Marshall |
last post by:
I want to create a class that must receive a parameter when instantiated.
In other words, I do not want it to have a "Public Sub New()".
1) Does VB.NET create a default public constructor if I do...
|
by: RickHodder |
last post by:
I'm having a problem, and here is a simplified example of code that
demonstrates it:
public class BizObj
{
public string TableName="";
private DataSet oData;
public BizObj()
|
by: Holger Boskugel |
last post by:
Hello,
I'm looking for a solution to hide the default constructor of a class.
In VB6 there was a class type of "Public Not Creatable". I have
tried to write the default ctor as friend or private...
|
by: qazmlp1209 |
last post by:
Will the following program cause any problem, because of the missing
explicit copy constructor for the 'test' class?
#include <vector>
#include <iostream>
class test
{
char* cPtr ;
|
by: indrawati.yahya |
last post by:
According to the FAQ, the best way to inform a class user of an error
that occurs inside a constructor is to throw an exception. My question
is, what happens when an object is instantiated using...
|
by: manoj9849967222 |
last post by:
Hi All
I am trying to assign a defult value to a report but is not working.
I have a report which shows
Qty Purchase------shows total qty purcased
Qty Sold-------------shows total qty sold...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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...
|