study_week.c

Posted by tzyy On March - 30 - 2009 11 COMMENTS

#include <study_week.h>
#include <stdio.h>
#fuses NO_HAZZLE,NO_LAB,NO_UNI,NO_TIME_BUNDLE

struct subjects
{
   boolean EE2A;
   boolean EE2B;
   boolean EE2C;
   boolean EE2D1;
   boolean EE2D2;
   boolean EE2F;
   boolean EE2G;
}subject_aim, subject_content;

#byte subject_aim=0×05 // PORT SUBJ
#byte subject_content=0×85 // TRIS SUBJ

void main()
{
       action study=0; //declare and initialise study
       int days=0;

       subject_aim.EE2A=75;
       subject_aim.EE2B=65;
       subject_aim.EE2C=70;
       subject_aim.EE2D1=75;
       subject_aim.EE2D2=75;
       subject_aim.EE2F=75;
       subject_aim.EE2G=55;

      for(days=0;days<50;days++)
      {
              study++;
             if(study<40)
            {
                   printf(“I AM SO GOING TO FAIL”)
            }
       }

}

#############################################################
TZYY COMPILER V2.00
#############################################################
Executing: “C:\Program files\tzyy.exe” +FM “study_week.c” +DF +LN +T +A +M +Z +Y=9 +EA
ERROR: UNREALISTIC COMMAND FOUND. Line 22: ( “study” ).
ERROR: UNREALISTIC COMMAND FOUND. Line 34: ( “study”).
ERROR: UNREALISTIC COMMAND FOUND. Line 35: (“study”).
WARNING: Infinite Loop. Line 37:( ” You’re going to fail anyhow. “)
        3 Errors, 1 Warning.
Halting build on first failure as requested.
BUILD FAILED: Mon Mar 30 04:57:19 2009
#############################################################

Recommend Updates(V2.01):
- Lesser Memory Usage on Gaming
- Lesser Memory Usage on Chatting/Online
- Screw Procrastination

11 Responses

  1. Xeleon says:

    o.O
    good luck to u
    lol >”<

  2. WE says:

    …. *Http error comment not allowed* …..
    anyway then, good luck
    LOL !

  3. zEN says:

    what bout ur Nus function?

  4. Freddy says:

    I like this…
    Thumbs up….

  5. Vonne says:

    You GEEK.

  6. t Z says:

    =D

    NUS, I got no idea .. heh

  7. yh says:

    if(study<60)
    {
    printf(”NO MORE NUS and STAY IN UK FOR BENG”)
    }
    else
    {
    printf(”APPLY 100MB BROADBAND IN SINGAPORE”)
    }

  8. Ty_Sylicus says:

    hahaha! Very good. So what script is that written in / inspired by?

  9. tzyy says:

    >Sylicus

    This is C programming =)

  10. Ty_Sylicus says:

    Oh wow. I studied digital media and design for two years only to find out I enjoy coding in ActionScript more than anything else. >.< doh!

    And while C programming seems a little scary, I’m sure I would’ve been fine taking a course in that. I have trouble believing that a lot of complex Flash games these days are made with AS alone. Can C prog coding be incorporated into AS?

    Take this game for example: http://www.newgrounds.com/portal/view/492685.

    Also, I’m no Flash or AS expert (just a beginner). Click my name above to get an idea of what I’ve done thus far. However, I would really like to get into making Flash games full-time someday. ^_^

Leave a Reply