using "locate" for console box

This is a discussion on using "locate" for console box within the Windows Programming forums, part of the Platform Specific Boards category; ive been programming a few weeks now and cant find any info on using the " locate " function for ...

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    3

    Question just a Quick ans please using "locate" function

    ive been programming a few weeks now and cant find any info on using the "locate" function for the console window, i can only find the referance to windows application.

    (ive got an idea for a animated banner)
    Last edited by dcarr; 02-07-2005 at 04:22 PM.

  2. #2
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    I am afraid I have no idea what you are asking. Could you perhaps rephrase it? (I believe I am not the only one here who is not sure - hence the no responses).
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    There is no standard function called "locate". Are you referring to the use of LOCATE in BASIC or another language? C/C++ are very limited as far as dealing with output - that's what external libraries are for. You may find one of these libraries helpful. conio is a common one.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,498
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Feb 2005
    Posts
    3
    that library is very usefull thanks! i just want to know how to locate my text to the console im using dev-c++. if there is no such function as ive seen for making a windows application dont blame ive been programming for 2 weeks, give me some credit.

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,498
    DEV-C++ can use the win32 API.

    Look, a FAQ
    http://faq.cprogramming.com/cgi-bin/...&id=1043284392

    Try compiling that in dev-c++ and see what happens.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544

  8. #8
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Oddly enough, I was just about to say "you might be interested in my console tutorial", but I see I was beaten!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  9. #9
    Registered User
    Join Date
    Feb 2005
    Posts
    3
    perfect thank you, hope i wasnt a bother.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Virtual Box
    By ssharish2005 in forum Tech Board
    Replies: 3
    Last Post: 02-12-2009, 04:08 AM
  2. Replies: 9
    Last Post: 02-13-2008, 01:59 PM
  3. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 08:34 PM
  4. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 07:00 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21