- Posts: 103
- Thank you received: 0
sape pandai c programming n VB?
17 years 7 months ago #28159
by Taha89
sape pandai c programming n VB? was created by Taha89
sape pandai c programming n VB?
please ajar aku.....
aku budak baru belajar...
kalau salah tolong tunjukkan...
kalau degil tangan tangan kan...
huhuhuhuhuhu
please ajar aku.....
aku budak baru belajar...
kalau salah tolong tunjukkan...
kalau degil tangan tangan kan...
huhuhuhuhuhu
17 years 7 months ago #28164
by fungkur
<p>spit it out !</p>
Replied by fungkur on topic Re:sape pandai c programming n VB?
C, C++ atau C# ?
dulu ade la blajar C++ kat kolej. skang ni plak keje maintain sistem bank lama yg guna C language. VB aku x reti, tp team sebelah aku ni mmg keje die convert sistem bank tu dari C kepada VB dot net.
nak kata pandai tu xde la, tp kalu nak bincang sama2 ok kut. aku nak belajar gak..
dulu ade la blajar C++ kat kolej. skang ni plak keje maintain sistem bank lama yg guna C language. VB aku x reti, tp team sebelah aku ni mmg keje die convert sistem bank tu dari C kepada VB dot net.
nak kata pandai tu xde la, tp kalu nak bincang sama2 ok kut. aku nak belajar gak..
<p>spit it out !</p>
17 years 7 months ago #28166
by Awie
Replied by Awie on topic Re:sape pandai c programming n VB?
aku vb boleh lah... nak tanya pasal ape?kalau vb.net boleh juga kerana aku sekarang tengah dlm proses nak master.kalau cam 2 mari kita berkonsi.. kalau aku tahu,aku akan bagi tahu..
17 years 7 months ago #28168
by atinko
Replied by atinko on topic Re:sape pandai c programming n VB?
encik taha kena laa kemukakan soalan.. susah nak ajar secara rambang camni~~~ terlalu besar c ngan VB.net tu... specifickan soalan, snang nak membantu~~
17 years 7 months ago #28179
by Awie
Replied by Awie on topic Re:sape pandai c programming n VB?
atinko ko tahu tak guna crystal report.... ?
:woohoo:
:woohoo:
17 years 7 months ago #28195
by Taha89
Replied by Taha89 on topic Re:sape pandai c programming n VB?
first nak tanya pasal vb dulu...
cmner eks nak buat byk interface then nk link smer interface tu unuk dapat jawapan.
th interface 1: pasal biodata
interface2 pasal result
then interface 3 adalah list box..
aku nak kt list box tu prin pasal biodata n result..
pasal programming plak aku belajar guna borland c++
cmner eks cara mudah nk buat looping????
tolng eks.. aku masih noob... huhuhuhu
cmner eks nak buat byk interface then nk link smer interface tu unuk dapat jawapan.
th interface 1: pasal biodata
interface2 pasal result
then interface 3 adalah list box..
aku nak kt list box tu prin pasal biodata n result..
pasal programming plak aku belajar guna borland c++
cmner eks cara mudah nk buat looping????
tolng eks.. aku masih noob... huhuhuhu
17 years 7 months ago #28206
by atinko
Replied by atinko on topic Ruj:Re:sape pandai c programming n VB?
Awie tulis:
tak tau laa abg awie~~ tp dah blajar.. haha.. student hampeh~ naper ? ada lubang erk ? :blink:
atinko ko tahu tak guna crystal report.... ?
:woohoo:
tak tau laa abg awie~~ tp dah blajar.. haha.. student hampeh~ naper ? ada lubang erk ? :blink:
17 years 7 months ago #28207
by atinko
Replied by atinko on topic Ruj:Re:sape pandai c programming n VB?
Taha89 tulis:
c++ erk... looping pki while lorh.. klu for aku tak igt c++ ada ke tak.. rasanya ada ja.. c pun ada... xkan c++ takder kan...
while (condition ko)
{
statements
}
atau
do
{
statements
}
while (condition ko)
cth:
#include <iostream.h>
int main(){
int atinko_loop = 0; //nak setkan konyer default value...
while (atinko_loop == 5) { //aku setkan value tuk stop loop
cout << current_number << endl;
atinko_loop = atinko_loop + 1; //basic tuk add nilai looping
}
cout << \"Dah abis\" << endl; //display bila looping dah abis~
}
first nak tanya pasal vb dulu...
cmner eks nak buat byk interface then nk link smer interface tu unuk dapat jawapan.
th interface 1: pasal biodata
interface2 pasal result
then interface 3 adalah list box..
aku nak kt list box tu prin pasal biodata n result..
pasal programming plak aku belajar guna borland c++
cmner eks cara mudah nk buat looping????
tolng eks.. aku masih noob... huhuhuhu
c++ erk... looping pki while lorh.. klu for aku tak igt c++ ada ke tak.. rasanya ada ja.. c pun ada... xkan c++ takder kan...
while (condition ko)
{
statements
}
atau
do
{
statements
}
while (condition ko)
cth:
#include <iostream.h>
int main(){
int atinko_loop = 0; //nak setkan konyer default value...
while (atinko_loop == 5) { //aku setkan value tuk stop loop
cout << current_number << endl;
atinko_loop = atinko_loop + 1; //basic tuk add nilai looping
}
cout << \"Dah abis\" << endl; //display bila looping dah abis~
}
17 years 7 months ago #28348
by Taha89
Replied by Taha89 on topic Ruj:sape pandai c programming n VB?
xde kea bleh tolong nih???
asap nih..... huhuhuhu
cmner nk link kan antara interface dalam vb... PLEASEEE3....
asap nih..... huhuhuhu
cmner nk link kan antara interface dalam vb... PLEASEEE3....
- mastersuse
-
- Offline
- Elite Member
-
Less
More
- Posts: 183
- Thank you received: 0
17 years 6 months ago #28553
by mastersuse
Replied by mastersuse on topic Ruj:Re:sape pandai c programming n VB?
haha aku ada blaja dulu.. tp agak dah lupa la.. huhu
17 years 6 months ago #28571
by Taha89
tolong baiki aku nyer koding....
await xjadi2.... huhuhuhuhu
TOLONG....
betul2 perlukan bantuan nih.....
Replied by Taha89 on topic Ruj:sape pandai c programming n VB?
Code:
#include <stdio.h>
#include <conio.h>
#include <string.h>
main()
{
char selection;
char ID_Num[10];
float Hr_Wgt_Rate, Num_Hr_wrk , Gross_Sal,Net_Sal, Total_Payroll=0;
for(;;)
{
flushall();
while(1)
{
printf(\"Menu\\n\");
printf(\"\\n E - Employee\'s Data\");
printf(\"\\n P - Process Monthly Report\");
printf(\"\\n X - Exit\");
printf(\"\\n\\n Select Item: \");
scanf(\"%c\",&selection);
if (selection == \'X\') return 0;
else if (selection == \'E\' || selection == \'P\')
break;
}
switch (selection)
{
case \'E\':
{
printf(\"*** Key-In Employee\'s Data **\");
printf(\"\\n\");
flushall();
printf(\"\\n Employee ID:\",ID_Num);
scanf(\"%c\",&ID_Num);
flushall();
printf(\"\\n Hour Weight Rate:\",Hr_Wgt_Rate);
scanf(\"f\",&Hr_Wgt_Rate);
flushall();
printf(\"\\n Number Hours Worked:\");
scanf(\"%f\",&Num_Hr_wrk);
printf(\"\\n\\n\\n\");
printf(\"EMPLOYEE\'S ID : %c\",ID_Num);
if (Num_Hr_wrk > 40)
{Net_Sal = ((Hr_Wgt_Rate * 40) + (((Num_Hr_wrk-40) * (Hr_Wgt_Rate))/2));
printf(\"\\nNET SAlARY : %.3f\",Net_Sal);
}
else if (Num_Hr_wrk>=0 && Num_Hr_wrk<=40)
{Net_Sal = (Num_Hr_wrk * Hr_Wgt_Rate);
printf(\"\\nNET SAlARY : %.3f\",Net_Sal);
break;
}
}
case \'P\':
{
printf(\"\\n\\n\");
printf(\"*** Process Monthly Report ***\");
printf(\"\\n TOTAL PATROLL : %.2f\",Total_Payroll);
printf(\"\\n AVERAGE AMOUNT PAID : %.2f\",Gross_Sal);
}
}
getch() ;
return 0;
}
}
await xjadi2.... huhuhuhuhu
TOLONG....
betul2 perlukan bantuan nih.....
Time to create page: 0.479 seconds



