Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Can you explain why the commas become the member of new array that is result of the sum of two arrays?
arrays
javascript
0 Vote
3 Réponses
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Vote
5 Réponses
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 Vote
3 Réponses
13th Sep 2016, 1:18 PM
subodh Kumar
What is the benefit of become a pro member?
general
member
pro
pro-member
1 Vote
3 Réponses
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 Vote
5 Réponses
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 Vote
4 Réponses
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 Vote
1 Réponse
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 Vote
4 Réponses
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 Votes
9 Réponses
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 Votes
2 Réponses
9th May 2019, 2:40 AM
Putu Ekky Crisayoga
I'm new here. Who's new too??
challenges
member
new,
sololearn
1 Vote
5 Réponses
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 Vote
1 Réponse
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 Vote
5 Réponses
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 Votes
4 Réponses
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 Vote
2 Réponses
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 Votes
5 Réponses
25th Feb 2021, 7:32 AM
Parri Chandra Mouli
What does it mean Calling a class ??
c++
classes
functions
member
1 Vote
4 Réponses
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 Vote
3 Réponses
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 Votes
6 Réponses
30th Mar 2017, 10:04 AM
Chaima Elbahraoui
What is meanig of code =++ count
data
function
member
static
1 Vote
2 Réponses
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 Votes
1 Réponse
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 Vote
1 Réponse
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 Votes
3 Réponses
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 Votes
2 Réponses
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 Vote
2 Réponses
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 Vote
3 Réponses
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 Vote
4 Réponses
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 Votes
3 Réponses
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 Vote
1 Réponse
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 Vote
1 Réponse
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 Votes
1 Réponse
14th Nov 2017, 1:35 AM
SRI VISHNU T
pointers to structure members
identifiers
member
memory
pointer
struct
0 Vote
5 Réponses
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 Vote
4 Réponses
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 Votes
7 Réponses
10th Mar 2018, 5:57 AM
Nikhil Punwani
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 Vote
3 Réponses
4th Aug 2018, 3:05 AM
Prateek Chaturvedi
Functions in OOP
class
cpp
member
object
oop
5 Votes
3 Réponses
20th Dec 2016, 3:31 PM
StillSoul
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 Vote
1 Réponse
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 Votes
3 Réponses
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 Vote
1 Réponse
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 Vote
6 Réponses
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 Vote
0 Réponse
24th May 2018, 1:19 PM
Prasun Kumar Parate
Class or instance - who owns that name?
assignment
class
instance
member
python
reference
scope
2 Votes
6 Réponses
25th Apr 2019, 2:39 PM
HonFu
how to create a form for signup?
fake
form
hack
member
php
signup
3 Votes
5 Réponses
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 Vote
2 Réponses
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 Vote
2 Réponses
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 Votes
2 Réponses
21st Apr 2021, 1:28 AM
Gaming Soul
A Daughter and a Son class inherit the Mother class. Each of the classes has print() which outputs the name as class member vari
computer
science
0 Vote
1 Réponse
23rd Apr 2020, 6:30 PM
Daniel Ngwasi
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
4
5
6
Suivant >
Aujourd'hui en vedette
The hidden trap in python function
4 Votes
What is a web browser intension?
1 Votes
Percobaan
0 Votes
Mentors
0 Votes
Thread local : global vs local
0 Votes
Codding lern
0 Votes
What are these purple cubes good for?
0 Votes
Postgrrsql and python
0 Votes