Thread: Text Mode to more than 25 lines

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    2

    Text Mode to more than 25 lines

    What c code can I use to set text mode to more than 25 lines .. I believe 35 and 50 lines are options ??

  2. #2
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    you probably do: open(file_name, "w"); or something like it...

    so all you need to do is, to write in binary mode with "wb", instead of "w".
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    72
    It depends on the videocard you have and the OS you are running.

    damyan

  4. #4
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708

    HEEEEELLLLP!!!

    Hmm, can someone please explain what ya'll are talking about?

    This may have something to do with a wierd bug in my program...
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to know the number of lines in a text console
    By edugarcia in forum Linux Programming
    Replies: 4
    Last Post: 09-29-2004, 04:14 PM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. how do I count the lines in a text file?
    By slow brain in forum C Programming
    Replies: 4
    Last Post: 03-10-2003, 02:56 PM
  4. How to put text in graphic mode
    By Paninaro in forum Game Programming
    Replies: 1
    Last Post: 06-28-2002, 11:44 AM
  5. lines of a text file
    By face_master in forum C++ Programming
    Replies: 8
    Last Post: 11-06-2001, 07:09 AM