Results 16 to 25 of 25
Thread: Hello World
-
24th August 2005, 12:54 PM #16
function weekend(action)
% Version 0.1: Basic framework only.
global(to_do) % Aspirational only
if strcmp(day,'sat') & (wakeup< t(morning_tea_ind))
Tea_process('make'); % put the kettle on
search_forum;
if kidswakeup % might need process for checking sleepovers, etc.
if mood('pancakes')
makepancakes % might need menu choice here.
elseif check('wallet')
go('maccers')
end
end
if check(swmbo_awake)
Tea_process('make',2)
else
Tea_process('make',1)
end
while drool(catalogue(randchoice({'LV','LN'})))
tea_process('drink')
end
shed('latest_process')
function shed(action)
switch lower(action)
case {'latest_process'}
bumble_about_new = bumble_about('continue');
case {'process_ended'}
step = step - 1;
takepiccies
step = step + 2;
takecloseuppiccies
postforum(piccies)
shed('new')
case {'new'}
to_do = sort(to_do,priorities_list);
bumble_about('new')
if strcmp(interrupt,'need_something')
if strcmp(needtype,'simple') % Need process here to check/predict other needs, and prevent return trips!!
go('Mitre10')
else
go('Bunnings')
end
end
otherwise
trance_mode('What am I doing here?')
end
if t_lunch - 90
enquire('lunch')
end
% Rest of day/weekend still to do!!Those are my principles, and if you don't like them . . . well, I have others.
-
24th August 2005, 06:35 PM #17Originally Posted by ZedMick
avantguardian
-
24th August 2005, 06:46 PM #18
Opps someone is stuck in a loop... or is there an echo in here?
@echo off
simon says @echo offCliff.
If you find a post of mine that is missing a pic that you'd like to see, let me know & I'll see if I can find a copy.
-
24th August 2005, 07:12 PM #19
I'm thinking of taking up a job with microsoft
Mick
avantguardian
-
24th August 2005, 07:19 PM #20Senior Member
- Join Date
- Oct 2001
- Location
- Melbourne
- Posts
- 20
High School/Jr.High
===================
10 PRINT "HELLO WORLD"
20 END
First year in College
=====================
program Hello(input, output)
begin
writeln('Hello World')
end.
Senior year in College
======================
(defun hello
(print
(cons 'Hello (list 'World))))
New professional
================
#include
void main(void)
{
char *message[] = {"Hello ", "World"};
int i;
for(i = 0; i < 2; ++i)
printf("%s", message[i]);
printf("\n");
}
Seasoned professional
=====================
#include
#include
class string
{
private:
int size;
char *ptr;
public:
string() : size(0), ptr(new char('\0')) {}
string(const string &s) : size(s.size)
{
ptr = new char[size + 1];
strcpy(ptr, s.ptr);
}
~string()
{
delete [] ptr;
}
friend ostream &operator <<(ostream &, const string &);
string &operator=(const char *);
};
ostream &operator<<(ostream &stream, const string &s)
{
return(stream << s.ptr);
}
string &string:perator=(const char *chrs)
{
if (this != &chrs)
{
delete [] ptr;
size = strlen(chrs);
ptr = new char[size + 1];
strcpy(ptr, chrs);
}
return(*this);
}
int main()
{
string str;
str = "Hello World";
cout << str << endl;
return(0);
}
Apprentice Hacker
===================
#!/usr/local/bin/perl
$msg="Hello, world.\n";
if ($#ARGV = 0) {
while(defined($arg=shift(@ARGV))) {
$outfilename = $arg;
open(FILE, "" . $outfilename) || die "Can't write $arg:
$!\n";
print (FILE $msg);
close(FILE) || die "Can't close $arg: $!\n";
}
} else {
print ($msg);
}
1;
Experienced Hacker
===================
#include
#define S "Hello, World\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}
Seasoned Hacker
===================
% cc -o a.out ~/src/misc/hw/hw.c
% a.out
Guru Hacker
===================
% cat
Hello, world.
^D
New Manager
===================
10 PRINT "HELLO WORLD"
20 END
Middle Manager
===================
mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello,
world."?
I need it by tomorrow.
^D
Senior Manager
===================
% zmail jim
I need a "Hello, world." program by this afternoon.
Chief Executive
===================
% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout
-
24th August 2005, 07:31 PM #21
if {$nick=="Wongo" && $location=="USA"}
then {echo "Whiiiiiiiinge" && $action=="spit dummy"}
while ($returndate<$todaysdate)
whine; $todaysdate++
elif {$location=="Sinny" && $LVorder=="delivered"}
echo "beudy"
endif
Rocker
-
24th August 2005, 11:44 PM #22Originally Posted by Rocker
Zed, try this after Friday
Select LEFT(user_name,2), status FROM ubeaut_user WHERE rep_point < 0
1 Do inactive
2 Ke inactive
3 Ze active
-
24th August 2005, 11:47 PM #23
-
25th August 2005, 05:03 AM #24
Server Error in '/Hello_world' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during SilentC accusing Wongo for not having a life. Please apologize immediately and modify your comment appropriately.
Parser Error Message: Wongo does have a life and he is a nice person.
Source Error:
Line 1: <insult name="Wongo">Get a life</insult>
Line 2: <xsl:stylesheet>
Line 3: <xsl:template match="/">
Source File: http://www.woodworkforums.ubeaut.com...882#post189882 Line: 1
-
25th August 2005, 10:58 AM #25
Works on my machine
"I don't practice what I preach because I'm not the kind of person I'm preaching to."
Similar Threads
-
Proof The World is Nuts
By DonN in forum JOKESReplies: 4Last Post: 8th July 2005, 08:54 PM -
What's wrong with the world today
By silentC in forum NOTHING AT ALL TO DO WITH RENOVATIONReplies: 33Last Post: 19th May 2005, 01:29 AM -
If the World was fair to Guys...
By numbat in forum JOKESReplies: 1Last Post: 20th April 2005, 09:45 PM -
Secret mens business (or history of the world)
By Iain in forum JOKESReplies: 0Last Post: 30th April 2001, 08:13 AM
Bookmarks