136 Forum Posts by "CalumTurner"
At 1/20/07 05:16 PM, Auron-1337 wrote: Whats the link to, prolly pr0n...
BANNED FOR POSTING IN A SPAM THREAD U LOSER HAHAHAH IM A LOSER BECUZ IM BANNED TOO, AND IM BAGOVERHEADS ALT LOLOLOLOLLOLOLOLOOLOLOOLOLOOLOL
BTW im not related to any usr fom ng. and mi splling is gr3t eh>
Hi everyone, just a quick question which I hope you guys can answer.
Here is the code Im using in C++
COOOOOODEEEE::
#include <windows.h>
/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
/* Make the class name into a global variable */
char szClassName[ ] = "WindowsApp";
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are saved */
WNDCLASSEX wincl; /* Data structure for the windowclass */
/* The Window structure */
wincl.hInstance = hThisInstance;
wincl.lpszClassName = szClassName;
wincl.lpfnWndProc = WindowProcedure; /* This function is called by windows */
wincl.style = CS_DBLCLKS; /* Catch double-clicks */
wincl.cbSize = sizeof (WNDCLASSEX);
/* Use default icon and mouse-pointer */
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName = NULL; /* No menu */
wincl.cbClsExtra = 0; /* No extra bytes after the window class */
wincl.cbWndExtra = 0; /* structure or the window instance */
/* Use Windows's default color as the background of the window */
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND;
/* Register the window class, and if it fails quit the program */
if (!RegisterClassEx (&wincl))
return 0;
/* The class is registered, let's create the program*/
hwnd = CreateWindowEx (
0, /* Extended possibilites for variation */
szClassName, /* Classname */
"Windows App", /* Title Text */
WS_OVERLAPPEDWINDOW, /* default window */
CW_USEDEFAULT, /* Windows decides the position */
CW_USEDEFAULT, /* where the window ends up on the screen */
544, /* The programs width */
375, /* and height in pixels */
HWND_DESKTOP, /* The window is a child-window to desktop */
NULL, /* No menu */
hThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);
/* Make the window visible on the screen */
ShowWindow (hwnd, nFunsterStil);
/* Run the message loop. It will run until GetMessage() returns 0 */
while (GetMessage (&messages, NULL, 0, 0))
{
/* Translate virtual-key messages into character messages */
TranslateMessage(&messages);
/* Send message to WindowProcedure */
DispatchMessage(&messages);
}
/* The program return-value is 0 - The value that PostQuitMessage() gave */
return messages.wParam;
}
/* This function is called by the Windows function DispatchMessage() */
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) /* handle the messages */
{
case WM_DESTROY:
PostQuitMessage (0); /* send a WM_QUIT to the message queue */
break;
default: /* for messages that we don't deal with */
return DefWindowProc (hwnd, message, wParam, lParam);
}
return 0;
}
where would I put a cout statement to make it apprear on the window?
Im zen4444, and my jokes are funny, just like the arrogant zen444.
At 12/11/06 05:06 PM, CitricSquid wrote: Choose your sides ladies.
BAT DAN BAT DAN BAT DAN!
At 11/25/06 04:19 PM, C41um wrote:At 11/25/06 04:14 PM, program wrote: blahDo you suffer from schizophrenia?
How long ago was it that you were sending ass-kissing PM's?
Do you always treat people like shit,
Do you always make fun
do you always talk in l33t on chat rooms
does jebus hate you
does NOZ hate you
does the world hate you enough to put you on urban dictionary
are you 10
are you annoying
do you say your 14
are you going to shut up
are you going to get arrested later on in life
are you a fail
does jordan hate you
do you email bomb
I have the answer
YES
stop picking at people you fag
Is it true calum T has a newgrounds account. If you dont know who calum t is then here.
At 11/24/06 07:33 PM, SpamBurger wrote: header('Location: page.php?id=someid');
you jsut put it like this!?
<?php
header('Location: page.php?id=someid');
?>
At 11/24/06 07:29 PM, authorblues wrote:At 11/24/06 07:27 PM, NyNy wrote: how do you make that apprear on the URL.in the URL? you could type it there...
ask your question correctly, and youll get the answer youre looking for.
How do you make it appear there using php. Because Im trying to make type of page with different Id's How would you make the id's appear in the url using PHP?
like http://www.newgrounds.com/bbs/forum.php?id=7
notice the ?id=7
how do you make that apprear on the URL.
How do you make it say
id=1 at the top of the page, kind of like the url for newgrounds, how it says id=7.
How do you do that using php?
At 11/21/06 06:29 PM, CronoMan wrote:At 11/21/06 06:05 PM, NyNy wrote: Im using fwrite so far pretty well, I read an online tut on it but Ive got one question, how would you write somefing to a file but not delete the stuffz underneath it?->
tnx
I am using fwrite, so far so well. I've read an online tutorial on it but I've got one question; how would you write something to a file, but not delete its content?
thanks
I'll tell you how; you seek to the end, using fseek
Like This?
$fu = fopen("something.php", "w");
$data = fgets($fp, 4096);
fseek($fu, 0);
fwrite($fu, $data, $name);
fclose($fu)
Im using fwrite so far pretty well, I read an online tut on it but Ive got one question, how would you write somefing to a file but not delete the stuffz underneath it?
tnx
Soo, whos up for a beer.
*pops one open and drinks*
ahh that was good.
Hi Everyone,
This is the newgrounds bar, unless its been invented before. We have all types of beer that you will like! I'll list em below.
Budweiser
Busch
Coors
Miller
Michelob
Pabst Blue Ribbon
Rock Green Light
Rolling Rock
Strohs
Killians Irish Red
And we have all sorts of imports too, from australia, germany, korea, mexico,
Canada, and many More.
Now whos up for a beer! And the rules of the club are below.
Rules Of The Newgrounds Bar
1) You must be 18 or older to drink beer. We have screwed the traditional 21 years of age.
2) If your 18 or younger, you can have a special beer at the back.
Ive noticed on alot of my friends piczo sites there have been people saying COMMENT, and then saying I HAVE YOUR IP and I CAN HACK YOU NOW!
I know that they cant hack you anyways, but is there a way to hide youre ip from sites like that. Im not sure if a proxy would work, a piczo proxy might work. Any ideas.
SOOOO in this club. I love the boonodocks.
Im trying to find a good site where you can downlload the episodes :P
There has to be a Ontario meet up. If so pm me.
At 11/9/06 08:05 AM, secretman1 wrote:At 11/9/06 07:55 AM, dll-driver wrote: Alot of people have been saying the bible has contradictions, true?your point is?
Is there proof?
Alot of people have been saying the bible has contradictions, true?
Thanks for the updates Wade!
Web Hosting with admhosting.net :$2.00 USD monthly
Buying Dreamweaver to make youre site. : 399$
Talking with regulars on the programming forum. : Priceless.
For all of youre needs, Programming forum.
But for hawt sex with ugly man gay porn. PM me. XP
At 11/7/06 06:22 PM, Jessii wrote:
I hear an echo...lol
echo, echo, echo
A what :P
It means that the first line of youre code. Most likely <html> has something wrong with it. maybe you mis spelled html Ive done it before....
<htlm> lol
Im assuming that its that because its animations.html
Show youre code. That could help
At 11/7/06 04:53 PM, amaterasu wrote:
I just hope the Wii won't take too much of my motivation... :P
Wii.....It will take over our world.
The geeks at our school will take over. Their not smart geeks. But people who act gay geeks.
* Eeek *
At 11/7/06 04:20 PM, Afro-Ninja wrote: and what the hell is a 'myspace code'
damn myspace and their ability to offer webpages with no knowledge of html >:(
And FREEWEBS!
Holy crap. The third topic made on newgrounds. The last of the topics that hasnt been banned.
The first 2 were bannned.
Holy crap. This is awsome!

