I've been searching through questions on this for hours, and it just isn't working for some reason, so sorry if there's already an answer and I just didn't unde
I am writing a C++ program where I wish to use a friend class in order to access protected members of another class. Here is the header for the class I wish to
**Hello, I am new to Flutter, I hope you will be able to understand my problem. I am using “AudioPlayers” and would like to play audio from a define
Good evening guys I am trying to make my own vector class. But I have few problems. Firstable, I dont know why There is garbage value I've tried to check constr
I have the following (simplified) model and factory: models.py class Event(): duration = FloatField() start_time = TimeField() finish_time = DateTim
Sometimes the code runs till the end without any errors while other times it stops in the middle and gives me this error Thread 1: EXC_BAD_ACCESS (code=EXC_I386
I am looking to compare two instances of the same class, but only the items for which both are not None. for instance, I will have a Bolt class, and one instanc
I'm currently working on a project in which I am to ask the user to input 2 numbers, divide them, and then throw an exception if the denominator is 0. I feel li
I have a school project where I have to make every tostring method appear on every object. Does anyone know how to do it? enter image description here enter ima
package Multiplemethods; import java.util.stream.DoubleStream; public class TimeOffice { public static void main(String args[]){ //instance variables dou
class Cars(object): def __init__(self,brand=None,color=None,cost=None): self.brand = brand self.color = color self.cost = cost ima
jQuery doesn't want add class without point. Here's the html markup: <div class="form-group" id="plis"> <select class="form-control-input notEmpty"
I have created header file for definition of Class Name.h class Name { private: char* Fname; char* Lname; public: Name(char* ='\0', char* ='\0'
I am trying to initialize a class with a pack passed as an argument to my function. Here is what I got so far: struct Vec3 { float x, y, z; }; template<
Hi I am trying to print value of 'a' property of x object but I only get output once. void main() { var x = Test("Boy"); x; x; x; x; x; x; } clas
EDITED: Looks a little cleaner now, reflects where I currently am and what I'm trying to accomplish, and shows the new issue I'm working on (which has a comment
How can I access the objects property in this situation? Araba araba = new Araba(); araba.Renk = "mavi"; araba.fiyat = 12345; // I created this class and it wo
Classes and Objects in Python I'm creating a bot in discord.py, and I have a class which stores all the information related to the user, like name, settings, pr
I have a react application having a community chat feature. The code for the comment section is : I am a newbie to this error and have no clue about it, can som
class Dashboard extends Component { constructor(props) { super(props) this.state = { assetList: [], assetList1: []; } } componentD