by: Sridhar R |
last post by:
Consider the code below,
class Base(object):
pass
class Derived(object):
def __new__(cls, *args, **kwds):
# some_factory returns an instance of Base
# and I have to derive from this...
|
by: Gerry Sutton |
last post by:
Hi All!
I have noticed a strange behavior when using a constant identifier to
initialize an instance list variable in a base class and then trying to
modifying the list in subclasses by using...
|
by: Larry Lard |
last post by:
Hi,
This seems to me like a problem that has a simple solution but I can't
for the life of me work it out.
Suppose I have a base class Employee
Public Class Employee
Public FullName As...
|
by: dkode |
last post by:
Hello,
I know this can be done, but it's beyond me at the moment,
Here is my inheritance chain:
class NavRole : UserControl {
protected void AddSubmenu(string submenuFile);
|
by: kaferro |
last post by:
I have a base class that has about ten variables. Later, I have a
derived class that adds five more variables. In the derived class'
setData() function, I pass an instance of the base class, and...
|
by: Jamie Hankins |
last post by:
I'm probably being dense here. In the following situation:
class Base {
int x;
int y;
}
class Decendant : Base {
int z;
}
|
by: Aflj |
last post by:
This code won't compile (two compilers tried, gcc and VC++, both of recent versions, but I don't remember them exactly):
class C1
{
public:
void M1(int i) {}
};
class C2: public C1
|
by: Florian Paulus |
last post by:
Hi group,
i'm wondering how to assign an attribute to a field that a class
inherited from a base class.
Say base class has a field protected string message, so in the derived
class i want to...
|
by: nsphelt |
last post by:
I am wondering if it is possible to access the underlying property of a base class within a derived that has overridden that property. I am using VB.NET and when I use the MyBase keyword to access...
|
by: ma740988 |
last post by:
Consider
# include <iostream>
# include <vector>
# include <typeinfo>
# include <string>
class BaseMsg {
friend std::ostream& operator<<( std::ostream&, const BaseMsg& );
std::string name...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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...
|