SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast hopstream's Avatar
    Join Date
    Oct 2002
    Location
    Earth (directions: take a right from mars)
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C++ program's output......(scrolls too fast).....

    I'm using gcc on linux for a c++ program. The program's output scrolls way too fast, so i can't see it all.......how can i make it show one page of output at a time....sort of like the "less" command in unix.

    Appreciate the help.

  2. #2
    As the name suggests... trickie's Avatar
    Join Date
    Jul 2002
    Location
    Melbourne, Australia
    Posts
    678
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    why don't you pipe the output to a file such as:
    PHP Code:
    ./command file.txt 


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
  •