Mình có viết 1 App nhỏ , để test thôi
Code :
[code]#include
#include<time.h>
#include<stdlib.h>
#include<windows.h>
#include<conio.h>
#include<stdio.h>
using namespace std;
void ThongTin()
{
cout<<"This App Is Maded By Prosaha ";
_getch();
}
/____________________________________________________/
void c()
{char name[10],age;int yn;
cout << " Your Name Please : “;
cin >> name ;
cout << " Is that " << name << “? (1:Yes,0:No)”;
cin >> yn ;
if (yn==1)
cout << " Thanks”;
if (yn==0)
cout << "Nope, It’s “<< name << " for sure”;
}
/____________________________________________________/
int main()
{ int choice;
cout<< “Click [1] to see info”<<endl;
cout<< “Click [2] to Start the App”<<endl;
cin>> choice;
system("cls");
switch(choice)
{case 1: ThongTin();
break;
case 2: c();
return 1;}
}[/code]
Mình muốn sau khi click vào phần INFO, sẽ hiện ra thông tin rồi quay về int main(), phải làm như thế nào ạ. Cảm ơn

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?