Sid Sun
No, wait! I got it
Sid Sun
one is stored at an arbitrary location and that address is then assigned to the first pointer in the array
Sid Sun
👍
yoav
what are the difference between file.c file.h
Ansya
yoav
what the meaning of header
Anonymous
Well, if it's an array of pointers to char, how can we store "one"?
It doesn't store the string directly, only a pointer to it String literals have static storage duration which means that every literal stores in a program the whole time the program is executing
dont
Francesco
Thank you
Francesco
What do you think about the choose of possibility to mix procedural language with OOP like in C++?
Francesco
Anonymous
int a=1; printf("%d%d%d",a,++a,a++); This gives 332 instead of 331 Any logic to explain this?
Anonymous
Всё норм
Dima
Talula
I really wish I could act... I have big problem acting, people think I'm rude and too blunt.
Talula
Or maybe, hear me out, maybe you are rude👀
Well maybe I am but I can't hide my emotions like others.
dont
Read pre and post increment topic of c
Anonymous
@Tazmikar @Deathbringeerr Doesn't the parameters get calculated from right to left and then printed in the proper order?
Anonymous
Left to right... why would be right to left?
Idk but it is apparently the norm https://rextester.com/KCEPFD28420
Talula
Idk but it is apparently the norm https://rextester.com/KCEPFD28420
Oh I understand what is happening... It's calculating first and then printing it...
Anonymous
Oh I understand what is happening... It's calculating first and then printing it...
Yeah from right to left, but it might vary among different compilers it seems
Talula
Yeah from right to left, but it might vary among different compilers it seems
Yeah, it should be because it shouldn't work like this... let me check on my compiler... give me 2 minutes.
Francesco
What?
Talula
👌
I get 223 with Visual Studio...
Talula
I think it's a compiler problem.
Anonymous
I think it's a compiler problem.
Yeah, better not worry about it
dont
Anonymous
Associativity matters Sure
Isn't associativity a thing for expressions? This isn't an expression
X3eRo0
Do you guys know how proxies work
X3eRo0
I want to understand it
X3eRo0
And is there any way I can scrape websites in c/c++ with proxies
Dima
X3eRo0
Like I wanna scrape pastebin or something
klimi
Yes
klimi
Ofcourse
Dima
It contains simple http server or more advanced one which redirects your requests
Dima
kinda reverse proxy
klimi
Os.execute("wget pastebin");
X3eRo0
So I was scraping using pythin
X3eRo0
Python
klimi
Python is very nice for this job
X3eRo0
But my ip was temporarily blocked
X3eRo0
Like my real ip
klimi
Um yes ofcourse
klimi
You can use proxy inside python btw
X3eRo0
Even though I was using proxy I tried different modules in python for browsing
X3eRo0
I know that people have made bruteforcers for various websites they are also using proxies their ip is not blocked
klimi
Yes
X3eRo0
Not even temporarily
X3eRo0
I just wanna know that if my traffic is going through a proxy server ( a different server in a different country) then why is my ip getting blocked
klimi
I mean you made it
X3eRo0
I also tried different protocols
X3eRo0
Sock4/5 http/s
X3eRo0
I mean you made it
Yes I made it but I want to understand this behavior
klimi
okay
klimi
how can you create something you dont understand?
X3eRo0
I used python docs to see examples and tried to look at other people's GitHub to see how they did it
X3eRo0
But it's not that I don't understand how to set proxy in python but the behavior is not usual
klimi
okay
klimi
come to ot
klimi
#ot
Artöm
int a=1; printf("%d%d%d",a,++a,a++); This gives 332 instead of 331 Any logic to explain this?
Order in which arguments are evaluated is unspecufied. Your code is ill-formed, so your question is useless
Artöm
Maybe
Artöm
Until c++20?
Don't see any changes https://en.cppreference.com/w/cpp/language/eval_order
Artöm
Stop using modified values of vars in one statement goddamnit
Nishant
Please Can anyone suggest me source to learn c++ language , i have just start to learn ..