Thread: outtextxy (...) ??

  1. #1
    !G!
    Guest

    outtextxy (...) ??

    why is this not possible..
    I can't see in the help file, how to use outtextxy on string output.
    Anyone knows how this works prober..

    sprintf(c2, "%d", count2++);
    outtextxy(1,479,"%s", c2);

    tx

  2. #2
    Unregistered
    Guest

    Thumbs up

    >sprintf(c2, "%d", count2++);
    >outtextxy(1,479,"%s", c2);

    there will be a syntax error.
    cause this function doesn't take more than 3 parameters.
    but u used 4 parameters.

    the statement will be like the following---
    _______________________

    int count2;
    char c2[80];

    sprintf( c2, "%d", count2++ );
    outtextxy( 1, 479, c2 );
    _______________________

    try to get help from the help file.
    C's help is the most powerful guide.

    am appreciating your question, cause i also code in graphics mode, though it is slow when u r using built-in libs.

    thanx...
    take care...

  3. #3
    !G!
    Guest
    tx for your answer.
    But you talking about extra libs, which can make the graphics a bit faster, where can I find these libs.
    I'm using turbo C++ 3.0 and Borland 5.02.

    tx
    !G!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. inserting value to outtextxy?
    By llinocoe in forum C Programming
    Replies: 2
    Last Post: 09-23-2008, 09:43 AM
  2. help with outtextxy function
    By planet_abhi in forum C Programming
    Replies: 3
    Last Post: 10-21-2002, 09:23 AM