WAR has NO value
18. November 2009
18. November 2009
#!/usr/bin/perl use constant WAR; print WAR;
#!/usr/bin/perl use constant WAR; print WAR;
#!/usr/bin/perl
while(WAR){die;}
#!/bin/bash
#---------------------------------------------
# WAR IS PRIVATE, THE FIGHT IS PURE!
#
# a BASH/C++ microcode by James W. Morris.
# http://www.jwm-art.net
# * note: this microcode requires BASH and
# the gnu C++ compiler, g++ *
#
# for more about microcodes, see:
# http://pallit.lhi.is/microcodes
#---------------------------------------------
# create our C++ file, called warclass.cc
# the contents of the file are between the
# two EOFs
cat > warclass.cc <<EOF
class war
{
war();
virtual ~war();
virtual void fight() = 0;
};
int main()
{
war mywar;
return 0;
}
EOF
echo
echo War is Private, The Fight is Pure
echo =================================
echo
echo The following is C++ code:
echo
echo "---------8<-----------------"
echo
cat warclass.cc
echo
echo "---------8<-----------------"
echo
echo "Compiling:"
echo
g++ warclass.cc
echo
echo "---------8<-----------------"
echo
echo As you can see:
echo
echo War is Private, The Fight is Pure
echo =================================
echo
#!/bin/bash
cat > warclass.cc <<EOF
class war
{
war();
virtual ~war();
virtual void fight() = 0;
};
int main()
{
war mywar;
return 0;
}
EOF
cat -n warclass.cc
g++ warclass.cc