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
(C++)Can I use the same identifie for the return variable of a function and the variable in the main program where it's stored?
c++
functions
identifiers
variables
1 Vote
3 Réponses
9th Dec 2017, 11:08 PM
Fatess
Why cant we use strings in user defined function ...how to use string in user defined function?????
c++
strings
-1 Vote
1 Réponse
4th Jan 2019, 11:28 AM
Aamir Mehmood
What is the best website to study dynamic binding and pointers and array and function and structure?
c
0 Vote
1 Réponse
25th Aug 2016, 11:40 AM
Mayil esh
What it indicates: v(input,input+7) in the code below? And why to use that in sort function too?
c++
cpp
std::sort()
0 Vote
1 Réponse
22nd Aug 2018, 2:08 PM
Tincture
Where am I going wrong. Trying to write a function that adds 2 strings index by index
python
1 Vote
1 Réponse
11th Oct 2017, 9:46 PM
Pride Mawire
How can i write a function which add specific amount of whitespace to end of the string.
html
javascript
strings
1 Vote
1 Réponse
13th Aug 2017, 11:26 PM
oneCaptain
hey guys how to use random function in this app and is its header file <cstdlib> ??
c++
0 Vote
1 Réponse
31st Aug 2016, 10:29 PM
Asim
. Write a program in c++ which defines a function power() to return x raised to y.
c++
-5 Votes
2 Réponses
11th Jan 2022, 3:19 PM
Swati Singh
How does closing a file explicitly by using close() function provide advantage in terms of memory utilization?
c++
0 Vote
1 Réponse
4th Jan 2017, 1:09 PM
Syed Bilal Ali
Why not using Regular function to take the arguments and do the same thing as decoretor does
decorators
python
0 Vote
1 Réponse
18th Oct 2016, 12:21 AM
mohsen jamali
How to add a property to this object of a function via call or apply in JavaScript?
javascript
0 Vote
1 Réponse
25th Apr 2017, 4:44 PM
Chinmoy Samanta
Anyone Can Solve This Problem? (In the below function some mistake. please solve and put correct answer.)
error
function-arguments
python
python3
readonly
sololearn
-1 Vote
1 Réponse
14th Dec 2017, 12:49 PM
Ibrahim
Is there any code to find the current temperature or temperature of cpu or what ever in c++ complier
function
runtime
text
time.h
0 Vote
2 Réponses
8th Jun 2017, 5:20 PM
SatanicAngal666
trying to Implement a class which takes another class as a parameter, caused to "no matching function for call to myclass(B)"
c++
classes
composition
0 Vote
3 Réponses
16th May 2017, 4:23 PM
arash ardeshiri
If we reasign a built in function in Python, it loses it's original behaviour, then how can we get the original behaviour of it?
functions
print
python3
variables
1 Vote
2 Réponses
27th Dec 2018, 7:30 PM
Punyasloka Sahoo
Can someone please tell me whether the console in JS speak or not? I want to make a function which will welcome the user.
console
html
js
responsivevoice
0 Vote
2 Réponses
10th Apr 2019, 4:42 PM
Piyush Kumar
Why doesn't this code work?
buttons
function
html
problem
visbility
0 Vote
3 Réponses
31st Jan 2019, 4:52 PM
dimitris9
Hi all. Importing whole module or necessary function from module makes difference in speed of running of code?
python
0 Vote
2 Réponses
21st May 2017, 8:19 AM
Rashad Afandiyev
What is the function of inplace operators really coz x=4 x=x+4 x 8 (this serves the same function)
operators
python
0 Vote
2 Réponses
14th Jul 2016, 11:17 AM
hacker charlo
You need to design an iterative and a recursive function called replicate_iter and replicate_recur respectively which will recei
python
0 Vote
2 Réponses
17th Sep 2016, 1:29 PM
Dennis
what does h(3231) return for the following function definition? def h(x): (m,a) = (1,0) while m <= x: (m,a) = (m*2,a+1) return(a
python
-1 Vote
2 Réponses
13th Aug 2019, 6:06 PM
Su bagar Miwn
HELP fix error function to read two double type numbers from keyboard. B)function to calculate division of these two numbers?
error
exception
handling
java
0 Vote
1 Réponse
18th Oct 2020, 1:12 PM
Charlie Z
Define a function named longest_duplicates that returns the length of the longest sub-array of duplicates in a given sort array.
c++
1 Vote
2 Réponses
3rd Mar 2017, 5:52 AM
Tosrif Jahan Sakib
What to add in rand() function so that each random no will pop up the screen only once during execution
c++
rand
1 Vote
2 Réponses
16th Apr 2017, 9:43 AM
Tanmay Shimpi
CSS + JavaScript Transition - help -
animation
css
developement
function
help
how
html
javascript
transition
web
-1 Vote
11 Réponses
26th May 2019, 3:30 PM
Ginfio
Problem in the code given in description.Why is the semicolon placed after printsomething ?It is a function & no ; shud be used
functions
semicolon
0 Vote
2 Réponses
6th Jun 2019, 1:03 PM
Gaurav Pratap singh
Does developer used to be memorize every single tags, keyword, function, etc?
class
element
function
keyword
programming
tag
4 Votes
2 Réponses
10th Nov 2017, 1:40 PM
Elvin Auresius
Did graphics Library function work in compiler i mean in this app? I was trying to draw the walls in 🐍 game using graphic why?
c
1 Vote
2 Réponses
1st Jan 2019, 9:44 AM
Lata Mishra
When I click on the button he make the change I want but the other function of the other tags do not work again in HTM Why that?
html
0 Vote
6 Réponses
28th Dec 2017, 5:48 PM
Sa'ad Awad
Can anyone pls tell me that why static is used in every method(function) in java?( while this is not the case in C++.)
c++
function
java
method
static
2 Votes
2 Réponses
10th Jun 2017, 3:13 PM
Harshal Wadhwa
Why does this return an error? Functions, randomization, innerHTML
function
innerhtml
javascript
math
randomization
0 Vote
2 Réponses
21st Jun 2019, 3:21 AM
YoBoi
can someone tell me what am i doing wrong in overloading this operator
c++
classes
cpp
function
operator-overloading
operators
0 Vote
2 Réponses
4th Apr 2021, 7:33 AM
Mihail
Timer in c programming
c
function
in
read
terminate
time
1 Vote
1 Réponse
6th Aug 2019, 10:43 AM
malepu rakesh
Why is func(buf) equal func(&buf)
address
c++
call
function
pointer
void
2 Votes
2 Réponses
21st Aug 2018, 7:42 PM
K Locher
C++ printf() versus cout which is more powerful?
c
c++
cout
function
powerful
printf
1 Vote
2 Réponses
9th Apr 2020, 12:34 PM
DESSIE BAHIRU KEBEDE
The Input function doesn't prompt me to enter required input whenever i make use of "try it yourself" on my device.Need help,pls
booleans
python
0 Vote
2 Réponses
5th Jun 2020, 1:58 PM
El uthmany
I dont think the follow mechanism is being used to its full capacity. It's function on sololearn is a bit extraneous.
all
1 Vote
2 Réponses
14th Mar 2018, 11:58 AM
Joe Munene Karanja
What is the Date function in c# ? and how I can count the days from a date till now ?
c#
0 Vote
2 Réponses
25th Aug 2019, 2:04 PM
Fuad Abdalsslam
I don't understand the difference between parameters and arguments, if they're both being sent to a function to be processed, and they're both variables, what's the difference?
functions
php
2 Votes
4 Réponses
11th Mar 2016, 9:14 PM
Heather Brown
Write a function that takes a string and a letter as its arguments and returns the count of the letter in the string.
function-arguments
python3
-2 Votes
3 Réponses
2nd Oct 2021, 4:28 PM
Bobby
What is the function of auto and &(x) ? (they work the same way in this snippet of code below)
c++
cpp
0 Vote
1 Réponse
25th Aug 2018, 2:42 PM
Tincture
Jquiry identifying a button - Question
button
function
help
js
onclick
question
web
6 Votes
1 Réponse
23rd Apr 2018, 5:26 PM
Arne Van Kerckvoorde
Module methods vs Hand-made functions
algorithm
function
module
optimality
0 Vote
2 Réponses
3rd Jan 2018, 3:55 PM
Nonov Urbiznes
What notation does the body of Func use to assign the value 3 to n of given class declaration?
class
datastructure
declaration
function
0 Vote
1 Réponse
12th Jun 2019, 6:43 PM
Ayesha Zareen
rand()
c++
function
rand
rand()
0 Vote
2 Réponses
1st Jul 2017, 12:11 PM
george georgeson
What happens to the original print_text function when the same name (print_text) is used for the new variable?
functions
python
0 Vote
2 Réponses
23rd Dec 2015, 7:10 AM
kris
How to know a age of person through the date birth . With a local date function .
java
1 Vote
1 Réponse
6th Dec 2017, 1:29 PM
Catarina Bernardo
Do we need to declare a function if it is being used as a method in a class??
encapsulation
0 Vote
2 Réponses
14th Mar 2018, 8:02 PM
Abcdefg
Difference between, or reason for, a function returning a value verses one that does not return a value.
c++
functions
value
0 Vote
2 Réponses
21st May 2017, 1:30 PM
Peter Jones
Friends... Is it possible to return an character array from a function and store in a char array variable in main()... in C++??
array
c
c++
function
return
1 Vote
1 Réponse
31st May 2018, 8:47 AM
Sp Maurya
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
114
115
116
...
124
Suivant >
Aujourd'hui en vedette
How to properly reverse a string in python
5 Votes
Using Python on VScode
2 Votes
Python Developer
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
1 Votes
Hearts
1 Votes
Wayss
0 Votes
fully dynamic arrays
1 Votes
Guys who tell me
0 Votes
Question
0 Votes