I have sounds stored for different events within the struct that the user will be able to change, and was hoping i could send the function a string to ...
I have sounds stored for different events within the struct that the user will be able to change, and was hoping i could send the function a string to ...
get_chat_members(pyrogram) gives characters ********* instead of phone_numbers ...
I've got the following code: struct My { int id; int value; }; template < class T > class IsElement : public T { protected: IsElem ...
In other words, is this undefined behaviour? class Foo { public: int a = b; int b = a; }; I thought it is undefined behaviour since when ...
I'm writing an app based on Cloud Firestore using the Web Client SDK v9 (but this is a more generic issue with database architecture that is not neces ...
Given the following: struct S { int x; int& y; }; int main() { int i = 6; const S s{5, i}; // (1) // s.x = 10; // (2) ...
I am faceing a problem to run flutter app on ios. I am using eko jitsi package for my project. It shows me this type error- Here is my package Jits ...
I was wondering what the pros and cons were or accessing members of a struct using the notation mystruct.element1 rather than mystruct->element1. O ...
I'm a Java/C/C#/python coder who is attempting his first Perl script, and I have what is prob a Perl OOO 101 question: What is the syntax to access an ...
This code snippet doesn't compile: clang says : No viable conversion from 'M' to 'int' Seems my member function hides global function. I changed t ...
Is it possible to iterate theough some member variables of a defined class, and then change the member variable type? For instance something like the ...
I'm not sure how to define this new member thing, please check demo below, what I want is ListNewMemberNames: The code (demo.html) is assuming runnin ...
I'm trying to use a struct without initializing some of its members, to be able to use it: struct Structure { initialized: bool, data: Struct ...
For learning purposes, I am doing static class for logging. I have function "startLog" which delete any file with same name and open file for writing. ...
I met a problem when working with templates and overloaded operators in C++. I want to create a class Foo with an overloaded operator (), and I also ...
I'm trying to compile this contract but it won't work. I know I can point mint and redeem for address, but since I'll get these from compound, how do ...
i installed Visual Studio Code along with all ibmi extensions. I am able to browse objects and IFS, but there is no option to browse source members. ...
I need to declare a class object as volatile: int main() { volatile FixedQueue<Job, 5> q{}; q.push({ 0x42, 0x55 }); } I learned from ...
it said "Cannot read properties of undefined (reading 'cache')" what i can do? and i did a mistake in the code? this is my code const {MessageEmbed} ...
I'm creating a class to represent a query, like this: As you can see, some variables start off initialized with defaults, others don't. I want to ...