Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tutorial basic C++
#6
izin share para kakak master2 sekalian,, saya baru di forum ini, izin nambahin ya kak...........

bool accept2() {
cout<<"Do you want to proceed?\n";

char answer = 0;
cin>>answer;

switch(answer) {
case 'y':
return true;
case 'n':
return false;
default:
cout<<"I'll take that for a no.\n";
return false;
}
}

saya masih belajar kakak2 master,, kalau salah mohon dibetulkan.....

ini adalah contoh bahasa C++ buatan saya kak........
Reply


Messages In This Thread
tutorial basic C++ - by Jahat - 08-10-2010, 01:40 PM
RE: tutorial basic C++ - by N4is3N - 08-10-2010, 01:49 PM
RE: tutorial basic C++ - by Jacket^Cyber - 08-10-2010, 02:50 PM
RE: tutorial basic C++ - by Jahat - 08-10-2010, 03:20 PM
RE: tutorial basic C++ - by Sidom - 08-10-2010, 03:22 PM
RE: tutorial basic C++ - by syn_attack - 10-02-2010, 07:28 PM
RE: tutorial basic C++ - by ghalieh - 10-02-2010, 07:35 PM
RE: tutorial basic C++ - by erwinscot - 10-02-2010, 07:37 PM
RE: tutorial basic C++ - by syn_attack - 10-02-2010, 07:40 PM
RE: tutorial basic C++ - by Jahat - 10-02-2010, 10:20 PM
RE: tutorial basic C++ - by xpdc_borneo - 10-02-2010, 10:49 PM
RE: tutorial basic C++ - by syn_attack - 10-03-2010, 01:34 PM
RE: tutorial basic C++ - by Jahat - 10-03-2010, 09:47 PM
RE: tutorial basic C++ - by cikal - 10-03-2010, 11:48 PM
RE: tutorial basic C++ - by lazy07 - 10-06-2010, 08:48 AM
RE: tutorial basic C++ - by syn_attack - 10-12-2010, 12:08 AM
RE: tutorial basic C++ - by love_him - 12-21-2011, 10:43 PM
RE: tutorial basic C++ - by ranaku17 - 01-07-2012, 10:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tutorial Assignment love_him 4 112 01-14-2014, 07:17 PM
Last Post: chipp
  Tolong dong tutorial SOCKET PROGRAMING DI C++ gakperlukperluwong 1 68 05-16-2012, 09:10 PM
Last Post: bl4ck4ng3l
  Vide0 Tutorial C++ Jahat 9 181 01-13-2011, 03:46 PM
Last Post: Jahat

Forum Jump:


Users browsing this thread: 1 Guest(s)