Get Ex22SearchSort.cpp from ch21 datafiles. Do some time measurements around the various tasks in the program to evaluate the performance of the list and vector features. my file looks like this:
#include "stdafx.h" #include iostream #include algorithm #include iterator #include vector #include ctime #include chrono using namespace std; int main() { auto start = std::chrono::system_clock::now(); Timing info with chrono here Open the Property Pages dialog for your project. For information on how to use the Property Pages dialog, see Property Pages. Select the Configuration Properties, C/C++, Advanced page. Edit the Disable Specific Warnings property to add 4996. Choose OK to apply your changes. turn off compiler error
No comments:
Post a Comment