mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2024-11-22 10:42:03 -08:00
18 lines
322 B
C++
18 lines
322 B
C++
|
#include "libvsq.h"
|
||
|
#include <iostream>
|
||
|
|
||
|
using namespace std;
|
||
|
using namespace vsq;
|
||
|
|
||
|
int main(){
|
||
|
TextMemoryStream tms;
|
||
|
tms.WriteLine( "foo" );
|
||
|
tms.WriteLine( "bar" );
|
||
|
tms.Rewind();
|
||
|
while( tms.Peek() >= 0 ){
|
||
|
cout << tms.ReadLine() << endl;
|
||
|
}
|
||
|
tms.Close();
|
||
|
return 0;
|
||
|
}
|