Um, Help

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Um, Help
Guardian
Member # 2080
Profile #0
A few days ago, I started on a quest to learn how to program computers. Unfortunately, it was harder than I ever thought possible. Actually, I'm sure it'll be easy if I ever get the hang of it. My real problem is the fact that I can't even get the first example on the tutorial to work. Different tutorials have different ways to do the exact same thing, but none of them work. Can anyone help me with this, or maybe lead me somewhere I can solve this problem?
Posts: 1918 | Registered: Sunday, October 13 2002 07:00
Bob's Big Date
Member # 3151
Profile Homepage #1
Hello, World!

--------------------
In a word, gay.
--Bob the Impaler

Posts: 2367 | Registered: Friday, June 27 2003 07:00
Guardian
Member # 2080
Profile #2
Damn you, "hello world". Damn you to Alabama.
Posts: 1918 | Registered: Sunday, October 13 2002 07:00
Post Navel Trauma ^_^
Member # 67
Profile Homepage #3
code:echo Uryyb jbeyq | $(`echo rpub | rot13` ebg13 | `echo ebg13 | rot13`)[/code]I could probably improve on it with awk, but it's the middle of the night.

--------------------
Grammar wenches beware:
This is the house that the malt that the rat that the cat that the dog that the cow that the maiden that the man that the priest that the cock that the farmer kept waked married kissed milked tossed worried killed ate lay in.

My Website
desperance.net - Leave your sanity at the door
Posts: 1798 | Registered: Thursday, October 4 2001 07:00
Babelicious
Member # 3149
Profile Homepage #4
code:[mboeh@debs]~% cat > hello.c
#include <stdio.h>

int main(void)
{
printf("Hello, world!\n");
return 0;
}
[mboeh@debs]~% gcc -o hello hello.c
[mboeh@debs]~% ./hello
Hello OH GOD THREE AT ONCE GIVE ME ANOTHER[/code]I'm afraid my computer is possessed.
Posts: 999 | Registered: Friday, June 27 2003 07:00
Senile Reptile
Member # 547
Profile #5
code:

#include<dos.h>
#include<conio.h>
#include<iomanip.h>

int main(void)
{
sound(440);
delay(500);
nosound();
textcolor(RED);
cout<<"HOORJ";
getch();
}
[/code]-Motrax, who hasn't posted here in a few days and decided to curtail his absence with a short and alltogether useless post.

[ Monday, November 03, 2003 07:38: Message edited by: Sir Motrax of Exile ]

--------------------
Polaris
Posts: 1614 | Registered: Wednesday, January 23 2002 08:00
Post Navel Trauma ^_^
Member # 67
Profile Homepage #6
code:#include <stdio.h>

main() {
char text[] = { 27,91,49,59,53,59,51,49,109,68,73,69,27,91,48,109,10,0};

printf("%s",text);
}[/code]

--------------------
Grammar wenches beware:
This is the house that the malt that the rat that the cat that the dog that the cow that the maiden that the man that the priest that the cock that the farmer kept waked married kissed milked tossed worried killed ate lay in.

My Website
desperance.net - Leave your sanity at the door
Posts: 1798 | Registered: Thursday, October 4 2001 07:00
Warrior
Member # 246
Profile #7
code:#include <windows.h>

void setcolor(WORD forecolor, WORD backcolor)
{
HANDLE screen = GetStdHandle(STD_OUTPUT_HANDLE);

SetConsoleTextAttribute(screen, forecolor + (backcolor << 4));
}

void gotoxy(WORD x, WORD y)
{
HANDLE screen = GetStdHandle(STD_OUTPUT_HANDLE);
COORD position;

position.X = x;
position.Y = y;
SetConsoleCursorPosition(screen, position);
}

int main(int argv, char *argc[])
{
setcolor(15, 1);
gotoxy(5, 5);
printf("Hello world\n");

return 0;
}[/code]
Posts: 117 | Registered: Friday, November 2 2001 08:00
Post Navel Trauma ^_^
Member # 67
Profile Homepage #8
Back to the original question, in an attempt to be vaguely helpful.

What platform, language, compiler and tutorial are you using?

--------------------
Grammar wenches beware:
This is the house that the malt that the rat that the cat that the dog that the cow that the maiden that the man that the priest that the cock that the farmer kept waked married kissed milked tossed worried killed ate lay in.

My Website
desperance.net - Leave your sanity at the door
Posts: 1798 | Registered: Thursday, October 4 2001 07:00