define an adjacent matrix for a graph# Programming - 葵花宝典j*g2007-11-14 08:111 楼if we already have the definition of a node,the adjacent matrix will bevector> adjacent_matrix;correct?
s*u2007-11-14 08:112 楼编译错误的话就看看error log好了么 -.-~~~~这里> >,加个空格【在 j****g 的大作中提到】: if we already have the definition of a node,: the adjacent matrix will be: vector> adjacent_matrix;: correct?
t*t2007-11-14 08:114 楼ignore space? how aboutclassabc{inti;doubled;};">>" is a token, so you have to separate it【在 j****g 的大作中提到】: 我是土人,没用过template...: 能解释一下为什么要加空格吗?一般编译器好像都忽略空格的。