Rahul
Can anyone suggest me a good book for c++ ?
Rahul
/get
Ludovic 'Archivist'
Blue text must click
Dima
Blue text must click
/blue_text_must_click :)
Anonymous
Good morning guys
NXiss7
There is no absolute security. Bu I'm creating an open source program that uses OpenSSL for encryption and I have to store the user's password and maybe encryption keys. Since there is no hack proof way (we all know that a simple memory dump would be sufficient to get the data or you could search memory using programs like Cheat Engine) I really can't decide what to do. I'm planning to use encryption to provide basic protection on memory, using random generated key (of course that key will be stored on memory too) and overwriting the memory with random data after use (I've been using the program like this for a long time). This doesn't make it nowhere near hackproof but makes things harder for attacker. Is there a better way?
Anonymous
I want to ask about c++ functions,what are they?????
Intel
client = TelegramClient('session_name', api_id, api_hash) client.start() root = Tk() root.title('ME CONSULTAS') canvas = Canvas(root) canvas.pack() cpf_entry = Entry(canvas) cpf_entry.pack() cpf = cpf_entry.get() async def main(): await client.send_message('consignadobot', cpf) with client: client.loop.run_until_complete(main()) search_btn = Button(canvas, text='Consultar', command=send_message) search_btn.pack() root.mainloop()
Intel
I'm having a problem to call cpf variable inside client.send_message
Intel
Anyone help me please?
Anonymous
When implemented correctly, passwords are never stored in clear
Anonymous
A reboot invalidates the decryption key in ram
NXiss7
Use wrappedkey encryption
I'll check that, thanks.
Anonymous
hi
Anonymous
i need free c classes
Ludovic 'Archivist'
I want to ask about c++ functions,what are they?????
A function may be: 1/ a piece of code that is a serie of instructions. It may be carried as a value as a function pointer 2/ a type of the standard library to encapsulate arbitrary callables A callable is something that has the property of being subjectable to the operator(). This means functions, function pointers, lambdas, objects with an overridden operator(), coroutines...
Zel
Over loaded functions are fun.
Anonymous
Are uses of while, do-while & for loop for different purposes ?
YK Y
can anyone explain the ques.
YK Y
invert a btree
Serenity
How can I pass multiple files using the command line on visual stdio ?
Serenity
Does it matter if I want to read from or write to the file ?
Nameful
What does ^L mean in a source file?
Nameful
It makes unexpand say that "input line is too long"
Nameful
But I don't understand what it is. It appears in Vim when viewing this file: https://github.com/seiyak/GPGME-sample-code/blob/master/t-encrypt.c
Nameful
right before main
I_Interface
xD
I_Interface
Admins are so rude here.
MᏫᎻᎯᎷᎷᎬᎠ
Wtf?!!
MᏫᎻᎯᎷᎷᎬᎠ
There was an important thing I was reading
MᏫᎻᎯᎷᎷᎬᎠ
Yeah I was reading your message
MᏫᎻᎯᎷᎷᎬᎠ
python 4 released?
/warn In #ot :P
Taylor Rose
1.AAA and 2.AAA
MᏫᎻᎯᎷᎷᎬᎠ
Okay First Have you understand my question Madhu?
Anonymous
Guys, help redo this code so that it calculates the sum of the positive elements of the arrays X (N), Y (M), Z (K). But for calculating the amount you need to create a function
MᏫᎻᎯᎷᎷᎬᎠ
Yeah I meant if there were 2 or more branches are meant to be executed and determined at compile-time with if constexpr How does that work?!
Anonymous
Guys, help redo this code so that it calculates the sum of the positive elements of the arrays X (N), Y (M), Z (K). But for calculating the amount you need to create a function
#include <stdio.h> #include <stdlib.h> static inline long mul(const int a, const int b) { return a * b; } int main() { char c[20]; int a; int b; printf("enter first number\n"); fgets(c, 9, stdin); a = strtol(c, NULL, 10); printf("enter second number\n"); fgets(c, 9, stdin); b = strtol(c, NULL, 10); printf("answer is %d", mul(a, b)); }
Anonymous
Hello
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
What if happen the two branches are executed based on two compile time conditions?
MᏫᎻᎯᎷᎷᎬᎠ
Just throw true and false
MᏫᎻᎯᎷᎷᎬᎠ
Hmmmm Okay
MᏫᎻᎯᎷᎷᎬᎠ
Thanks
Anonymous
Guys
Anonymous
Help me please
Anonymous
Who can help me???
.
I dont know C
.
Sorry
Asdew
...
Anonymous
Nice
Anonymous
Me
But why you write this if can't help?
.
I thought that i could have helped u
.
There r 10k members they can help u
Wisenky
https://hastebin.com/nuhecawisa.cpp I got no warning or compilation error but It doesnt work :(
Dima
this is weird
Dima
*condition* OR 3
Wisenky
oh sure it comes me weird too lol
Mar!o
3 is always true 😂
Wisenky
nope
Wisenky
turn is counting
Asdew
turn is counting
Did you understand your mistake?
Wisenky
Asdew
That if statement states: If table.getTurn() % 4 is 1 OR if 3 is true
Mar!o
turn is counting
yes but logical or || makes no sence if the second parameter alsways evaluates to true! just remove it