-=Wut_Sud_Loh=-'s profile:~*~ W u t _ S u d L o h...PhotosBlogLists Tools Help

Blog


    October 28

    ว่างจัด

     
    เนื่องจากว่างจัดอ่ะนะ
    แล้วก็ไม่มีไรทำ
    บังเอินเข้าไปดูสเปซนางสาว บัว(นามสมมติ)
    ก็เลยนึกห่าไรไม่รู้นั่งเขียนโค้ดขึ้นมาได้ตัวนึง
    ถ้าคนเป็นโปรแกรมก็คงจะอ่านเข้าใจดี
    คนที่ไม่เคยเรียนอาจอ่านไม่ออก
    แต่ก็คงพอเข้าใจบ้างล่ะ
    ไปดูกาน
    void main()
    {
       เจอรักแท้=FALSE;
       คุณคิดว่าใช่==TRUE;
       while(เจอรักแท้==FALSE)
          {
             มีแฟน:
             while(คุณคิดว่าใช่==TRUE)
               {
                   if(ทะเลาะและเลิกกะแฟนปัจจุบัน==TRUE)
                      {
                            ลืมไอ้เหี้ยนี่ซะ(คนรักปัจจุบัน);//เปนฟังชั่น
                            คนรักปัจจุบัน++;//เปลี่ยนเป็นคนใหม่และ
                      }
                   if(รีเทิร์นรักเก่า==TRUE)
                      {
                            คนรักปัจจุบัน=คนรักเก่า();//ฟังชั่นหาคนรักเก่า
                      }
                   if(เค้ามีคนใหม่==TRUE)
                      {
                             ลืมไอ้เหี้ยนี่ซะ(คนรักปัจจุบัน);//เปนฟังชั่น
                             คนรักปัจจุบัน++;//เปลี่ยนเป็นคนใหม่ซะ
                      }
                   if(เราแอบมีกิ๊ก==TRUE)
                      {
                              if(รัก(กิ๊กใหม่)>รัก(คนรักปัจจุบัน))
                                    คนรักปัจจุบัน=กิ๊กใหม่;
                       }
                   if(ได้แต่งงาน(คนรักปัจจุบัน)==TRUE)
                       {
                              break;
                       }
               }

             if(อยู่คู่กันจนตาย(คนรักปัจจุบัน)==TRUE)
                {
                      เจอรักแท้==TRUE;
                }
             if(หย่ากัน(คนรักปัจจุบัน)==TRUE)
                {
                      หย่า(คนรักปัจจุบัน);
                      goto มีแฟน;
                }
         }
         printf("ดีจายด้วย คุณเจอรักแท้แล้วนะ");
    }
     
     
    อ่า...เปนไง ดีจายมะ นางสาวบัว(นามสมมติ)
    ที่วุดเขียนโค้ดนี้ให้บัว
    ความจิงใช้ได้กะทุกคนอ่ะนะ
    ตอนนี้ชีวิตบัวอยู่ใน loop while อันในอ่ะ
    จะหลุด loop นั้นออกมาได้ก็จนกว่าจะแต่งงานล่ะ
     
    และถึงทุกๆคนรวมทั้งไอ้พงเพื่อนรัก(นามสมมติ)
    ชีวิตคนเรามันจะเจอรักแท้ก็ต่อเมื่อเราได้อยู่กะเค้าจนตายอ่ะนะ
    และโค้ดนี้มันยังมี error ตรงที่ว่า
    ชีวิตคนเราบางทีมันอาจไม่ได้เจอรักแท้ไปจนตาย
    อ่าๆๆๆๆ ไม่ได้แช่งใครนะบอกไว้ก่อน
     
    ส่วนนี่คือโค้ดของตัววุดเอง
     
    void main()
    {
       วุฒหน้าตาดี=TRUE;
       while(วุฒหน้าตาดี==TRUE)
          {
                เพื่อนๆโห่();
                printf(" กูหน้าด้านอ่ะ ทำไมอ่ะ 555 ");
          }
    }
     
    loop แบบนี้มันจะรัน Infinity นะจ๊ะ
    เพราะเงื่อนไขเปนจิงตลอดกาล
    เรียกว่า "loop วุฒหล่อ Infinity ไม่มีเปลี่ยนแปลง"
     
     
     
    จบความติงต๊องของกระผมในยามว่างจัด
     
     
     
     
     

    Comments (9)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    No namewrote:

    Amberdigital Branch,Southern Stars Enterprises Co is specializing in the development and manufacturing of mp4 advertisement players, SD card players and advertisement LCD displays. Established in 1996, we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.

    amberdigital Contact Us
    Southern Stars Enterprises Co (Hong Kong Office)
    Add:3 Fl, No.2, Lane 2, Kam Tsin Tsuen, Sheung Shui, Hong Kong
    Tel:+852 2681 4099
    Fax:+852 2681 4586

    Southern Stars Enterprises Co (Shenzhen Office)
    Add:DE, 16/F, Building 2, Nanguo Tower, Sungang Road, Shenzhen, China
    Tel:+86 755 2592 9100
    Fax:+86 755 2592 7171

    E-mail:sstar@netvigator.com
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[ba

    Aug. 24
    ง่ะ..โง่ โปรแกรม  แปลให้ด้วย
     
    ว่าแต่ วุดลืม ฟังก์ชัน
     
    แฟนสวย();  ไปด้วยอ่ะ
     
    ไปใส่เพิ่มด้วยนะ  เด๋วโปรแกรมจะมี bug
     
    เออ...ที่เขียนนี่...สงสัยว่า คนเขียนจะเจอรักแท้แร้วใช่ป่ะ
    Nov. 9
    โชคดีที่ไม่มีฟังก์ชัน มือที่สาม
    อิอิ
    กูไม่เกี่ยว
    Nov. 1
    เอ่อ..พี่ครับ... ทำไม ชื่อสมมติ มัน คุ้นๆ ครับ ^^"
    Oct. 29
    YImJi OHOwrote:
    ท่าจะว่างจัดนะเมิง
    สาดๆๆๆ vbอิอิอิ
    Oct. 29
    555+ ขำดีว่ะ
     
    คิดได้ไงเนี้ย
     
    แต่นามสมมติเนี้ย
     
    สมมติจิงป่าวว่ะ
     
    อ๋อ!! เข้ามาอ่านแล้วนะ
     
    ไม่ต้องน้อยใจล่ะ
     
    Oct. 29
    ว่างจิงๆๆนะ คิดได้ไงวะ
    Oct. 29
    pOr _srOp_wrote:
    5555555555 ขำ หว่ะ
     
    แมร่งคิดได้ไง เสียเวลานานมะ ท่าทางว่างจิงอ่ะเนี่ย
     
    ถ้าโปรแกรมวุด ไป run ให้ รวท ดูเค้าต้องแบนกลับ
     
    มาแน่ๆเลย เพราะว่ามันไม่ make sense 55555555
     
    Oct. 29
    SamOrAi oMwrote:
    กูว่า loop นี้ ในภาษาที่กูเรียนว่า เค้าเรียก False Positive คือ ผลที่แสดง มันโกหก อะ ^^
    Oct. 28

    Trackbacks

    The trackback URL for this entry is:
    http://wutsudloh.spaces.live.com/blog/cns!3FC6AB9427D59200!502.trak
    Weblogs that reference this entry
    • None