c++ interface:subscribe

Hi,
 I use two methods to subscribe data, but I receive nothing. What’s wrong?

 method 1:ret = k(handle, “.u.sub[testTable:]”, K(0));

  method 2:ret = k(handle, “.u.sub”, “testTable”, K(0));

typo of : should be ;
ret = k(handle, “.u.sub[testTable;]”, K(0));

or you could do
ret=k(handle,“.u.sub”,ks(“testTable”),ks(“”),(K)0);

Thanks, it looks like it is  my code’s problem.

? 2015?12?2??? UTC+8??4:40:56?Charles Skelton???

typo of : should be ;
ret = k(handle, “.u.sub[testTable;]”, K(0));

or you could do
ret=k(handle,“.u.sub”,ks(“testTable”),ks(“”),(K)0);