Menu

#6 Fix Headers / use ISO libraries

open-accepted
nobody
None
5
2009-04-29
2009-04-25
Soltys
No

Get rid of stdio.h and use only iostream. Or get rid of iostream library.

change <time.h> into <ctime> and <stdio.h> into <cstdio>.

Start using namespace.

To improve performance you could you use #define WIN32_LEAN_AND_MEAN before #include <windows.h>

Discussion

  • Patrick Servello

    • status: open --> open-accepted
     
  • Daniel Amodio

    Daniel Amodio - 2009-05-05

    lean and mean can be established as a compiler arg as well.
    I use that when I compile, it just was not in the source.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.