visual-studio-2010 tag

4 questions


1 answers
168 views
0
Why does 0.1f become 10 times slower if you change it to zero

When I ran it on Visual Studio 2010 SP1,Source Code 1 operates about 10 times faster than Source Code 2.There are only two lines that change. I don't think there's much differenceWhy is the performanc...


1 answers
88 views
0
int main(){([](){}()));} Why does it run normally?

I'm asking you a question because I saw such a strange code.I don't know why ([](){})()); is compiled normally in the source code belowI'm not a function pointer, I'm not an operator.But if you run it...


1 answers
101 views
0
This is a question about the principle of temporary copying of the member variable in C++ Default Copy Generator

class baseDMA{private: char* label; int rating;public: baseDMA(const char* l=NULL, int r =0); baseDMA(const baseDMA& rs); virtual ~baseDMA(); baseDMA& operator=(const baseDMA& rs); friend ...


1 answers
68 views
0
Hello. I'm asking you this question because I'm trying to find a c language error, but I can't make any progress.!!

Hello!It's my first time writing, but I can't solve it, so I post it like this.First, the Run window should look like this.[Executive screen 1]Enter an integer: 90Enter an integer: 107Large integer: 1...

2 years ago

© 2024 OneMinuteCode. All rights reserved.