BinaryByter
It was regarded as a language to increase efficiency
Ariana
Like when everyone was doing machine code
BinaryByter
That's what it was
Ariana
Well until they realized C was actually useful
BinaryByter
It probably never had any intents of making programmung easy
olli
https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list
Anonymous
does JavaScript hav scope in future?
BinaryByter
does JavaScript hav scope in future?
No and /warn off topic, no cpp
Ariana
I would highly recommend like bucky’s videos
Ariana
I dind video much easier
BinaryByter
I prefer reading
BinaryByter
Ok so tume to discuss my plan: i have physhics lesson first, so ill do homework then. Then, i'll read my calculus papers
BinaryByter
BinaryByter
'asking about other languages right after joining got you banned'
klimi
i havent noticed
Anonymous
sorry
BinaryByter
No problem
BinaryByter
We are in a 3.9k members group
BinaryByter
If i let things escalate, they will
klimi
y
olli
does JavaScript hav scope in future?
Javascript does have scopes already You can find explanations even on Wikipedia on "Scope (Computer Science)"
Alignant
That's how law works... world is cruel
Ибраги́м
1. Because u do it, everyone should do it also. 2. Even if some did it or is doing it, can't they stop when they know it is bad?.
Mat
#offtopic
Marie
#offtopic
https://t.me/joinchat/Ci0Cak-BPuxaHdcbjab4QQ
Zeus
Idk what's wrong.. :/
Zeus
The code always stuck once I input any number 😭
Zeus
#i_nuub
Mat
i = a?
Om
it seems that you have initialized int a, but you didn't give him any number. then you increment a with garbage number.
Mat
THere is something wrong, and the IDE is telling you that
Mat
That's C++, so int a {}
Zeus
i = a?
Yes... The a is to detect how many digits the user entered
Mat
That's C++, so int a {}
That will init a at 0
Zeus
Zeus
ALWAYS
Oh ohkay! Wait
#>|~|√-\®®¥[∆]
I didn't initialised it... Um should I?
I think u intialised I over there
#>|~|√-\®®¥[∆]
It's not the issue
#>|~|√-\®®¥[∆]
U should use condition I hope like I<=a
Zeus
I think u intialised I over there
I initialised a=0... Same problem
Mat
a is an integer
Okay, but the for loop expect a condition in its middle gap
Mat
I initialised a=0... Same problem
use, as a suggestion, int a {value} to init variables
#>|~|√-\®®¥[∆]
#>|~|√-\®®¥[∆]
Try I<=a
This might work
Zeus
Okay, but the for loop expect a condition in its middle gap
I fixed the middle condition in for loop and turns out the code is running but the output is wrong😂
Zeus
This might work
Yes it did!!
Zeus
Good. At least it's ending
Yea but I don't know what loop is causing trouble . I entered 12 and the output is 0😂
Mat
Indent the code better
Zeus
Should use while instead of do while
Mat
After the do while loop your n is equal to 0. What do you expect from it?
Zeus
How do I.. um... Revert the value of n back after the while loop exists?😅😅
Mat
Use more variables
Zeus
Okay so..... I'll use one more variable let's say...z And will set z == n;
Mat
No
Mat
int z {n};
Zeus
int z(n);
Zeus
Okay!
Mat
== is equal = is assignment
Mat
int z(n);
Curly brackets {}, not ()
#>|~|√-\®®¥[∆]
int z(n);
This makes it as an argument for a function which doesn't exist
klimi
So bye guys
Zeus
klimi
Bye @Occupato @linuxer4fun , have a nice week
Zeus
Should I declare it as... Int t{n}; Or int t; t{n};
klimi
School sport event... For week
klimi
Terrible... >.>