大约有 42,000 项符合查询结果(耗时:0.0339秒) [XML]
dynamic_cast and static_cast in C++
I am quite confused with the dynamic_cast keyword in C++.
10 Answers
10
...
Batch files: How to read a file?
How you can read a file (text or binary) from a batch file? There is a way to read it in a binary mode or text mode?
7 Answ...
How do I return the response from an asynchronous call?
I have a function foo which makes an asynchronous request. How can I return the response/result from foo ?
39 Answers
...
Could you explain STA and MTA?
Can you explain STA and MTA in your own words?
7 Answers
7
...
What is a mutex?
A mutex is a programming concept that is frequently used to solve multi-threading problems. My question to the community:
...
How many socket connections can a web server handle?
Say if I was to get shared, virtual or dedicated hosting, I read somewhere a server/machine can only handle 64,000 TCP connections at one time, is this true? How many could any type of hosting handle regardless of bandwidth? I'm assuming HTTP works over TCP.
...
Why do we need a pure virtual destructor in C++?
I understand the need for a virtual destructor. But why do we need a pure virtual destructor? In one of the C++ articles, the author has mentioned that we use pure virtual destructor when we want to make a class abstract.
...
Why is a C++ Vector called a Vector?
The question's pretty self-explanatory really. I know vaguely about vectors in maths, but I don't really see the link to C++ vectors.
...
What happens if I define a 0-size array in C/C++?
Just curious, what actually happens if I define a zero-length array int array[0]; in code? GCC doesn't complain at all.
7...
Why is the minimalist, example Haskell quicksort not a “true” quicksort?
Haskell's website introduces a very attractive 5-line quicksort function , as seen below.
11 Answers
...
