Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 337

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 339

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 341

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 343
Make a freind mad

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Make a freind mad

    I was bored and i just wrote a little program
    i just did this to make my friend mad :P,
    im making a new one soon, and it will be the ultra pisser offer, :P

    PHP Code:
    #include <iostream>
    #include <windows.h>

    int x=0;
    int y=0;
    int counter=1;

    int main()
    {
        while(
    counter==1) {
        
    SetCursorPos(xy);
    x++;
    y++;
    }

    if(
    x>10000000) {
                  
    counter=0;
                  }
        
        return(
    0);

    does anyone have the double click command any were?, iv lost it

  2. #2
    Veteran Member
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    748

    Re: Make a freind mad

    = is the operator for assigning to l-values
    == is the operator for 'is equal to'
    Code:
    <chaplja|> i'm taking over nixcoders
    <Smileman`> cool

  3. #3
    Site Admin xHalt's Avatar
    Join Date
    May 2006
    Location
    Belgium
    Posts
    8,202

    Re: Make a freind mad

    Quote Originally Posted by Couch View Post
    = is the operator for assigning to l-values
    == is the operator for 'is equal to'
    Idd. while(counter=1) {
    should be
    while(counter==1) {

  4. #4
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Re: Make a freind mad

    Fixed :P

  5. #5
    Veteran Member Austin's Avatar
    Join Date
    Nov 2006
    Posts
    979

    Re: Make a freind mad

    Whats this program suppose to do?I wanna find its name so it doesn't ultra pisser me off O0

  6. #6
    Senior Member
    Join Date
    May 2006
    Posts
    225

    Re: Make a freind mad

    It moves the cursor to the bottom right of the screen.

    You could use y-- for the top right etc.

    Or randomise x and y lol.

  7. #7
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Re: Make a freind mad

    how you randomise it?, that would be funner :P

  8. #8
    Veteran Member
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    748

    Re: Make a freind mad

    Quote Originally Posted by Thor|cU|Ipwn View Post
    how you randomise it?, that would be funner :P
    rand()
    Code:
    <chaplja|> i'm taking over nixcoders
    <Smileman`> cool

  9. #9
    Senior Member
    Join Date
    May 2006
    Posts
    225

    Re: Make a freind mad

    Quote Originally Posted by Couch View Post
    rand()
    you have to inititalise the random generator first, and the best way of doing this is using:

    Code:
    srand(time(NULL))
    just in case anyone wants to know.

  10. #10
    Semi-Coder
    Join Date
    Jun 2007
    Posts
    1,012

    Re: Make a freind mad

    i did, but im still confused lol

Page 1 of 2 12 LastLast

Similar Threads

  1. Looking for someone to make a map with me :)
    By Fragger in forum Skins, Mods & Maps
    Replies: 2
    Last Post: November 25th, 2009, 21:27
  2. Would someone be able to make this
    By exile11 in forum Enemy Territory Cheats
    Replies: 3
    Last Post: November 7th, 2008, 22:22
  3. Can someone make me a cfg
    By exile11 in forum Vecs & Scripts
    Replies: 2
    Last Post: April 13th, 2008, 21:05
  4. How do u make your own ET bot
    By Candy Man in forum Enemy Territory Cheats
    Replies: 12
    Last Post: January 3rd, 2008, 05:51
  5. how do you make cfg
    By HayZy in forum Granted & Closed
    Replies: 13
    Last Post: September 14th, 2007, 13:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •