Ashish
You should tell him why i is incremented by 2 and j by 1
i guess he is thinking that k = MAN(++i, j++); this will be executed by calculating the value of ++i and j++ first and then sending them as arguements to the macro which in this case will result k = MAN(11, 5) //j++ will pass 5 but the value of j will be 6
Anonymous
human beign have brain so i have
Joesph
human beign have brain so i have
It took Google translator 22mins to decode it
Anonymous
because it is a genius question so google take time to decode for this
Joesph
because it is a genius question so google take time to decode for this
Ohh sorry I didn't know that it was a question
Anonymous
ok no thanks
Anonymous
no
Mateo
U.u
...
You brain make sentence can
Anonymous
i am not an alien because if a use a brain so i am human being and you see any alien if you seen it then ask that you have a brain or not
Anonymous
no written on there please read carefully
Anonymous
you are alien i think that
Mateo
#include <iostream> int main(){ std::cout << "C++ language of aliens is?" << std::endl; return 0; }
klimi
humans have brain? since when
Mateo
Since Elon Musk catgirls tried to do
Ash
i am trying to use "#include <queue>" in a c program in codeblocks IDE
Ash
and i am facing this... "fatal error: queue: No such file or directory|"
Ash
can anyone familiar with this issue guide me what to do?
Anonymous
And do not use CodeBlocks
Anonymous
why so?
It is horrible
Till
why so?
Outdated
Ash
It is horrible
so any better suggestions???
Ash
like netbeans?
Till
And KDevelop, VS Code
Dima
nano
David
micro best editor
David
David
super comfortable
I_Interface
micro best editor
Perhaps. Still, it's not an ide.
I_Interface
U better to use another random algorithm than just a rand() function.
David
why?
Anonymous
why?
Because it has an awful distribution
Anonymous
C++ has better solutions for the problem
Anonymous
Google for <random> header
.
Hi c users friends
lucia
Hi
Anonymous
clang
Anonymous
Abdul
#ask How to insert error alert if input data not number or integer
Anonymous
!isalnum(str[i])
Sasuke
#ask How to insert error alert if input data not number or integer
if (scanf("%d", &val_a_tester) != 1)) { ... // print alert }
Anonymous
!isalnum(str[i])
seems it's !isdigit instead of !isalnum
klimi
hazer_hazer
Hi. Have a question. I have a struct/class, doesn't matter. And one is derived, so I need to inherit it from parent. How can I do it with instance saving all fields values? Like that: struct A{} struct B : A{ B(A &a){ this = a; // I know that it's impossible, so how can I do the same? } }
hazer_hazer
I don't want to copy all the values
klimi
Another one bites the dust...! Mike Gionne Reason: Google play promotion, piracy promotion
hazer_hazer
(((
hazer_hazer
You think there's no another way?
hazer_hazer
Excluding storing parent instance inside child
Silvestr
Hi all guys, I would like to put a holiwar topic. Rust is a language with a purpose to replace C/C++, and I have look on documentation of Rust and don’t saw any mind blowing features compared to C++ 20. So if someone know please tell the bottlenecks of Rust and main advantages of it.
Anonymous
Any arguments?
I don't like C It's old language that doesn't evolve For example, void* is a pretty horrible and other things like that
Anonymous
How?
I mean if you have a choice to write new software only on C or Rust, I'd choose Rust
MᏫᎻᎯᎷᎷᎬᎠ
Hi all guys, I would like to put a holiwar topic. Rust is a language with a purpose to replace C/C++, and I have look on documentation of Rust and don’t saw any mind blowing features compared to C++ 20. So if someone know please tell the bottlenecks of Rust and main advantages of it.
Rust has many mind blowing things like Pattern matching Ownership rules Borrow checker Edition (it's freaking amazing) A better macro system Incredible trait system All of those things are not in C++20 except for concept which is similar to traits
hazer_hazer
It looks like you joined a dispute that you cannot win
MᏫᎻᎯᎷᎷᎬᎠ
The only argument I can go against Rust!! That's embarrassing🙊
Silvestr
For example borrow checker help you fix your mistakes, or I am wrong?
MᏫᎻᎯᎷᎷᎬᎠ
For example borrow checker help you fix your mistakes, or I am wrong?
Well Those mistakes can be avoided in C/C++ after taking a Major time of good practice and disciplines
Silvestr
Well Those mistakes can be avoided in C/C++ after taking a Major time of good practice and disciplines
I think it’s not so a good practice to place responsibility of mistakes on developer:) because we all are humans and we made mistakes
Francisco
And if you can hire a developer less prone to make errors, they'll do it
Silvestr
Also guys what do you think about epoch in C++, personally for me it's very exiting feature?
Silvestr
https://vittorioromeo.info/index/blog/fixing_cpp_with_epochs.html
Timothy
ugh, did someone just mention time again