How to get args from console just like in c++

void main(....,char * args)