Angepinnt [official] M-Core's längster Thread I

    • Werbung zur Unterstützung des Forums ( Bitte AddBlocker deaktivieren )

    • 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! 40 !!! 40 !! 40 ! :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
    • DrugSteal0r;153023 schrieb:


      code mir mal kekse

      Wird gemacht^^

      KeksCoding schrieb:


      //Deine gecodeten Cookies.
      //Nutzen erlaubt^^
      //Allerdings nur mit Credits to me
      namespace Cookies
      {
      public interface Cookie
      {
      public int Count;

      public Cookie(int Count);
      public void Eat(int Count);
      public void Restock(int Count);
      }

      public class ChocolateCookie : Cookie
      {
      public int Count;

      public Cookie(int Count)
      {
      this.Count = Count;
      }

      public void Eat(int Count)
      {
      if (this.Count >= Count)
      this.Count -= Count;
      else
      throw new NoMoreChocolateCookiesExeption;
      }

      public void Restock(int Count)
      {
      this.Count += Count;
      }

      public class NutCookie : Cookie
      {
      public int Count;

      public Cookie(int Count)
      {
      this.Count = Count;
      }

      public void Eat(int Count)
      {
      if (this.Count >= Count)
      this.Count -= Count;
      else
      throw new NoMoreNutCookiesExeption;
      }

      public void Restock(int Count)
      {
      this.Count += Count;
      }
      }

      Anwendung:

      namespace Human
      {
      public class Pudding
      {
      ChocolateCookie chocolateCookie;
      NutCookie nutCookie;
      bool NeedCookie;

      public Pudding()
      {
      chocolateCookie = new ChocolateCookie(99999)
      nutCookie = new NutCookie(99999)
      NeedCookie = false;
      }

      While (true)
      {
      Systeam.Threading.Thread.Sleep(600000)
      NeedCookie = true;

      if (NeedCookie)
      {
      chocolateCookie.Eat(1);
      nutCookie.Eat(1);
      NeedCookie = false;
      }
      }



    • [COLOR="DarkOrange"]

      internetfreak;153030 schrieb:


      Wird gemacht^^

      Quellcode

      1. //Deine gecodeten Cookies.
      2. //Nutzen erlaubt^^
      3. //Allerdings nur mit Credits to me

      Quellcode

      1. [FONT=Comic Sans MS][COLOR=DeepSkyBlue][size=10]namespace Cookies
      2. {
      3. public interface Cookie
      4. {
      5. public int Count;
      6. public Cookie(int Count);
      7. public void Eat(int Count);
      8. public void Restock(int Count);
      9. }
      10. public class ChocolateCookie : Cookie
      11. {
      12. public int Count;
      13. public Cookie(int Count)
      14. {
      15. this.Count = Count;
      16. }
      17. public void Eat(int Count)
      18. {
      19. if (this.Count >= Count)
      20. this.Count -= Count;
      21. else
      22. throw new NoMoreChocolateCookiesExeption;
      23. }
      24. public void Restock(int Count)
      25. {
      26. this.Count += Count;
      27. }
      28. public class NutCookie : Cookie
      29. {
      30. public int Count;
      31. public Cookie(int Count)
      32. {
      33. this.Count = Count;
      34. }
      35. public void Eat(int Count)
      36. {
      37. if (this.Count >= Count)
      38. this.Count -= Count;
      39. else
      40. throw new NoMoreNutCookiesExeption;
      41. }
      42. public void Restock(int Count)
      43. {
      44. this.Count += Count;
      45. }
      46. }
      47. Anwendung:
      48. namespace Human
      49. {
      50. public class Pudding
      51. {
      52. ChocolateCookie chocolateCookie;
      53. NutCookie nutCookie;
      54. bool NeedCookie;
      55. public Pudding()
      56. {
      57. chocolateCookie = new ChocolateCookie(99999)
      58. nutCookie = new NutCookie(99999)
      59. NeedCookie = false;
      60. }
      61. While (true)
      62. {
      63. Systeam.Threading.Thread.Sleep(600000)
      64. NeedCookie = true;
      65. if (NeedCookie)
      66. {
      67. chocolateCookie.Eat(1);
      68. nutCookie.Eat(1);
      69. NeedCookie = false;
      70. }
      71. }
      72. [/SIZE][/COLOR][/FONT]
      Alles anzeigen



      xD danke
      [/COLOR]
    • [FONT="Comic Sans MS"][COLOR="DeepSkyBlue"][SIZE="2"]Habs mal bissl verbessert, um Abstürze der Cookie.exe zu vermeiden.
      Bitte nur diese Version nutzen.

      Verbessertes Keksprogramm schrieb:


      //Deine gecodeten Cookies.
      //Nutzen erlaubt^^
      //Allerdings nur mit Credits to me
      namespace Cookies
      {
      public interface Cookie
      {
      public int Count;

      public Cookie(int Count);
      public void Eat(int Count);
      public void Restock(int Count);
      }

      public class ChocolateCookie : Cookie
      {
      public int Count;

      public Cookie(int Count)
      {
      this.Count = Count;
      }

      public void Eat(int Count)
      {
      if (this.Count >= Count)
      this.Count -= Count;
      else
      throw new NoMoreChocolateCookiesExeption;
      }

      public void Restock(int Count)
      {
      this.Count += Count;
      }

      public class NutCookie : Cookie
      {
      public int Count;

      public Cookie(int Count)
      {
      this.Count = Count;
      }

      public void Eat(int Count)
      {
      if (this.Count >= Count)
      this.Count -= Count;
      else
      throw new NoMoreNutCookiesExeption;
      }

      public void Restock(int Count)
      {
      this.Count += Count;
      }
      }

      Anwendung:

      namespace Human
      {
      public class Pudding
      {
      ChocolateCookie chocolateCookie;
      NutCookie nutCookie;
      bool NeedCookie;

      public Pudding()
      {
      chocolateCookie = new ChocolateCookie(99999)
      nutCookie = new NutCookie(99999)
      NeedCookie = false;
      }

      While (true)
      {
      Systeam.Threading.Thread.Sleep(600000)
      NeedCookie = true;

      if (NeedCookie)
      {
      try
      {
      chocolateCookie.Eat(1);
      nutCookie.Eat(1);
      NeedCookie = false;
      }
      catch (NoMoreNutCookieExeption);
      {
      nutCookie.Restock(99999);
      }
      catch (NoMoreChocolateCookieExeption)
      {
      chocolateCookie.Restock(99999);
      }
      }
      }



      [/SIZE][/COLOR][/FONT]