Changeset 101 for trunk/lib/Gnuplot.cc
- Timestamp:
- Jun 22, 2006, 11:00:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Gnuplot.cc
r84 r101 77 77 78 78 79 voidGnuplot::command(const std::string& cmdstr)79 int Gnuplot::command(const std::string& cmdstr) 80 80 { 81 fputs(cmdstr.c_str(),pipe_);81 int r = fputs(cmdstr.c_str(),pipe_); 82 82 if (*(cmdstr.rbegin())!='\n') 83 83 fputc('\n',pipe_); 84 84 fflush(pipe_); 85 return r; 85 86 } 86 87
Note: See TracChangeset
for help on using the changeset viewer.