disable printing

release/4.3a0
Duy-Nguyen Ta 2013-10-11 21:59:36 +00:00
parent 2570492fa6
commit 35924f6055
1 changed files with 4 additions and 10 deletions

View File

@ -53,16 +53,10 @@ void addStudent(Scheduler& s, size_t i) {
}
/* ************************************************************************* */
Scheduler largeExample(size_t nrStudents = 7) {
char cCurrentPath[FILENAME_MAX];
if (!getcwd(cCurrentPath, sizeof(cCurrentPath)))
{
return errno;
}
cCurrentPath[sizeof(cCurrentPath) - 1] = '\0'; /* not really required */
printf ("The current working directory is %s", cCurrentPath);
// char cCurrentPath[FILENAME_MAX];
// if (!getcwd(cCurrentPath, sizeof(cCurrentPath))) return errno;
// cCurrentPath[sizeof(cCurrentPath) - 1] = '\0'; /* not really required */
// printf ("The current working directory is %s", cCurrentPath);
string path("../../../gtsam_unstable/discrete/examples/");
Scheduler s(nrStudents, path + "Doodle.csv");