by: Josh Lessard |
last post by:
Hi all. I'm maintaining a C++ program and I've come across a nasty piece
of code that works, but I just don't understand why. I'm not actually
this part of the program, but I really want to know...
|
by: Piotre Ugrumov |
last post by:
I have declared some function virtual, but when I call this function I have
errors.
In a class Simulator I have defined this:
Nave *navi;
The virtual function is the function modifica().
I call...
|
by: scott |
last post by:
hi all, hope some one can help me. Ill try and explain what im trying to do
as best i can.
i have a parent class that has a vertual function, lets call it virtual int
A(). That vertual function...
|
by: Dumitru Sipos |
last post by:
Hello everybody!
is there possible to have a function that is both static and virtual?
Dumi.
|
by: WittyGuy |
last post by:
Hi all,
Though I know the concepts of both abstract class & virtual
function (like derived class pointer pointing to base class...then
calling the function with the pointer...), what is the real...
|
by: gouqizi.lvcha |
last post by:
Hi, all:
I have 3 class X, Y, Z
class Y is a subclass of class X;
class Z is a subclass of class Y;
i.e.
class Y : public class X
class Z : public class Y
|
by: pakis |
last post by:
I am having a problem of pure virtual function call in my project.
Can anyone explaine me the causes of pure virtual function calls other than
calling a virtual function in base class?
Thanks
|
by: sudhir |
last post by:
I defined a pure virtual function like
virtual void sum()=0; <--- pure virtual function
but If I defined a virtual function in a base class in case of
multilevel inheritance for the base...
|
by: dragoncoder |
last post by:
Hello experts,
I was just playing around wrote this code.
sundev1:/home/ptiwary/rnd $ cat a1.cpp
#include <iostream>
using namespace std;
class Base
|
by: desktop |
last post by:
On this page:
http://www.eptacom.net/pubblicazioni/pub_eng/mdisp.html
Shape specify the virtual function:
virtual double Intersect( const Shape& s) = 0;
then the derived class Circle...
|
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: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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: 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:
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...
|