Anonymous
I've asked him if we can use switch but he didn't reply
Anonymous
LoL
Anonymous
LoL
Cant use switch It need constant value Percentage changes for different students
Anonymous
.
Using ? Can do that But dont know how to use
Anonymous
#ot
Anonymous
Lol
Zorrito
Can anyone help with vurtun/nuklear?
Anonymous
Array of strings = “hey man”, “6”, “xd”
Anonymous
;from my inout
Anonymous
Input
Ghoul
try vector it is much easier
Anonymous
Will check
Ghoul
or string class or or may be try more basic .char array
Mihail
" \n"[i == n-1]
If i isn't equal to n-1, that condition will evaluate to false which would be the 0th index, so " ", but if i is equal to n-1, then that condition will evaluate to true, which is 1, so it'll access the element at index 1 which is "\n"
Ghoul
why it is only valid for last index??
Mihail
why it is only valid for last index??
Because n-1 doesn't change and so the only time that'd be valid is when the loop is on the last iteration
Ghoul
what if i want to print a random index char from string other than last index "abcd" c to be printed??
Ghoul
what should condition be like?
Mihail
So you just want to print a random character from the string?
Mihail
https://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution
Anonymous
use macro
Giv simple example
Dhina17 [AFK]
Hello world
Dhina17 [AFK]
#ot
Anonymous
Hii
Dark
This is a C++ chat not a hacking chat
Dark
I am sorry I just get angry at script kiddies. Stupid questions like “how do I hack wifi” or “can I use someone else credit card for Netflix, can they track me” I am sorry but that one killed me
Dark
Yes but again to learn to hack you got to get very good understanding of how a computer works. They is not such thing as a video that will teach you to hack, is an art form and is very difficult and takes people 10 to 20 years to get good at.
Dark
Most of them are cons and will try and get you to install malware lol 😂
Dark
No you need to understand how the computer work, start by learning assembly x86
Anonymous
what does developer option in Android means?
luke
what does developer option in Android means?
There are many options that allow you to simulate app stresses or enable debugging options. Android Developer Options allow you to enable debugging over USB, capture bug reports on to your Android device, and show CPU usage on screen to measure the impact of your software.
Dark
what does developer option in Android means?
It allows to get info on the phone that nominal people don’t and lets you test your apps on it
Dark
I use it when I develop my own android apps
Dark
(And my apps crash when I start the service fuck)
luke
Guys I need help in implementing TSR in C. Any suggestions on which books to refer to?
Anonymous
oh 🙄 thanks
luke
Give me a sec
Take your minute, man.
Dark
That’s has lots of different books on programming
Dark
Is has C and C++
Dark
Any particular ones?
No just choose you one you want
Dark
Is my collection on books and help me learn programming in different languages and learn new algorithms
luke
It's lagging like a lot
Dark
It's lagging like a lot
That’s your internet connection
Dark
Dark
Dark
Works for me
Giorgio
hi guys i have a problem with my program... why don't change my dekstop ? https://pasteboard.co/IhPuJLK.png
Giorgio
compile but don't change the image
Anonymous
gets function isn't taking any input. is it because of buffer or anything else?
Anonymous
if buffer how to clear it ?
Anonymous
Sometimes it really helps
Anonymous
gets function isn't taking any input. is it because of buffer or anything else?
int a,b; char c[80]; cin >> a; gets(c); cin>>b;
Tushar
fflush
Anonymous
Use fget
okie will try
Tushar
Use it
Tushar
It will clear buffer
Anonymous
fflush
Btr use this
Anonymous
used not working
Anonymous
Then u can try out fgets bro
Anonymous
fgets worked thanks 🙂
Anonymous
Most wlcm
Anonymous
thank you🙂👍
Muhamed
Hey guys if you have c++ project please send to me
Anonymous
what? why?
Anonymous
🙄
Muhamed
Yap
Anonymous
Yap
tic tac toe
Muhamed
What?
Anonymous
tic tac toe game
Anonymous
make a program which allow two player to play tic tac toe
Talula
make a program which allow two player to play tic tac toe
Easy task... make computer play Tic Tac Toe.