Thread: locate funtion

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    16

    locate funtion

    hey, i search on google for a little bit but i couldnt find one of these, does anyone have a locate funtion?

    i want it to be like...Locate(xcoord, ycoord) and it would then print at those coordinates on the screen, thanks!

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    494
    why dont you create a locate function?
    When no one helps you out. Call google();

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    16
    i dont know how to do that, how would you go about doing it?

  4. #4
    ... arjunajay's Avatar
    Join Date
    May 2005
    Posts
    203
    I don't think there is any standard portable c++ function which does that.
    there was a gotoxy(x, y); in conio.h
    but your compiler might not like it.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Tell no one about this site - it's all very hush hush
    http://faq.cprogramming.com/cgi-bin/...&id=1043284392

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Uh oh... I already spilled the beans on that site.
    Sent from my iPadŽ

  7. #7
    Registered User
    Join Date
    Feb 2006
    Posts
    16
    lol thank you for that, im embarrassed now

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 02-01-2009, 04:53 PM
  2. Unable to locate txt file for ifstream opening
    By Swerve in forum C++ Programming
    Replies: 2
    Last Post: 04-19-2008, 11:55 AM
  3. Funtion pointer in structure
    By Xzyx987X in forum C Programming
    Replies: 1
    Last Post: 07-03-2004, 03:05 AM
  4. swap funtion
    By ManicC in forum C Programming
    Replies: 9
    Last Post: 11-15-2001, 07:55 AM
  5. Locate? :(
    By Kavity in forum C++ Programming
    Replies: 2
    Last Post: 10-16-2001, 03:51 PM