1. M

    Thread for Programming and Realeted Topics

    ඕන්න කට්ටියට ඕන නම් ගන්න මේක Scientific Cal එකක් Delphi වලින් ලිව්වෙ මට VB6 වල string functions පුරුදුවෙලා නිසා මේකෙ ඒවත් අලුතෙන් හදලා තමා පටන් ගත්තෙ. සම්පූර්ණ project එක(exe සමඟ) http://madurax86.2kmegs.com/Calc.zip //--Info // * Originally written by Madura Anushanga Shelton // * Last...
  2. M

    Thread for Programming and Realeted Topics

    C++ has that kind of functionality but I personally dont use try catch statements in my code :P C++ is the OOP version of C, C is some what structural C++ has OOP functionality. Use Dev C++, I use it to code they run well in Dev C++.
  3. M

    Thread for Programming and Realeted Topics

    Heres my solution, #include <cstdlib> #include <iostream> using namespace std; FindPrimeFactors(long s) { long i; if (s==0){ cout<<"0"<<endl; return 0; } for (i=2;i<=(s/2);i++) { if (s % i == 0) { cout<<i<<endl; s=s/i; i=2...
  4. M

    Thread for Programming and Realeted Topics

    hmm try posting your code for a prime factor finder example, if i input 10, it's prime factors are 5 and 2 if i input 60, its prime factors are 3,5 and 2 ..like that
  5. M

    Thread for Programming and Realeted Topics

    I dont know java but here is the C++ equivalent :P #include <cstdlib> #include <iostream> using namespace std; main() { int i,j=0; float fNum[9],fTot=0; for (i=0;i<=9;i++){ cin>>fNum[i]; fTot=fTot+fNum[i]; } cout<<"Following numbers are above average...
  6. M

    Amara Sara Arana - Pandith Amaradeva @ elakiri - Download Songs

    පාළු අදුරු
  7. M

    Amara Sara Arana - Pandith Amaradeva @ elakiri - Download Songs

    මං අප් කරනව තව ටිකෙන් දෙන්නම්:cool:
  8. M

    Why did students commit suicide?

    Thats because you have failed to be FIRM to the child :P stop blaming all sinhalese for your failures like ranil, take some responsibility and make it correct :lol: Ok so there are a small amount of sinhalese shops in unity plaza because sinhala people are not disciplined ...ok ok + sinhalese...
  9. M

    UNP GON RAJAGEN THAWATH GON PRAKASHAYAK

    - කම්හල් ප්‍රමාණයක් වැසී ඇත. යූ ඇන් පියේ ගනින සංඛ්‍යාවලට - සංඛ්‍යාද ඇතුලත් ය. :lol:
  10. M

    K tc gd nyt

    K tc gd nyt
  11. M

    danne na ban :P try ekak duna wade harigye na :S

    danne na ban :P try ekak duna wade harigye na :S
  12. M

    it is my machine :P HLDS running the server and Counter Strike(as the client) the server is...

    it is my machine :P HLDS running the server and Counter Strike(as the client) the server is hosted on my IP
  13. M

    WAR ? : It’s Time to Act on Iran’s Nuke Program : Sarkozy

    They have support from teh skys! i dont think that they'll be on the top for long though evrythin falls after sometime even SL was a better country in the past but now we are goin down may be we'll go up :D cant say
  14. M

    Any idea what went wrong?

    Any idea what went wrong?
  15. M

    WAR ? : It’s Time to Act on Iran’s Nuke Program : Sarkozy

    I do NOT hate Seth Mcfarlane tho hehe Family Guy FTW anyway hes an independent thinker who jokes about jews too :lol:
  16. M

    It has bots (the single player version has them) after creating the game, because its dedicated...

    It has bots (the single player version has them) after creating the game, because its dedicated server i have to connect to it as just another player there is a admin privilege system called "rcon" i have set it's password but when i enter it in the game nothing happens and when i add bots...
  17. M

    WAR ? : It’s Time to Act on Iran’s Nuke Program : Sarkozy

    No I'm not. :P Germans elected him beause Jews where a pain for them i think i dont know the reason. The reason i dont like jews is the same reason that makes me hate eelam tamils, they are the cry babies and they are baddies at the same time! WTF how can they be mistreated and they are let to...
  18. M

    WAR ? : It’s Time to Act on Iran’s Nuke Program : Sarkozy

    Just the people who they call jews :P Iran's president had said that USA's weapons are being misused and the country being guided to wrong ways by a small population. i tend to think that he is speaking the truth, jews are in the same number as sinhalese(around 13 million -wikipedia)
  19. M

    Ok :P I can make the server now but still dont get how to add bots to the game running in the...

    Ok :P I can make the server now but still dont get how to add bots to the game running in the server

    No contents