Alec Jacobson cde5051cad rm old build dir, use cmake 10 年 前
..
Makefile cde5051cad rm old build dir, use cmake 10 年 前
README 4bd7008b86 added stdin_to_temp for using pipe/stdin as file (for functions that need to fseek, rewind etc) 13 年 前
example.cpp bd4d115fea major reorganization of directory structure 13 年 前

README

This is a simple example program that shows how to use the stdin_to_temp
function in stdin_to_temp.h in the igl library.

To Build:
make

To Run:
cat file1 | ./stdin_to_temp_demo
cat file1 | ./stdin_to_temp_demo | cat >file2
cat file1 | ./stdin_to_temp_demo dummy1 dummy2 | cat >file2
./stdin_to_temp_demo file2
./stdin_to_temp_demo file2