How can I get the cid of the latest comment I saved using comment_save?
The cid value should be in the comment object after it has been saved. So you should simply be able to use something like this:

comment_save($comment);
drupal_set_mesage("ID is " . $comment-&gt;cid);