python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
can derived class access base class non-static members without object of the base class
can derived class access base class non-static members without object of the base class
class base
{
public:
int data;
void f1()
{
}
};
class derived : base
{
public :
void ...
Mathews lee
Votes: 0
Answers: 1
Retrieving the position of the PlayerEntity class (Fabric)
I am trying to make a very (at least I think) simple mod for Minecraft that calculates the coordinates of the nearest stronghold. For this, I need the player's position as well as its jaw. However, I ...

Goby
Votes: 0
Answers: 1
Is a declaration for a non-static data member of a class type also a definition?
I am learning C++. In particular, the difference between declaration and definition. To my current understanding
All definitions are declarations but not all declarations are definitions.
Here is an...
Jason
Votes: 0
Answers: 1
trying to get an int and a double from my main method to a non-static method
I'm working on a project for school and I've run into a wall where I need to get a user inputted Int and double from my main method to a required non-static method. this non-static method is supposed ...
Sigma
Votes: 0
Answers: 1