Codebase list gccintro / ea288df2-1c51-4994-b263-8b613d7cddb3/main tmain.cc
ea288df2-1c51-4994-b263-8b613d7cddb3/main

Tree @ea288df2-1c51-4994-b263-8b613d7cddb3/main (Download .tar.gz)

tmain.cc @ea288df2-1c51-4994-b263-8b613d7cddb3/mainraw · history · blame

#include <iostream>
#include "buffer.h"
#include "tprint.h"

using namespace std;

int 
main ()
{
  Buffer<float> f(10);
  f.insert (0.23);
  f.insert (1.0 + f.get());
  print (f);
  return 0;
}