P
pereges
For eg :
struct mesh
{
size_t nvert; /* number of vertices */
size_t ntri; /* number of triangles */
.....
};
The reason I want to use size_t is because I've read that it is
capable of supporting size of the largest possible integer in the C
implementation. In my case, the value of nvert can vary from any thing
like 30-40 to even 10 million.
struct mesh
{
size_t nvert; /* number of vertices */
size_t ntri; /* number of triangles */
.....
};
The reason I want to use size_t is because I've read that it is
capable of supporting size of the largest possible integer in the C
implementation. In my case, the value of nvert can vary from any thing
like 30-40 to even 10 million.