Our site is support by ads that help to pay our hosting costs. Please disable or whitelist us within your ad blocker to help us keep the site online.
All money generate by ads and donations is used to pay the hosting costs of the site, for more information about our income and expenses please see our donation page.
Is it more efficient to change a C style string into a C++ string and searching it using substr()? Or is brute-forcing a C style string with a for() statement better? I'm looking for speed, and small amounts of memory usage..