Corsi
Corsi
Compilatore di codice
Compilatore di codice
Discuti
Prezzi
Squadre
Accedi
Registrati
Menu
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
Why does cin, expecting an int, change the corresponding int variable to zero in case of invalid input ?
c++
error
exceptions
1 Voto
2 Risposte
1st Nov 2017, 4:01 AM
Akashdeep Nandi
String + int
c++
int
string
strings
variable
0 Voti
2 Risposte
8th Jan 2020, 6:44 PM
Zohal
Why can I not assign memory address of a variable to another memory address of a variable?
address
assign
memory
0 Voti
2 Risposte
4th Oct 2017, 9:11 AM
Yusuf
How can I access my count variable from one class that is located in a different class?
java
0 Voti
1 Risposta
2nd Apr 2020, 4:25 AM
Fare Jare
why function initialisation [int main()] and variable defining [int sum;] are both the same command “int” ?
c++
variables
0 Voti
2 Risposte
23rd Apr 2017, 12:47 PM
Azat Jorayev
If I add "public" while defining a variable in main method it shows me error in c#,why?
c#
error
input
0 Voti
1 Risposta
29th Jun 2018, 4:12 PM
Khushboo Gupta
I don't know how to declare variable prw in line 21. I need a little help. I make it on my way.
c++
0 Voti
3 Risposte
28th Aug 2020, 9:28 AM
TeaserCode
Give me examples of codes having variable Boolean,double and single and (!) symbol also plz put the outputs. language is c++
and
symbols
variables
1 Voto
2 Risposte
26th Dec 2018, 3:37 PM
Jonny Walker
Why we can access function created outside the function but cant access variable or value outside the function?
javascript
programming
web
1 Voto
1 Risposta
28th Aug 2018, 9:25 AM
MOKTAN NISHAN
Unexpected Output In Javascript!
but
declaration
else
expected
javascript
object
output
something
unexpected
variable
14 Voti
4 Risposte
30th Sep 2020, 2:07 PM
Narayan Krishnamurthy
What code do I need to use to declare a variable that is a mixture of characters and numbers?
c++
0 Voti
3 Risposte
5th Feb 2017, 4:13 AM
Ritaj J.A
How can I write a program in python that takes a name variable and displays "Your name is awesome"
program
python
variables
1 Voto
2 Risposte
12th Sep 2017, 9:45 AM
Hassan Askri
How to take input in cpp in variable and after how to print that ? I tried it but its print only one world
c++
1 Voto
2 Risposte
11th Dec 2022, 12:48 PM
Girish Sahu
What happens when I pass an integer to a float variable ? Can someone explain me the output of this code ?
c
data-types
float
input
int
output
variables
0 Voti
2 Risposte
25th Aug 2021, 6:28 AM
Sk. Ahmed Razha Khan
Global and local variables and setinterval and clearinterval for JavaScript timer?
clearinterval
global
javascript
let
local
setinterval
timer
variable
3 Voti
7 Risposte
16th Mar 2020, 9:14 AM
Marko Rillo
Y would i ever want to declare a variable from heap than declaring in normal way(i dont what its called? :D)
c++
0 Voti
4 Risposte
11th Oct 2017, 10:06 AM
suryapoojary
Hello, Please I tried printing a variable value along with a string with cout. Cout<< var "Is the answer"; help please
c++
cout
0 Voti
4 Risposte
2nd Dec 2016, 3:00 PM
Nkenfack Tebonfack Mathurin
how can i use if else statement to find the minimum of a and b and assign it to variable min?
else
If
javascript
statement
0 Voti
3 Risposte
23rd Jun 2017, 10:10 AM
Abdelghani Laaroussi
Creating a whitespace in between my session variable output in PHP. I will do two posts with my code snippets for both examples
output
print
session
space
variables
white
with
0 Voti
5 Risposte
7th Feb 2018, 7:46 PM
Making A Change
[Solved] I would like to use the ran variable and have it reset and generate a new number everytime it is called.
python
python3
0 Voti
2 Risposte
25th Dec 2020, 7:07 PM
Adam Stork
What int does in for loop? It declares a variable or other thing ?(sorry for my bad english)
loops
0 Voti
1 Risposta
5th Dec 2019, 4:51 PM
BrodaCode
Why is different specifier used to print out address of variable and pointer some use %x, %u i need clarity please.?
pointers
0 Voti
2 Risposte
10th Jun 2020, 8:37 AM
Femi SONI Y
Guys if u execute this code it will output " smaller than 1" ....how!!! the variable is string not integer?
php
0 Voti
2 Risposte
9th May 2019, 1:13 PM
Omar
CHALLENGE: The variable name is entered from the keyboard. Determine if it is correct from the point of view of C ++?
c++
challenge
challenges
variables
2 Voti
3 Risposte
28th Nov 2017, 9:06 PM
Tretyakov Andrey
why are the id( ) of two lists same when a variable has been used to copy a list that is stored in another variable?
python3
2 Voti
3 Risposte
13th Mar 2020, 12:07 PM
sai
How to Declare string Variable?
c++
text
type
variable
0 Voti
2 Risposte
25th Apr 2017, 2:39 PM
Soumik
Anyone knows how to print a variable from a string? For exemple: var = 3, string = "var". Then, you have to print it from string
python3
-2 Voti
7 Risposte
2nd Mar 2019, 11:51 AM
SlowFast
Suppose int x=36 but i want to print square root of variable x then how should i give instruction to print square root of x .
c++
3 Voti
5 Risposte
25th Apr 2017, 3:05 PM
Harsh
declare a variable that has the age of a person and print user's name as many times as the age in c program
c++
1 Voto
3 Risposte
26th Aug 2021, 9:47 AM
Bashir Kabiru Haruna
How does the subclass Dog inherit the variable legs with the value of 4 from the superclass Animal
inheritance
0 Voti
1 Risposta
10th May 2019, 2:54 AM
Shak 240
How to Assign values to each Letter Or Number in JavaScript?
assigningvalues
help
javascript
operator
strings
variable
2 Voti
5 Risposte
16th Mar 2018, 12:29 PM
Raaja Thalapathy
I think this question is wrong... Either world should be in single quote and used as variable later or hello should b in single tag...
php
variables
3 Voti
4 Risposte
6th Oct 2016, 12:35 PM
simran adake
What if I create a private variable inside the main class, would that mean it'll be available in other classes? What do private variables even do?
access-modifiers
java
5 Voti
3 Risposte
27th Feb 2016, 11:30 AM
Pavitran
My course is asking me to convert a variable containing string "93.7" and another to a decimal. How is this done? Thanks guys.
course
question
0 Voti
4 Risposte
8th Mar 2019, 10:44 AM
Peter
Why is the address of a variable is 12 characters long instead of 8 as given in c course in pointer's section ?
address
c
pointers
1 Voto
2 Risposte
18th Aug 2020, 4:58 AM
Ankush Kurmi
Trivial question about interfaces
constant
final
interface
java
static
variable
3 Voti
4 Risposte
1st Sep 2017, 3:17 PM
Michael Vigato
hi even i read all course about variable but i can't understand can some good people tell what is whats used....?
c++
variables
1 Voto
3 Risposte
30th Dec 2016, 8:43 PM
Aran Bekas
How to clean Java console after case is executed, and why my variable "usuario" doesn't keep the value after reching Agenda.main
console
erase
java
1 Voto
3 Risposte
7th Jul 2017, 6:04 PM
D0vAk1N
To declare an Integer?
c++
int
integer
var
variable
1 Voto
2 Risposte
30th Jun 2018, 8:43 PM
Candice Brown
How can I take many integers from a form post and put them into an array? But that array as a variable after which I foreach ..
arrays
php
variables
0 Voti
6 Risposte
16th Jan 2020, 5:17 PM
⊹≒tɧε8шσσɖɕนttεг≓⊹
How to take input at run time on python ? I'm always used static variable , i want user gives the input in python
data-types
python
2 Voti
4 Risposte
22nd Feb 2017, 7:57 AM
suneel singh
Write an if-else statement that output the word passed provided the value of the variable exam is greater than or equal to 60
good
2 Voti
3 Risposte
1st Jul 2017, 12:34 PM
Aderibigbe Ebenezer Adewale
so this should print variable a up to the value x (wtever u enter) i dont know whats wrong it just prints a++ until it times out
c++
loops
2 Voti
6 Risposte
17th Jan 2017, 6:57 AM
jonathin
How do I solve this question?
code
help
javascript
question
swift
timer
variable
1 Voto
6 Risposte
24th Mar 2020, 9:22 AM
GARYTHEGAMER
Is it possible to "dissect" an answer using javascript?
answer
function
javascript
prompt
variable
3 Voti
2 Risposte
20th Apr 2017, 9:49 PM
iBrandon
Is there a better way of doing this?
input
list
list.append
python3
variable
0 Voti
1 Risposta
23rd Nov 2019, 6:54 PM
Steven Iannucci
81 Comments const Fill in the blanks to make a constant named total and the variable i that is only accessible inside the loop.
javascript
-1 Voto
3 Risposte
29th Oct 2021, 3:49 PM
Kniffin Haruka
if the reference of any variable is deleted, and then if the no. is multiplied to another no. Will it give an error?
python
variables
1 Voto
4 Risposte
22nd Oct 2016, 7:38 AM
Himanee
How does the subclass Dog inherit the variable legs with the value of 4 from the superclass Animal - Java
inheritance
0 Voti
2 Risposte
10th May 2019, 2:54 AM
Shak 240
I need a JavaScript code that would perform a function after a countdown of a value assigned to a variable
css3
html5
javascript
1 Voto
1 Risposta
4th Oct 2018, 8:36 PM
Emmanuel
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
43
44
45
...
50
Successivo >
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Decorators in python.
2 Votes
Hello !
0 Votes
Please click me
0 Votes
Salut tout le monde
1 Votes