79438310

Date: 2025-02-14 03:43:51
Score: 0.5
Natty:
Report link

Library iostream should stay in the files. The problem is with extension of code files - it should be .cpp, not .c. You don't need to remove iostream. But then use other command to compile+link, not:

cl perfdata.c -o perfdata -lpdh

but use this one:

cl perfdata.cpp /link pdh.lib

(That's an example)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pbies