Rafi Faseeh
Rafi Faseeh
What should I do now?
Dima
try to print some text first.
Dima
create empty project with main.cpp and main function and try it
klimi
try to print some text first.
I don't think this will work
Dima
do a for loop with all students and compare their ids, easy, right?
Rafi Faseeh
Ok anyone want to help me or no please?
klimi
NO
Thanks
olli
Ok anyone want to help me or no please?
We are not here to write your code.
Rafi Faseeh
NO
Ok thanks
BinaryByter
klimi
I would write a program
olli
Ok anyone want to help me or no please?
If you have some serious questions fee free to ask
Rafi Faseeh
Dima
just try writing it, look at examples
klimi
Thank you
int main(){return 0;}
klimi
Here you go
olli
Ok anyone want to help me or no please?
Just read the rules Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions.
Anonymous
Using switch should be more efficient (?)
Rafi Faseeh
just try writing it, look at examples
I try many but I could not get the exact answer
BinaryByter
Using switch should be more efficient (?)
why would it? In clang you'll get a 255*8 bytes long access table in the binary, in g++ and clang O3, you'll get two compares
Rafi Faseeh
did you try?
Yes I try a lot but I could not then I come here
klimi
Yes I try a lot but I could not then I come here
Why havent you shown us the problem
BinaryByter
then ask a questiob
Rafi Faseeh
Thanks guys I'll find another group, ❤❤❤
BinaryByter
it doesnt 😅😅
Rafi Faseeh
Sorry
BinaryByter
i expected it not to.optimize at all without O
Rafi Faseeh
Rafi Faseeh
I can't go ahead and don't know how to continue
Ибраги́м
At least use snipping tool on Windows OR better still read the RULES!
Anonymous
Hi
मैं भी बेरोजगार 😢
correctmaninwrongplace
/warn
Ariana
/warns
Ariana
¿.-.?
Ariana
oh
मैं भी बेरोजगार 😢
/warn
😁😁😁😁
mark
Learn to spell first then we'll talk
Anonymous
Hi
ឈាន
https://t.me/fluttercambodia123
Ashyk
/adminlist
Ибраги́м
/adminlist
U want a piece of me?
Ashyk
Sorry
Ashyk
I just wanted to know the list of words that causes you to be warned or blacklisted
olli
how should it? calling bind() does not mean a connection has been established. The docs state clearly On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
olli
Instead of ranting (which i kinda agree with), why not provide a MCVE? I could not verify your issue
olli
calling accept returns the file descriptor for the accepted socket (on success). Given this descriptor you can use getpeername to get the remote ip address http://man7.org/linux/man-pages/man2/accept.2.html http://www.man7.org/linux/man-pages//man2/getpeername.2.html
Mhackz
Guys what does Gmon function means?
S.
Obviously it’s not a function (
Mhackz
Sorry rose
Noble Friend
I've got a proposition for those who are already skilled in C programming. It goes thus: Post questions (challenges) so that those learners like me when trying to solve them will learn better and you also give a time limit for the challenge and say the end you send the answer. I hope I never violated the rules with these post. Thank you
Anonymous
Can Someone please help with Eclipse IDE for C++
Anonymous
Please
Anonymous
write here your problem and someone will try to help you
Anonymous
wait for a moment
Anonymous
Anonymous
what should i choose
Anonymous
Tell me
Anonymous
Second? You would have solved your problem quicker just by choosing the first option and then the second one.
Anonymous
It's a very tiny problem to ask about in a programming chat
Anonymous
WTF
🐰🐾 سمیه
int a; int *b; b = & a; Does 'b' itself has an address? If so is its address the same as 'a' ? Or its address is different but it contain the address of 'a' ? I'm confused.
🐰🐾 سمیه
Why double stars?
🐰🐾 سمیه
int a; int *b; b = & a; Does 'b' itself has an address? If so is its address the same as 'a' ? Or its address is different but it contain the address of 'a' ? I'm confused.
Here, is the addresses of a and b the same? Or 'b' with a different address from 'a' contains the address of 'a' ?
Liam
int a; int *b; b = & a; Does 'b' itself has an address? If so is its address the same as 'a' ? Or its address is different but it contain the address of 'a' ? I'm confused.
Every object in C/C++ is a *typed* *memory snippet*. Here, int a declares a is an object with type int, while &a get its memory address; int* b declares b is an object with type int*, whose value represent the address of an int object, while &b get its memory address. If you want to store the address of b, you'll have to use int** c = &b;. b's value is the address of a.
Ritwik
Ritwik
I want to print the Armstrong series between 100 to 500..