Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Preços
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
Is it possible to call private data member from operator overloading function even when it is not declared as friend function??
c++
0 Voto
3 Respostas
6th Aug 2018, 1:32 PM
Shikhar gupta
We known that the * operator is used for declaration of pointer and we can only put the address in the pointer eg int *p=&a;
c++
2 Votos
5 Respostas
30th Jan 2018, 7:19 PM
Ankit Rathore
I am trying to do operator overloading in Queue But there is some error in the code. This is project problem of C++ Queue Manage
c++
classes
objects
operator
operator-overloading
0 Voto
3 Respostas
16th Jul 2021, 12:05 PM
Rgodella
Can you explain me this?
bitwise
coding
execute
explain
operator
python
python3
sololearn
7 Votos
7 Respostas
29th Apr 2018, 4:05 PM
Maninder $ingh
What does the scope resolution operator '::' do in c++? Why do we have to use it while declaring the function outside the class?
c++
operator
resolution
scope
1 Voto
1 Resposta
21st Jul 2019, 7:41 AM
Merlyn J
If the time (0) operator is seconds ... then what is minutes and hours or even days maybe?
rand
-1 Voto
1 Resposta
5th Jun 2018, 2:55 PM
Fizzleburn
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 Respostas
14th Oct 2019, 1:38 PM
Amit chavare
Why it giving output 0.0?
math
operator
output
precedence
python
python3
sololearn
variables
wrong
7 Votos
9 Respostas
7th Jun 2018, 11:42 AM
Maninder $ingh
Please help me to output the first number + operator + second number and it is not divided by anything, I don't know why
calculator
help
python
python3
1 Voto
2 Respostas
2nd Nov 2020, 3:08 AM
João Bernardo
I want to choose another color for text by using js and use boolean operator " || ". Why doesn't it work now? Help pls🙏🙏🙏
boolean-logic
js
2 Votos
2 Respostas
11th May 2020, 1:15 PM
Pavel Durov
Tutorial : simple if else statement (ternary operator) - MAKE IT EASY 📌
else
If
javascript
operator
ternary
trick
8 Votos
2 Respostas
21st May 2017, 12:21 AM
coutable.n
I used an OR operator in my if-else statement, I put two integers in the condition separated by ||. Syntax error shows..Why??
error
operators
or
1 Voto
3 Respostas
24th Nov 2016, 3:35 PM
Aniket
Good day! Why, if you add the boolean operator <= to the for loop, then the count will start from one, not from zero
c#
0 Voto
2 Respostas
2nd Jun 2021, 6:04 PM
أندريه
I am confused of the operator to use in this python code, I've tired AND, OR, COMMA can someone help with what the answer is??
python
0 Voto
3 Respostas
3rd Sep 2024, 7:12 PM
kennedy imoni
why is it that in this code when I use the delete operator the array still has a value and the value is not 0
c++
dynamic
operators
0 Voto
2 Respostas
24th Jul 2020, 12:03 PM
Emmanuel Abraham
C# - Not Equal?
c#
comparisons
if-statements
operator
operator-overloading
2 Votos
1 Resposta
19th Oct 2023, 9:17 PM
21kHzBANK21kHZ
Return the number of even ints in the given array. Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1.
3
python
0 Voto
3 Respostas
20th Sep 2019, 6:23 AM
AMAN TOMAR
What's the purpose of * operator when all it does is pull out only the first element from a tuple/list?
lists
python
tuple
0 Voto
1 Resposta
13th Aug 2024, 8:07 AM
Igor Matić
I want to do a bitwise & operator in my program. I don't know why return 0. I do bit and bit.
&
operator.
0 Voto
2 Respostas
11th Jun 2020, 6:18 AM
Malick Diagne
Can someone describe the bitwise operator (&) in a for loop? Like: int bitNum=0b01010101;for (i=0b00000000; i &bitNum; i++)
java
operators
0 Voto
1 Resposta
17th Aug 2016, 4:16 PM
Lkas
Does this mean that for this or operator when the Frist argument is true then it returns true and of the Frist argument is false
boolean-logic
0 Voto
3 Respostas
14th Jun 2020, 7:06 PM
Chisom Ndubuizu
in c++ which operator has only one operand located at its right and the only thing that it does inverse the value of it
c++
2 Votos
3 Respostas
20th Sep 2017, 2:47 PM
Jaya Varshini
difference between is and == in python3.why the same is operator giving different output when comparing id of the list and direc
python3
0 Voto
2 Respostas
20th Dec 2018, 6:13 PM
Vijaya Karanki
I tried to print out letter A single B twice C tripple to Z twenty six using user input and in place operator but failed help
3
python
1 Voto
2 Respostas
20th Sep 2020, 11:59 PM
Muhammad Abdulmalik
How Do I assign a variable in a class by using = operator (like we do with int, string and the other data types) ?
=
c++
classes
operator
with
0 Voto
3 Respostas
7th Aug 2018, 10:01 AM
Mustafa K.
What is the uses and benefits of bitwise operator...?
benefits
bitwise
c
c++
java
operator
1 Voto
3 Respostas
11th Jun 2019, 5:54 AM
Dedseć
How to Assign values to each Letter Or Number in JavaScript?
assigningvalues
help
javascript
operator
strings
variable
2 Votos
5 Respostas
16th Mar 2018, 12:29 PM
Raaja Thalapathy
I was making a simple calculator using if but i am not able to get operator as an input
java
0 Voto
1 Resposta
23rd Dec 2016, 12:34 PM
Amol Jandial
I used an OR operator in my if-else statement, I put two integers in the condition separated by ||. Syntax error shows..Why??
error
operators
or
0 Voto
3 Respostas
24th Nov 2016, 3:35 PM
Aniket
How to write gaps in switch operator C++?For example I want to write a program that input year t and output a historical period:
c++
gaps
switch
2 Votos
1 Resposta
20th May 2017, 5:18 AM
Chòrie Nądbýllàune
[CLOSED] What happens if the dividend is smaller than the divisor with modulus operator?
c++
division
larger
logical
modulus
operator
smaller
2 Votos
3 Respostas
22nd Jun 2019, 11:56 PM
UrBoyO
C+ multiplying a double with an undeclared number
c
c+
c++
double
floatingpoint
operator
1 Voto
2 Respostas
23rd Nov 2020, 1:03 AM
Jin
I want to solve a particular code using ternary operator alone. I also tried it,it also works fine , you can see that code below
about
code
my
operator
ternary
0 Voto
2 Respostas
4th Feb 2021, 5:13 AM
Yogeshwaran P
How to type this code?
code
conditionals
java
operator
0 Voto
2 Respostas
15th Feb 2017, 12:26 PM
freedom
Can I get event of modification into unordered_map or not
[]
c++
operator
operator_subscript
operator-overloading
unordered_map
0 Voto
3 Respostas
13th Jul 2022, 12:10 PM
Ketan Lalcheta
a^=b?
assignment
c++
challenge
cpp
doubt
learning
operator
question
quiz
2 Votos
15 Respostas
22nd Sep 2017, 2:36 PM
Siraz Naorem
I am learning for pointers in C++. But the request memory section which used new operator I cannot understand clearly.
c++
description
marking
pointers
1 Voto
1 Resposta
17th Dec 2017, 11:03 AM
Weng Yau
On logical Operators and SELECT if we choose operator NOT value-X we get all the other values apart from value-X?
mysql
operators
sql
0 Voto
1 Resposta
30th Aug 2016, 12:03 PM
Konstantinos Pap
Show some love for bitwise operators
binary
bitwise
code
operator
py
python
1 Voto
1 Resposta
9th May 2018, 2:47 PM
Talley Berry
Do all variables in a struct share a continous memory like arrays ?
access
array
c++
operator
structs
0 Voto
2 Respostas
27th Jul 2020, 9:08 PM
Mustafa K.
Whats the meaning of this
c++
operator
resolution
scope
0 Voto
1 Resposta
31st Aug 2017, 6:19 AM
stephen haokip
What is memory management operator?
c++
management
memory
operator
0 Voto
1 Resposta
4th Mar 2018, 7:02 PM
Purvank Bhiwgade
Can you write a program to show the bits of an integer?
bitwise
for
loop
operator
1 Voto
1 Resposta
5th Nov 2017, 3:53 PM
Rahul Jain
using BETWEEN and >= AND <= are the same right? the BETWEEN operator includes the values listed and everything between them, yes?
sql
where
-1 Voto
3 Respostas
1st Feb 2016, 3:09 PM
andre paige
Does anyone have a handy operator cheat sheet? If not, I am going to start one. I have already forgotten what != means. :-(
boolean-logic
python
0 Voto
3 Respostas
6th Aug 2016, 10:48 PM
Todd K.
Ok. In these lessons there is one thing I couldn't understand. What's the point about operator overloaded and why are they useful?
c++
0 Voto
2 Respostas
13th Jun 2016, 6:06 AM
Andrei Cîrpici
if I have a queue class that uses nodes and I want to overload the + operator to add a queue to another queue.
c++
date
estructura
nodes
queue
0 Voto
1 Resposta
10th May 2018, 4:40 AM
Gonzalo Caira Aguilar
What is a modulus operator like how can i can find the result of a modulus operation without the program what operation is it?
c++
modulus
operators
0 Voto
3 Respostas
28th Dec 2016, 8:07 AM
Edoardo
Why sizeof("xyz") is 4?
c
c++
operator
sizeof
string
0 Voto
3 Respostas
22nd Mar 2017, 5:08 PM
Rax
Bitwise operater in c++
bitwise
c++
c++programming
cpp
operator
0 Voto
2 Respostas
6th Aug 2020, 5:40 AM
Raju
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
23
24
25
Próximo >
Quente hoje
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
Python intermediate help with dictionaries
0 Votes
Marquee
1 Votes
Fill in the blank to declare a static variable.
0 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
RUST'S FUTURE
1 Votes
Popsacles Aufgabe
1 Votes
How far do courses go on Sololearn?
0 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes