Hamidullo 🇺🇿
#include<iostream> using namespace std; int main() { int n=10; int arr[10]; for(int i=0;i<n;i++) { if(i%2==0) { arr[i]=0; // your error } else // your error { arr[i]=1; // your error } cout<<arr[i]<<endl; } }
Anonymous
sir pls once read the question
Please read some books lol
Anonymous
arr[i]==0; This is USELESS
Anonymous
This sir is so nice
Do you have problems with something?
Papa
can anybody tell me how to initialize an array in forloop
.
Do you have problems with something?
I would like to be in front of you, are you that rude in person? Or just in front of a keyboard? If you have problems in home is not our fault
Anonymous
Grow up This is not a babysitting group
Anonymous
What is the difference between &a and &&a?
one is a pointer to a the other is a pointer to a pointer to a
Anonymous
The second one is invalid
Anonymous
oh thats right
.
Grow up This is not a babysitting group
Really? But your face looks like a baby tho
Anonymous
Really? But your face looks like a baby tho
Don't be jealous I'm just handsome
Anonymous
can you even do a pointer to a pointer in one line
.
Don't be jealous I'm just handsome
Hahahah i didn't say the oposite ;)
Anonymous
can you even do a pointer to a pointer in one line
Without additional variable — it doesn't make sense
Anonymous
thats true
Engineer
He is opinionated so he reckons code written by a professor is not good🤓
Anonymous
What is the difference between &a and &&a?
The basic difference between the & and &&operator is that the & operator evaluate both sides of the expression whereas, the && operator evaluates only the left-hand side of the expression to obtain the final result
Anonymous
You're talking about binary operators Those are unary
Anonymous
&& is valid in rust
Anonymous
interesting
Anonymous
& and && are unary
Anonymous
He is opinionated so he reckons code written by a professor is not good🤓
https://en.wikipedia.org/wiki/Argument_from_authority You're just making yourself look stupid
Anonymous
is it illegal to talk about rust here
Anonymous
& and && are unary
So show me how to use UNARY && in C++ or you'll be warned
Anonymous
So show me how to use UNARY && in C++ or you'll be warned
&& is normally only used to declare a parameter of a function. And it only takes an r-value expression. Simply put, an r-valueis a value that doesn't have a memory address. E.g. the number 6, and character 'v' are both r-values.
Anonymous
Guys, do you have an experience with Winsock2 programming? I don't sure if client must send() data to server first, if I trying to recv() from server first, it doesn't work
Pavel
It's not an operator you're talking about
That's a copy-pasted quote, so I don't think they is aware what all this mean.
Anonymous
Guys, do you have an experience with Winsock2 programming? I don't sure if client must send() data to server first, if I trying to recv() from server first, it doesn't work
The Winsock2. h header filecontains most of the Winsockfunctions, structures, and definitions. The Ws2tcpip. h header file contains definitions introduced in the WinSock 2 Protocol-Specific Annex document for TCP/IP that includes newer functions and structures used to retrieve IP addresses. Stdio.
布丁
Some servers send banner content first, but very rarely
Anonymous
usually a client sends data first
I know, but I see that Winsock2 interface forbids another way
Anonymous
Anyways, it works when I sendind package from client first
Anonymous
Well, I tried to do that now and it works
Anonymous
Maybe there was another reasons before
Anonymous
I modified my programm in many parts so I can't guess anymore
Engineer
Has anyone started projects using C++20? I am looking into std::latch
Engineer
Has anyone started projects using C++20? I am looking into std::latch
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4204.html
klimi
/ban useless
Great....
Engineer
https://www.justsoftwaresolutions.co.uk/files/the_developers_2019_concurrency_in_cpp20.pdf
Anonymous
Hello , can i find someone know WINAPI in here ?!i have a question .
Pavel
Hello , can i find someone know WINAPI in here ?!i have a question .
Why don't you ask your question right away? dontasktoask.com
Anonymous
Why don't you ask your question right away? dontasktoask.com
how can i handle ActivateKeyboardlayout when my main window losing focus in winapi ?? #win32 #winapi #help #keyboard #layout #challenge #focus #threads #logic #welp #windows #api #OS #code #coding #program #programming
Anowar
How to join a private group by hacking
Anonymous
do you guys feeling comfortable using this kind of Chat ?
Anonymous
because i don't think that someone ever going to answer my question
Anonymous
i bet if someone among (13628) is Using winapi
Pavel
because i don't think that someone ever going to answer my question
What about waiting some more time, so more people can read it? And not post a lot of messages to make it further into the history?
Anonymous
i bet if someone among (13628) is Using winapi
use hashtags in your questions to slightly increase the chance, some people use it..
Anonymous
it going to be a history anyway , this chat is not even helping ... there's someone who asking about private hacking groups overe here 😂
Engineer
Brain exercise #include <iostream> using namespace std; int main() {     int x = -10;     while (x++ != 0)         ;     printf("%d  ", x);     return 0; } What is the expected output? #brainexercise #while
Engineer
You have no clue how C++ memory model works
Where did you learn about how C++ memory model works?
Hanz
Im in mobile rn 🙈
Hanz
And if i try it out, it wouldn't be a brain exercise 🤔
Sadat
Hello need some help