Cursos
Cursos
Compilador de Código
Compilador de Código
Debatir
Precios
Teams
Iniciar sesión
Registrarse
Menu
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
why is {} placed after member initializer list in c++, although it is supposed to be empty ?
conceptual
doubt
0 Votos
1 Respuesta
12th Jul 2019, 3:23 PM
Snigdh
Can you explain why the commas become the member of new array that is result of the sum of two arrays?
arrays
javascript
0 Votos
3 Respuestas
2nd Oct 2019, 5:46 AM
Nurman Tajir
Can I use a class as a member of an other class? Does it make sense?
c++
classes
struct
1 Voto
1 Respuesta
18th Nov 2016, 3:06 PM
Marcell Juhasz
the return type of a Member function cannot be of class data type is it true?
c++
classes
data-types
function-arguments
functions
0 Votos
1 Respuesta
25th Feb 2017, 12:56 PM
Srikanth Srinivasan
why did instantiation an object in source file out of member function? how can use from it?
c++
0 Votos
1 Respuesta
16th Aug 2019, 1:07 PM
Alireza Abbasi
I got this problem in sololearn challenges. Accordingbto me, the correct output should be 4. But unfortunately it is not.
c++
class
data
member
0 Votos
5 Respuestas
13th Dec 2022, 9:23 AM
Oliver Pasaribu
can a structure have member function in C++?? if yes than what is the difference in class and structure?
c++
1 Voto
3 Respuestas
13th Sep 2016, 1:18 PM
subodh Kumar
What is the benefit of become a pro member?
general
member
pro
pro-member
1 Voto
3 Respuestas
4th Mar 2022, 7:25 PM
Molla Meehedi
Fill in the blanks to define a generic class, which has a member method that returns the value of x. Temp { T x; public
c#
0 Votos
5 Respuestas
16th Sep 2016, 6:41 AM
Priyanka Pasalkar
community member and leaders please help me.visit my code and u will understand my problem.please please answer in all pos. way
error
local
unbound
0 Votos
4 Respuestas
11th Oct 2020, 2:46 AM
#challenger mg
In Array of union last member doesn't over write when trying to print but in union it does why?
union
1 Voto
1 Respuesta
8th May 2020, 2:25 AM
karthik bynagari
how to Write a class having two public variables and one member function which will return the area of the rectangle in c++
c++
0 Votos
4 Respuestas
29th Oct 2021, 4:12 PM
Younis Ahmad
Is there any way to initialize a multi dimensional array if it is a data member of a class? (Such as in an initializer list)
c++
2 Votos
9 Respuestas
5th May 2017, 5:07 AM
Albert Lugo
( Need Help ) How to change the value of private member of base class from derived class ? thank you 🐱
c#
classes
constructors
2 Votos
2 Respuestas
9th May 2019, 2:40 AM
Putu Ekky Crisayoga
I'm new here. Who's new too??
challenges
member
new,
sololearn
1 Voto
5 Respuestas
4th Jul 2017, 10:04 PM
Codegirl
Is protected member accessible within the class where it's been declared and within its derived class's INSTANCES?
c#
challenge
mistake
0 Votos
1 Respuesta
3rd Feb 2017, 11:07 AM
Vladimir Poddukin
Why i'm getting this weird output ? Maybe it's Initializing "w" on every member call ? also "w" address remains the same
c++
0 Votos
5 Respuestas
23rd Jun 2017, 11:58 PM
Mazin
Write a class Medical Staff that contains an attribute ID to store staff’s identity. The class contains member functions to inpu
c++
oop
-2 Votos
4 Respuestas
23rd Jun 2021, 8:18 AM
sana riaz
In classes and objects when we use const keyword for a data member , we use constructor! I know that
c++
0 Votos
2 Respuestas
18th Sep 2018, 9:07 AM
Bunny
Write a program to search an element in an array using linear search. Make an array as a private member of the class
c++
-2 Votos
5 Respuestas
25th Feb 2021, 7:32 AM
Parri Chandra Mouli
What does it mean Calling a class ??
c++
classes
functions
member
1 Voto
4 Respuestas
24th Apr 2017, 12:20 PM
Md Shahabuddin Hossain
Is it possible to call private data member from operator overloading function even when it is not declared as friend function??
c++
0 Votos
3 Respuestas
6th Aug 2018, 1:32 PM
Shikhar gupta
Hello everyone I'm a new member I love programming and I started learning C++ what do you think of it? what could I do after?
2 Votos
6 Respuestas
30th Mar 2017, 10:04 AM
Chaima Elbahraoui
What is meanig of code =++ count
data
function
member
static
1 Voto
2 Respuestas
23rd Apr 2018, 1:47 PM
Devang H Baroliya
Define class having data members as stud_id ,name ,age , percentage with member function get() and display ()
code
functions
java
-4 Votos
1 Respuesta
6th Apr 2022, 9:22 AM
Vikram Kamble
Data member placement in a class. Where to place and what is the importance of that placement ?
c++
0 Votos
1 Respuesta
23rd Jul 2017, 4:31 PM
Sai Yerni Akhil
c++ program for class car .it contain make,colour,size,cost as data members.write a member function for reading & printing.
c++
-5 Votos
3 Respuestas
14th Nov 2017, 1:32 AM
SRI VISHNU T
I learn how data member of a class get there initial in Java..and how we can create object and function calling at class level
information
java
learn
new
2 Votos
2 Respuestas
7th Apr 2018, 2:36 PM
Arun Tomar
I have made a program of prime number. I want to know did i initialized the class member c=0 correctly or not.
c++
0 Votos
2 Respuestas
23rd Feb 2020, 6:59 AM
Disha Dey
After writting the program one error is coming 'show ' is not a member of 'A'.What should i write. Can somebody reply me fast.
c++
1 Voto
3 Respuestas
6th Feb 2020, 4:44 PM
Disha Dey
How to overload assignment operator for a class having member as " int * ptr; and A *a;" Here A is class declared in some librar
c++
1 Voto
4 Respuestas
14th Oct 2019, 1:38 PM
Amit chavare
What are the xp earned on Sololearn for? What are all ways a member can earn XP on Sololearn? Thank you for your king Answers!
sololearn
3 Votos
3 Respuestas
19th Nov 2017, 11:08 PM
Josué Charles
A member function can be declared static,if it does not access any non-static class members. Following statement are true&false?
p
1 Voto
1 Respuesta
9th Apr 2017, 10:49 AM
prajapati piyush
As the static member variables are common to all the classes, where is the memory allocated for static members?
c#
static
0 Votos
1 Respuesta
27th Apr 2016, 10:35 PM
Anusuya Rangasamy
C++ program for student details& print the same pointer to object & pointer to member function.create a class student
c++
-6 Votos
1 Respuesta
14th Nov 2017, 1:35 AM
SRI VISHNU T
pointers to structure members
identifiers
member
memory
pointer
struct
0 Votos
5 Respuestas
26th Aug 2019, 12:09 PM
Ami Sternlicht
What is your advices for a new member her and which language should I start first if I wana be in system analysis ??
c++
java
1 Voto
4 Respuestas
15th Feb 2017, 1:47 PM
عادل وخلاص
If there is a class and it has only one int type data member in it and that is also private. Can we use it outside the class?
abstractionproblem
classes
cpp
2 Votos
7 Respuestas
10th Mar 2018, 5:57 AM
Nikhil Punwani
Functions in OOP
class
cpp
member
object
oop
5 Votos
3 Respuestas
20th Dec 2016, 3:31 PM
StillSoul
Where are member functions of object present ?and how they access objects if they are common for each object and present in text
c++
0 Votos
3 Respuestas
4th Aug 2018, 3:05 AM
Prateek Chaturvedi
When i open the new hotel so i give an 50%offer for first five member who came .After 5 has't eligble
else-statements
if-statements
0 Votos
1 Respuesta
21st Apr 2019, 7:09 AM
Swathi Thiyagu
If I Tag Someone With @hisName , Does this send notification to the person in SOLO LEARN community ???
comments
member
sololearn
tag
tags
4 Votos
3 Respuestas
24th Apr 2017, 12:15 PM
Md Shahabuddin Hossain
Accessing an object’s member functions through each type of object’s name, a reference to the object or pointer of object.
8
edition
0 Votos
1 Respuesta
10th Jul 2017, 9:25 AM
Saad Ahmed
so a protected member of a base class remains to be protected in a derived class and can therefore be derived again, if i understand this one correctly?
c#
protected
0 Votos
6 Respuestas
29th Apr 2016, 12:49 PM
Marian Martini
Why the friend keyword is required in class in c++ ? Since, its function is same as that of member function.
c++
0 Votos
0 Respuestas
24th May 2018, 1:19 PM
Prasun Kumar Parate
Class or instance - who owns that name?
assignment
class
instance
member
python
reference
scope
2 Votos
6 Respuestas
25th Apr 2019, 2:39 PM
HonFu
how to create a form for signup?
fake
form
hack
member
php
signup
3 Votos
5 Respuestas
24th May 2017, 2:03 AM
Anish Khatri
Can I declare members in abstract class? Should I declare a virtual getter / setter method for the member in that class?
abstract-classes
c++
virtual
0 Votos
2 Respuestas
23rd Nov 2016, 1:46 PM
Marcell Juhasz
Can someone tell me what should be a specific name for a "friend" keyword since it is not a member function, please!?
c++
classes
friend
0 Votos
2 Respuestas
24th Dec 2016, 11:34 PM
JQuery/CSS/d0|\/|=🔥🔥🌚
WAP to create a class Teacher with data members tid & subject and member functions for reading and displaying data members (C++)
c++
-2 Votos
2 Respuestas
21st Apr 2021, 1:28 AM
Gaming Soul
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
4
5
6
Siguiente >
En tendencia hoy
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes
Which mobile offline app can I use for HTML
0 Votes
HOW CAN I CREATE A GAME AS BEGINNER
0 Votes