Mercurial > defical
comparison defical-c/src/main.cpp @ 1:758381a85d76 default tip
Incorrect printf format.
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Mon, 28 Jun 2010 14:52:19 +0700 |
parents | ebed2bd0d300 |
children |
comparison
equal
deleted
inserted
replaced
0:ebed2bd0d300 | 1:758381a85d76 |
---|---|
54 if(algorithm!="backtrack") | 54 if(algorithm!="backtrack") |
55 { | 55 { |
56 printf("Invalid algorithm specified.\n"); | 56 printf("Invalid algorithm specified.\n"); |
57 return 1; | 57 return 1; |
58 } | 58 } |
59 printf(separator); | 59 printf("%s", separator); |
60 printf("\nNumber of vertices: %d\n",numVer); | 60 printf("\nNumber of vertices: %d\n",numVer); |
61 printf("Number of deficiencies: %d\n",numDef); | 61 printf("Number of deficiencies: %d\n",numDef); |
62 cout << "Graph type: " << graphTypeS << endl; | 62 cout << "Graph type: " << graphTypeS << endl; |
63 cout << "Algorithm: " << algorithm << endl; | 63 cout << "Algorithm: " << algorithm << endl; |
64 cout << separator << endl; | 64 cout << separator << endl; |