i want to make a program in which links to different applications in my pc are given and can be opened... for example a program in which output at screen is
"which game you want to play? press 1 for freecell and 2 for hearts"
and when the user presses the key 1 the "freecell" game opens..... I will be grateful for your kind and valuable replies

What operating system? MS-Windows you can call ShellExecute() or CreateProcess(). system() can also be used but it is not recommended.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.