Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Why is “to” list not empty on second initialisation? And can we initialise a list in arguments of a function?
arguments
funtions
lists
python
1 голос
3 ответов
3rd Jan 2022, 4:10 AM
Nishant Srinet
How to modify a private data member of a class through a non member function?
c++
code
definition
0 голосов
1 ответ
16th May 2018, 3:36 AM
Code Ripper
Can anybody please explain the malloc function? I only know that it is used in dynamic memory allocation.
c++
0 голосов
3 ответов
13th Jul 2017, 6:01 PM
Inderjeet Sahu
Why shouldn't we initialize a variable when we use global in a function & why we can initialize a normal variable in a function?
variables
1 голос
8 ответов
7th Apr 2017, 2:28 PM
bhavana goud
Why we are not using void main for declaring a function? Instead we are using such as int?
c++
functions
0 голосов
3 ответов
19th Oct 2016, 2:53 PM
Abhay Selva
why did instantiation an object in source file out of member function? how can use from it?
c++
0 голосов
1 ответ
16th Aug 2019, 1:07 PM
Alireza Abbasi
what is the <div> function? i still dont understand how to use it and how to connect it with css
html
1 голос
3 ответов
28th May 2016, 4:06 AM
Daniel Setiawan
Why we can access function created outside the function but cant access variable or value outside the function?
javascript
programming
web
1 голос
1 ответ
28th Aug 2018, 9:25 AM
MOKTAN NISHAN
Can we use the below piece of code in c if we've to replace clrscr() function with an user-defined or custom function?
c
clearscreen
function
user-defined
1 голос
2 ответов
23rd Oct 2021, 2:19 AM
S Srividhya
Are you familiar with Ackermann function? Can you code for both recursive and non-recursive versions of it?
c#
c++
functions
python
recursion
0 голосов
1 ответ
2nd Oct 2017, 7:48 AM
Louie Jon Antuine
Can we use min or max function with count function? In a single query on a column of a table
sql
0 голосов
3 ответов
21st Jul 2016, 6:29 PM
ascetic
Why is it necessary to create automatic instance of main function? Can't we make its data members, an object variable?
insert
main
static
0 голосов
2 ответов
24th May 2018, 2:45 AM
Komal Asthana
Why do we need * eval() *method in javascript when we can just use the parameters declared in the function?
javascript
web
0 голосов
3 ответов
28th Nov 2017, 5:19 AM
Damilola Daramola
How to write a function that takes user input(a number) and show its sum with 10,and then call the function?
c++
functions
problem
0 голосов
3 ответов
27th Feb 2017, 2:43 PM
mohammad mazhariroshan
Can someone help me appreciate the use of a friend function? Will be very thankful to them. ☺️
c++
classes
friend
inheritance
0 голосов
2 ответов
10th Nov 2016, 11:13 AM
Orca
There are many kind of computer languages, Could you tell me why they are different? or Do they have different function?
c
c++
css
html
java
javascript
mysql
php
python
2 голосов
2 ответов
4th Oct 2017, 3:22 PM
Miyoung
Why can I return a local variable from a function? Shouldn't local variables be deleted from the stack after function execution?
functions
0 голосов
2 ответов
29th Nov 2018, 10:12 AM
Matthias Folte
What is #include<cstdlib> used for? What is the reason for using this when using rand or srand function?
amateur
c++
cstdlib
include
0 голосов
0 ответов
15th Nov 2019, 5:47 PM
Kumar Ashish
suppose I m giving input "my name" than the output that comes is only "my" how can I get whole sentence using input function?
input
output
python
0 голосов
5 ответов
13th Jul 2016, 5:37 AM
Gaurav Kumar Tiwari
Why do we make an object constructor using this keyword and don't we simple write return { a: x, b:y} in the function?
javascript
2 голосов
1 ответ
27th Oct 2020, 5:27 PM
Karak10
What exactly is the seed value that is the parameter of the srand function? It hasn't been clearly defined to me.
rand
srand
0 голосов
2 ответов
5th Jun 2019, 9:52 PM
Guerschom Tambwe
It will probably be covered in a later lesson, but shouldn't variables be declared before the main () function?
c++
variables
0 голосов
2 ответов
14th Nov 2016, 4:28 AM
Josh Cammack
I really want to know what is constructor function? I make plenty of research on it but still I did not get exactly what it is.
c#
java
0 голосов
3 ответов
3rd Oct 2021, 11:30 AM
Azzuro
How do you print a symbol used as a function w/o it executing the function? Eg, print quotes (" ") or slashes (\) as text?
c++
characters
symbol
0 голосов
4 ответов
14th Jan 2019, 7:27 PM
Adam
Why can we not print the valur of 'var' without obj.printinfo function.? What is the role of this function?
c++
classes
this
1 голос
1 ответ
18th Feb 2017, 12:46 PM
Black Temple
Can anyone please explain what is java string replace all ? What is function? Where and how we use this?
java
0 голосов
1 ответ
2nd Aug 2022, 5:59 PM
Manohar Kaloni
writt a Python program that use an if statement to find the smallest of three given integers without using the min function?
python
1 голос
2 ответов
12th Nov 2017, 6:39 AM
Belal channel
How can I make the letters measured in the percentage of this code be those of the user input and not those of the function?
python
0 голосов
2 ответов
29th Apr 2020, 7:25 PM
Sentimiento Perico
what is the alternative for using a max function? I do not want to use it and I need to find the largest number of user input
python
1 голос
5 ответов
11th Sep 2017, 9:24 AM
Mai Aljuaid
given a string, and a integer, how to remove the index of that string without using any string process function?
indexers
python3
strings
1 голос
1 ответ
15th Nov 2017, 10:24 PM
DONG PEI
Does a file will be global if its objected is created globally but opened in main or any other function?
c++
file
1 голос
1 ответ
12th Aug 2017, 9:47 AM
Shubham chauhan
Is there a method to validate the correct number of arguments are sent to the function before calling the function?
functions
php
0 голосов
1 ответ
1st Aug 2016, 1:30 PM
Jonathan Giles
How do I run a php script who runs a function which saves something on a .txt file without refreshing that php function?
file
function
php
refresh
writing
1 голос
2 ответов
20th Mar 2017, 7:12 AM
Ciubotaru Bogdan
How to use newline statement in print function? How to print the color of the object in next line in below code?
&
classes
objects
python3
0 голосов
1 ответ
7th Aug 2020, 2:31 AM
Ashish Singh
how can we return a value from a function if variables inside a function cease to exist outside of that function?
c++
0 голосов
2 ответов
3rd Jul 2017, 12:00 PM
Manisha
if 2+3 works and gives 5 ...why will somebody bother to use int"2"+int"3"?? can anybody tell real significance of int function?
python
type-conversion
0 голосов
2 ответов
27th Aug 2016, 6:06 AM
Heisenberg
Is there a way to upload code to my Discord bot so it can be online and function? I need this to be on mobile.
discord
mobile
0 голосов
2 ответов
28th May 2019, 9:19 PM
Danger
can we use a string nd a numeric calculation in same 'print' function? Like print('Hello world!\n'1+1) its not working I m
Umair
0 голосов
1 ответ
5th Sep 2016, 9:12 PM
Harry Andrison
Can someone explain why the click function code for the remove button had to be coded inside the add button function?
button
code
functions
jquery
0 голосов
1 ответ
29th Mar 2017, 12:18 AM
Brea Torres
how do I make pyqt5 QLineEdit accept value like input() in normal programing and to call the value to perform a function?
pyqt5
python
qdesigner
qlineedit
0 голосов
1 ответ
12th Aug 2020, 7:41 AM
Ayomide Akindahunsi
Why are we using virtual functions in C++? What is the usage of attack function in virtual function? Can anyone explain me?
c++
polymorphism
1 голос
1 ответ
11th Feb 2017, 3:59 PM
Nithyapriya
in c/cpp, how can we check the returned value to the OS of main(or exit, ...) function? just i want to know.
cpp,
exit
main
0 голосов
1 ответ
18th Oct 2017, 6:22 AM
MD QAYAMUDDIN
What is the meaning of the following line in a class member function? Its all about this pointer! But i wanna know the exact ans
c++
0 голосов
2 ответов
21st Sep 2018, 2:36 PM
Bunny
The gets() call always gets ignored due to the carriage return or new line. What is the prosper way to use the gets() function?
c,
c++
0 голосов
1 ответ
7th Dec 2017, 11:54 AM
Arif Badar
If i want a function to get input(s) from the user, how do i store the values into integers inside the int main() function?
c++
functions
input
0 голосов
1 ответ
4th May 2017, 5:59 PM
K1llJ0Y
does the return statement dépends on thé argument given to thé function? because this function prints none because there was no argument given to it.
python
0 голосов
2 ответов
30th Jul 2016, 5:32 PM
Alain Eros Prestige Musoni
Is there a limit in open function? Im opening one (small) file and when im trying to open a larger one it simply give an error.
files
python
0 голосов
1 ответ
12th Jan 2017, 5:29 PM
omeriko84
Why are virtual functions needed? if you had a base class with an attack function and you had a derived class (n) with an attack function could you not just use n.attack(); to access that function?
c++
0 голосов
3 ответов
27th Aug 2016, 10:25 PM
Rondes
what is the point of setting 'speed=a' in the 4th line of this code instead if just directly using 'int speed' in the parentheses of the 'setcarspeed' (3rd line) function?
c++
1 голос
1 ответ
23rd Dec 2016, 1:18 PM
Cody Arthur
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
13
14
Следующий >
Актуальное сегодня
What's wrong with this code ? ( Beginner)
3 Votes
Pig Latin
0 Votes
Please rate my code from 1 to 10
2 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
Uuu
2 Votes
I’m new someone can help me
0 Votes
Recursion doubt
2 Votes