int ok_dialog("Start");
You are getting confused here. ok_dialog is a function. It returns something. That something needs to go somewhere. Then you can test the somewhere. Like:
int proceed = ok_dialog("Start");
if (proceed)
{
// good to go
}