Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Beginner-level question
- Date: Thu, 20 Dec 2007 21:36:51 +0100
Hi all,
I am a novice at both C++ and CGAL. I am trying to get this example from CGAL
library to produce some output:
#include <CGAL/Cartesian.h>
#include <CGAL/ch_graham_andrew.h>
typedef CGAL::Point_2<CGAL::Cartesian<double> > Point_2;
int main()
{
CGAL::set_ascii_mode(std::cin);
CGAL::set_ascii_mode(std::cout);
std::istream_iterator< Point_2 > in_start( std::cin );
std::istream_iterator< Point_2 > in_end;
std::ostream_iterator< Point_2 > out( std::cout, "\n" );
CGAL::ch_graham_andrew( in_start, in_end, out );
return 0;
}
I am compiling this code on windows and it compiles fine,but I don't know
what to type in at the command prompt to make it produce some output?
Many thanks
- Beginner-level question, bogiwetamtam, 12/20/2007
- Re: [cgal-discuss] Beginner-level question, Ashwin Nanjappa, 12/27/2007
- [cgal-discuss] How to get resulting polygen of cutting a polyhedron with a plane?, LoadCom, 12/28/2007
- [cgal-discuss][Polyhedron] Simple program problem, LoadCom, 12/30/2007
- Re: [cgal-discuss] Beginner-level question, Ashwin Nanjappa, 12/27/2007
Archive powered by MHonArc 2.6.16.