Like Tree1Likes
  • 1 Post By CommonTater

Shifting???

This is a discussion on Shifting??? within the C Programming forums, part of the General Programming Boards category; Hello! Do you know scrolling?I am trying to do that with backspace. Code: printf(" %d ",c); but if ı do ...

  1. #1
    Princess of code universe programmer1's Avatar
    Join Date
    Nov 2011
    Location
    Wonderland
    Posts
    38

    Shifting???

    Hello!
    Do you know scrolling?I am trying to do that with backspace.
    Code:
    printf("  %d  ",c);
    but if ı do that, it shifts all paragraphs. Is it possible to do that for one paragraph?

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Well, you could write a custom screen driver to get the job done.
    You could also write code to redraw the screen manipulating a text buffer.

    But no, that is not a native part of the console screen's abilities.

  3. #3
    Princess of code universe programmer1's Avatar
    Join Date
    Nov 2011
    Location
    Wonderland
    Posts
    38
    Quote Originally Posted by CommonTater View Post
    Well, you could write a custom screen driver to get the job done.
    You could also write code to redraw the screen manipulating a text buffer.

    But no, that is not a native part of the console screen's abilities.
    Thanks for the answer.But I am not a native English speaker so ;I am really sorry; I can not understand what it means totally.You mean I can not do that for a native part ????? Sorry again.

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    It means you will need to program it yourself because the console's text drivers won't know how to do it by themselves.
    programmer1 likes this.

  5. #5
    Princess of code universe programmer1's Avatar
    Join Date
    Nov 2011
    Location
    Wonderland
    Posts
    38
    Oh,gosh Okey,thank you CT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. bit shifting
    By zecamoraes in forum C Programming
    Replies: 8
    Last Post: 11-24-2003, 09:41 AM
  2. bit shifting
    By Nor in forum C++ Programming
    Replies: 9
    Last Post: 08-08-2003, 11:55 AM
  3. bit shifting
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 07-14-2002, 12:31 AM
  4. bit shifting
    By cppdude in forum C++ Programming
    Replies: 9
    Last Post: 03-23-2002, 04:19 PM

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