CPP02 1.0
|
Main entry point for Exercise 03 of C++ Module 02. [詳解]
関数 | |
int | main (void) |
Main entry point for Exercise 03 of C++ Module 02.
This program demonstrates the usage of the Point class and the bsp function to determine if various points lie inside a given triangle. It creates a triangle with vertices a, b, and c, and then tests several points (p1 to p8) to check if they are inside this triangle using the bsp function. The results are printed to the standard output.
main.cpp に定義があります。