#define Terminal((arc *)1)是什么意思? [英] What does #define Terminal ((arc*)1) mean?
本文介绍了#define Terminal((arc *)1)是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
arc
是 maxflow , 1
代表什么?
maxflow.cpp 他们想要一个指针值 <$ c $ c>终端不同于
NULL
,但不太可能是一个有效的指针值, 1
很适合这个角色。 arc
is a structure at maxflow ,what does the 1
stand for?
解决方案
In the maxflow.cpp
they want a pointer value for Terminal
that is distinct from NULL
yet is very unlikely to ever be a valid pointer value and 1
fits that role well.
这篇关于#define Terminal((arc *)1)是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文