1. badtnc

    Need Help in 'C'

    machan check dis. dis should work rit... bt it wont :-( #include <stdio.h> # include <string.h> main() { int i,m,n,count,y=0; char str[10],rev_str[10]; printf("Enter a String :"); gets(str); for(i=0;str[i]!='\0';i++) { } m=i; n=i; for(i;i>=0;i--) { rev_str[y]=str[i]; y++; }...
  2. badtnc

    Need Help in 'C'

    wat about this #include <stdio.h> # include <string.h> main() { int i,m,n,count; char str[10],rev_str[10]; printf("Enter a String :"); gets(str); for(i=0;str[i]!='\0';i++) { } m=i; n=i; int y=0 for(i;i>0;i--) { rev_str[y]=str[i]; y++; } printf("new: %s",rev_str); }
  3. badtnc

    Need Help in 'C'

    can some one tell me wat is da error en my code
  4. badtnc

    Need Help in 'C'

    #include <stdio.h> # include <string.h> main() { int i,m,n,count; char str[10],rev_str[10]; printf("Enter a String :"); gets(str); for(i=0;str[i]!='\0';i++) // this is for find the arry size. i will store the arry size { } m=i; n=i; for(i;i>0;i--) //this is for reverse. but not working {...
  5. badtnc

    Need Help in 'C'

    kauruth nadda????
  6. badtnc

    Need Help in 'C'

    i want to revers a arry and store it in another arry and want to print it. this is the code some problem in it. can some one modify it??? is dis rev_str[n-i]=str[i]; correct??? #include <stdio.h> # include <string.h> main() { int i,m,n,count; char str[10],rev_str[10]; printf("Enter a...
  7. badtnc

    Ane ape Robin aiya dang naki wela

    Ragapapu kattiya wayasata giyath Robin Hood TV serious eka nam kawadawath wayasta yanne na. Mama Mea dawas wala hamadama arye balanwa. Oka dan balala athi 100 parak withara. eath kawadawath epa wenne na.
  8. badtnc

    Sl cricket

    Kathawa nam aththama athha...
  9. badtnc

    SL Cricket Captancy

    Mahela thama maxama... Mahela wage team eka controle karanna ba katawath. eka hodatama sure. anika sangata tharaha yanwa. eka nisa sangai Dilshangei loku wenasak nathi wei. eka nisa hodama dea thama mahelawa thiyana eka. Mahela kiyanne loke inna hodama batsman kenek. Mahela aryeth ganata form...
  10. badtnc

    Kelaniya university seen and how Sirasa reported it.

    Oya kohomada danne??? Gal Gahana eun mara ahinsakayo wenna athi...:lol: :lol: :lol:
  11. badtnc

    A Funny Day of Cricketing - 10.02.09 :P

    Monwa unath apita dinanna thibba match eka... Dilharai, Malinga, Mirando,Dilshan, Mubarak. set wela match eka kawa. Dilhara - Aurudu ganak cricket gahala hariyata kelin ball karanna ba. Malinga - kelin ball karanna ba. ball karanne koheda kiyala malinga danne na. Mirando - Off stump eken...
  12. badtnc

    HELP me C Programmers

    Menna IF condition dala #include<stdio.h> int main() { char a; float C,F; printf("\n\n\n\tWhat is your input type?\n"); printf("\tc-Celsius\n"); printf("\tf-Farenheit\n\n"); printf("Enter number of your preference: "); scanf("%c",&a); if(a=='f') { printf("Enter your temperature in Celsius...
  13. badtnc

    HELP me C Programmers

    C HELP this will help u machan
  14. badtnc

    HELP me C Programmers

    Othana thiyana printf eka dala thiyenne user ta kiyanna monawada thiyana option deka kiyannai. uba hara wena user kenek oka use karanwaw kiyala hithanna. man kohomada danne monwada option deka kiyala . ekai machan printf() ekak dala thiyenne. printf(); kisima widiyakin programe eke logic eka...
  15. badtnc

    HELP me C Programmers

    switch (a){ case "c"{<code here>} case "f"{<code here>} } machan methana uba user gen input eka ganna eka danna ona (a) walata. meken wenne (a) walata user dena answer eka anuwa topics wenas wenwa. case 'f': case 't' case 'w' oya widiyata ubata ona tharam options denna puluwan. machan dis is...
  16. badtnc

    HELP me C Programmers

    wade harine.... lolz
  17. badtnc

    HELP me C Programmers

    wait ill re write this
  18. badtnc

    Download Rapidshare using Dialog HSDPA

    mata nam wada machan.. try and see.
  19. badtnc

    Download Rapidshare using Dialog HSDPA

    tx machan... keep posting... its working...
  20. badtnc

    What Do You Think About Mahelaa??

    Ubalage Sanga eda mokada kale???? mara responsability ekak arran koheda yana ball ekakata bat eka damma neda ban??? samahara wita kalin dressing room ekata gihin batting order eka hadanna wenna athi... ane machan mea... mahela ea welawe gahapu widiya hariyatama hari.. ea welawe mahela out una...

    No contents