Code Search for Developers
 
 
  

y2k2.c from CQual at Krugle


Show y2k2.c syntax highlighted

int printf(const char * format, ...);
void pr_year(char *$YY year) {
   printf("The year is 19%s", year);
}
int main() {
   pr_year((char *$YY) "99");
   pr_year((char *$YYYY) "2000");
   return 0;
} 




See more files for this project here

CQual

CQual - A tool for adding type qualifiers to C

Project homepage: http://sourceforge.net/projects/cqual
Programming language(s): C,Java,Shell Script
License: other

  README
  linux-lock.c
  linux-lock.i
  linux-lock2.c
  linux-lock2.i
  lock.c
  lock2.c
  lock3.c
  rcs1.c
  rcs2.c
  rcs3.c
  taint-cast.c
  taint-const-subtyping.c
  taint-poly.c
  taint-varargs.c
  taint0.c
  taint1.c
  taint2.c
  user0.c
  user1.c
  y2k1.c
  y2k2.c
  y2k3.c
  y2k4.c