Quantcast
Channel: Channel 9 Forums - Coffeehouse - A quick self-reminder why I did not pursue native development
Viewing all articles
Browse latest Browse all 66

Coffeehouse - A quick self-reminder why I did not pursue native development

$
0
0

A few points:

  1. _tmain is not standard C++
  2. What's in stdafx.h since you included all headers actually used by the program directly in the file?
  3. It doesn't do the same thing as the C# version or what androidi specified, as you use operator>> which stops extraction when it encounters a space; it doesn't read the whole line. Also the C++ version doesn't write a newline, and the C# version does.
  4. Explicitly initialization an std:: string with an empty string literal is pointless.

Tongue Out


Viewing all articles
Browse latest Browse all 66

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>