programmer කෙනෙකුට කියනවන්න හොද web site ටිකක් කියන්නකො දන්න කෙනෙක්
අමතර දැනුම ඒකතු කරගන්න
youtube චැනල් හරි කමක් නැ![]()
programmer කෙනෙකුට කියනවන්න හොද web site ටිකක් කියන්නකො දන්න කෙනෙක්
අමතර දැනුම ඒකතු කරගන්න
youtube චැනල් හරි කමක් නැ![]()
void main()
{
char v;
cout<<"=========================================================="<<endl;
cout<<"Press a for Login"<<endl;
cout<<"Press b for Help"<<endl;
cout <<"Enter a or b :- ";
cin>>v;
switch (v)
{
case 'a': cout <<""<<endl;
x();
break;
case 'b' : cout<<"Instruction For System"<<endl;
cout<<"Coustermer can use their login user name and passward to login to the system.As well admin can login using username and passward.Entering password for 3 times will be reason to block user"<<endl;
main();
break;
case 'c' : cout <<"exit"<<endl;
exit(1);
default : cout<<"use only a/b"<<endl;
main();
break;
}
system("pause");
}
void x()
{
int counter =3;
system ("color 06");
while(counter>0)
{//start while
string username;
string passward;
cout<<"=========================================================="<<endl;
cout<<" "<<endl;
cout<<"Enter your username and passward to loging to the system "<<endl;
cout<<""<<endl;
cout<<"========================================================== "<<endl;
cout<<"Enter username = ";
cin>>username;
char ch;
cout<<"Enter passward = ";
ch = _getch();
while(ch != 13){//character 13 is enter
passward.push_back(ch);
cout << '*';
ch = _getch(); }
if((username=="user")&&(passward=="pass"))
{//start if
bool quit=false;
cout<<""<<endl;
cout<<"=========================================="<<endl;
cout<<"Welcome To LITTLEFORK DONUT EMPORIUM "<<endl;
cout<<"=========================================="<<endl;
cout<<""<<endl;
system ("color 02");
while(quit==false) {//start while
cus();
char w;
cout<<"do you want to continue y/n"<<endl;
cin>>w;
if(w=='y'||w=='y')
cus();
else if (w=='n'||w=='N')
quit=true;
}//end while
break;
}
if((username=="a")&&(passward=="a"))
{ bool quit=false;
cout<<""<<endl;
cout<<"=========================================="<<endl;
cout<<"Welcome To LITTLEFORK DONUT EMPORIUM "<<endl;
cout<<"=========================================="<<endl;
cout<<""<<endl;
system ("color 02");
m2();
while(quit==false) {//start while
admin();
char t;
cout<<"do you want to continue y/n"<<endl;
cin>>t;
if(t=='y'||t=='y')
admin();
else if (t=='n'||t=='N')
quit=true;
}//end while
break;
}
else
{ cout<<""<<endl;
cout<<"wrong passward or username"<<endl;
}
counter--;
}
if(counter==0)
{ cout<<"unauthorized user.Contac administrator"<<endl;
}
else
{
x();
}
}
මෙහි බූල් වැඩ කොරන්නේ මන්චන් ආකාරයකටය. n/N දුන් විට Exit නොවේ. එමෙන්ම බූල් වැඩ කරන්නේ වරක් ඇර වරකි. උදව් කරත්වාාාාPHP:void main() { char v; cout<<"=========================================================="<<endl; cout<<"Press a for Login"<<endl; cout<<"Press b for Help"<<endl; cout <<"Enter a or b :- "; cin>>v; switch (v) { case 'a': cout <<""<<endl; x(); break; case 'b' : cout<<"Instruction For System"<<endl; cout<<"Coustermer can use their login user name and passward to login to the system.As well admin can login using username and passward.Entering password for 3 times will be reason to block user"<<endl; main(); break; case 'c' : cout <<"exit"<<endl; exit(1); default : cout<<"use only a/b"<<endl; main(); break; } system("pause"); } void x() { int counter =3; system ("color 06"); while(counter>0) {//start while string username; string passward; cout<<"=========================================================="<<endl; cout<<" "<<endl; cout<<"Enter your username and passward to loging to the system "<<endl; cout<<""<<endl; cout<<"========================================================== "<<endl; cout<<"Enter username = "; cin>>username; char ch; cout<<"Enter passward = "; ch = _getch(); while(ch != 13){//character 13 is enter passward.push_back(ch); cout << '*'; ch = _getch(); } if((username=="user")&&(passward=="pass")) {//start if bool quit=false; cout<<""<<endl; cout<<"=========================================="<<endl; cout<<"Welcome To LITTLEFORK DONUT EMPORIUM "<<endl; cout<<"=========================================="<<endl; cout<<""<<endl; system ("color 02"); while(quit==false) {//start while cus(); char w; cout<<"do you want to continue y/n"<<endl; cin>>w; if(w=='y'||w=='y') cus(); else if (w=='n'||w=='N') quit=true; }//end while break; } if((username=="a")&&(passward=="a")) { bool quit=false; cout<<""<<endl; cout<<"=========================================="<<endl; cout<<"Welcome To LITTLEFORK DONUT EMPORIUM "<<endl; cout<<"=========================================="<<endl; cout<<""<<endl; system ("color 02"); m2(); while(quit==false) {//start while admin(); char t; cout<<"do you want to continue y/n"<<endl; cin>>t; if(t=='y'||t=='y') admin(); else if (t=='n'||t=='N') quit=true; }//end while break; } else { cout<<""<<endl; cout<<"wrong passward or username"<<endl; } counter--; } if(counter==0) { cout<<"unauthorized user.Contac administrator"<<endl; } else { x(); } }
ගොඩාක් ස්තුතියි මචන්


void main()
{
int counter =3;
bool quit=false;
system ("color 06");
while(counter>0)
{//start while
string username;
string passward;
cout<<"=========================================================="<<endl;
cout<<" "<<endl;
cout<<"Enter your username and passward to loging to the system "<<endl;
cout<<""<<endl;
cout<<"========================================================== "<<endl;
cout<<"Enter username = ";
cin>>username;
char ch;
cout<<"Enter passward = ";
ch = _getch();
while(ch != 13){//character 13 is enter
passward.push_back(ch);
cout << '*';
ch = _getch(); }
if((username=="user")&&(passward=="pass"))
{//start if
cout<<""<<endl;
cout<<"=========================================="<<endl;
cout<<"Welcome To LITTLEFORK DONUT EMPORIUM "<<endl;
cout<<"=========================================="<<endl;
cout<<""<<endl;
system ("color 02");
while(quit==false) {//start while
cus();
char w;
cout<<"do you want to continue y/n"<<endl;
cin>>w;
if(w=='y'||w=='y')
cus();
else if (w=='n'||w=='N')
quit=true;
}//end while
break;
}
if((username=="a")&&(passward=="a"))
{
cout<<""<<endl;
cout<<"=========================================="<<endl;
cout<<"Welcome To LITTLEFORK DONUT EMPORIUM "<<endl;
cout<<"=========================================="<<endl;
cout<<""<<endl;
system ("color 02");
m2();
while(quit==false) {//start while
admin();
char t;
cout<<"do you want to continue y/n"<<endl;
cin>>t;
if(t=='y'||t=='y')
admin();
else if (t=='n'||t=='N')
quit=true;
}//end while
break;
}
else
{ cout<<""<<endl;
cout<<"wrong passward or username"<<endl;
}
counter--;
}
if(counter==0)
{ cout<<"unauthorized user.Contac administrator"<<endl;
}
else
{
main();
}
}

මම නම් තාම රස්සා ගැන පොඩ්ඩක් වත් අත්දැකිම් නැ මචන්සිරාම කතාව මචන් මට කාලයක් වැරදුනෙත් ඔතන තමා. සමහර විට එකට හේතු වෙන්න ඇත්තේ මගේ
ජොබ් එක වෙන්නත් පුළුවන්. මොකද එකේ හැටියට ගොඩක් දේවල් දැනගන ඉන්න උනා. එනිසා හැම
දේම පොඩ්ඩ පොඩ්ඩ හරි දැනගන ඉන්න උනා මට. දැන් නම් දෙයියනේ කියල ඒ වැරැද්ද ටිකක් දුරට
හදා ගත්තා![]()


ගූගල් ඉන්පුට් ටූල්ස් රියල්ටයිම් සින්ග්ලිශ් වගේ රියල් ටයිම් ඩෙස්ක්ටොප් සිඞ්හල කොටනයක සෝස් කෝඩ්ස් ටිකක් නැද්ද බං හොයාගන්න ? තියේනම් දියංකොමොකක් හරි කමක් නෑ.. විජේසේකර ක්රමේට කෙටෙන ඒව එහෙම එපා
සින්ග්රීසි ක්රමේට කෙටෙන ඕනෙම එකක..
, මම ඒ ජාවාස්ක්රිප්ට් එක Objective C වලට කන්වර්ට් කරා(ඒ මේකට https://itunes.apple.com/lk/app/isindict/id827983212?mt=8) ජාවා හරි c# වලට හරි ඊට වඩා ලේසියෙන් කරන්න පුලුවන් වෙයි.UCSC කන්වර්ටර් එකේ ජාවාස්ක්රිප්ට් එක අරගෙන කන්වර්ට් කරගනින්කෝ පැය දෙකක් යයි, මම ඒ ජාවාස්ක්රිප්ට් එක Objective C වලට කන්වර්ට් කරා(ඒ මේකට https://itunes.apple.com/lk/app/isindict/id827983212?mt=8) ජාවා හරි c# වලට හරි ඊට වඩා ලේසියෙන් කරන්න පුලුවන් වෙයි.

හෙළයෙක්;18086169 said:Find Replace walin 10min walin JAVA walata convert kara![]()


ඒකනේ කිවුවේSource eka denna barida?හෙළයෙක්;18086169 said:Find Replace walin 10min walin JAVA walata convert kara![]()

pm ekak dana mata amataka wenawa nathan, heta ude danam thread ekata . dan hoyana tikak amarui.Source eka denna barida?![]()
