File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ int main(int argc, char* argv[]) {
5252 std::ofstream CTRKOutput (inputFile.stem ().string () + " .txt" );
5353
5454 if (!CTRKOutput) {
55- fprintf (stderr, " Error: Unable to create a text output of the CTRK Script." );
55+ fprintf (stderr, " Error: Unable to create a text output of the CTRK Script.\n " );
5656 return 1 ;
5757 }
5858
@@ -64,7 +64,7 @@ int main(int argc, char* argv[]) {
6464
6565 // Exit message for CTRKViewer
6666 ConsoleUtils::printNewLine ();
67- printf (" Press Enter to exit CTRKViewer" );
67+ printf (" Press Enter to exit CTRKViewer\n " );
6868 (void )getchar ();
6969 ConsoleUtils::clearConsole ();
7070 return 0 ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ int main(int argc, char* argv[]) {
5555 return 1 ;
5656 }
5757
58- // Close input & output for PLA Script
58+ // Cleanup
5959 PLAInput.close ();
6060 PLAOutput.close ();
6161
@@ -67,7 +67,7 @@ int main(int argc, char* argv[]) {
6767
6868 // Exit message for PLAViewer
6969 ConsoleUtils::printNewLine ();
70- std::cout << " Press Enter to exit PLAViewer.\n " << std::endl ;
70+ printf ( " Press Enter to exit PLAViewer.\n " ) ;
7171 (void )getchar ();
7272 ConsoleUtils::clearConsole ();
7373
You can’t perform that action at this time.
0 commit comments