16 years, 5 months ago
Highlights
Community contributions featuredI concur with Beyond_Repair, for so few elements use a vector and use linear search. If you have a bit more elements you could use a sorted vector and binary search. It will be…
16 years, 5 months ago
16 years, 5 months ago
Quote:Original post by sheep19dt here must not be changed, and const reminds me and prevents me from changing it.Not only that, it isn't even used in the function at all... ;)
16 years, 5 months ago
17 years, 2 months ago
You probably don't want to use CreateThread anyway, you would probably want to use beginthread or beginthreadex, if you are to call CRT functions from within the thread.
17 years, 2 months ago
Latest Activity
See all in DiscussionsI concur with Beyond_Repair, for so few elements use a vector and use linear search. If you have a bit …
16 years, 5 months ago
Quote:Original post by sheep19dt here must not be changed, and const reminds me and prevents me from changing it.Not only …
16 years, 5 months ago
You probably don't want to use CreateThread anyway, you would probably want to use beginthread or beginthreadex, if you are …
17 years, 2 months ago