Original Post
Hello, I'm trying to make a simple GUI. I want to make a function that receives the number of arguments and their names. show_menu(int argc, char *argv[]) //I copied int main(int argc, char *argv[]) { /*while int i < argc, cout argv*/ } My problem is I don't know what to pass. show_menu(3, "save", "continue", "exit"); //obviously doesn't work Can someone help me please?