C中的Marquee实现

问题描述:




我想在不使用小部件的情况下将文本水平滚动到最多50个字符



如何滚动文本?

使用C为此选框实现提供代码片段。


谢谢和问候,

Rahul 。

Hi,

I want to scroll the text horizontally up to maximum of 50 characters
without using widgets.
How can i scroll the text ?
Give code snippet for this marquee implementation using C.

Thanks&Regards,
Rahul.

praveen写道:
praveen wrote:




我想在不使用小部件的情况下将文本水平滚动到最多50个字符


Hi,

I want to scroll the text horizontally up to maximum of 50 characters
without using widgets.



这不是一个问题的地方,请尝试专门针对您的操作系统的小组。


-

Ian Collins。

This isn''t the place to ask, try a group dedicated to your operating system.

--
Ian Collins.


Ian Collins写道:
Ian Collins wrote:

praveen写道:
praveen wrote:

>

我想在不使用小部件的情况下将文本水平滚动到最多50个字符

>Hi,

I want to scroll the text horizontally up to maximum of 50 characters
without using widgets.



这不是一个问题的地方,请尝试专门针对您的操作系统的小组。


This isn''t the place to ask, try a group dedicated to your operating system.



虽然我猜你可以简单地在一个循环中使用put。


-

Ian Collins。

Although I guess you could simply use puts in a loop.

--
Ian Collins.


Ian Collins写道:
Ian Collins wrote:

Ian Collins写道:
Ian Collins wrote:

> praveen写道:
>praveen wrote:

>>

我想在不使用小部件的情况下将文本水平滚动到最多50个字符。
>>Hi,

I want to scroll the text horizontally up to maximum of 50
characters without using widgets.


这不是一个问题的地方,请尝试一个专门用于您的操作系统的小组。


This isn''t the place to ask, try a group dedicated to your operating
system.



虽然我猜你可以简单地在循环中使用puts。

Although I guess you could simply use puts in a loop.



我不认为没有一些依赖于实现

定义的行为。最简单的解决方案是使用类似于

的诅咒。

I don''t think it''s possible without some dependence on implementation
defined behaviour. The easiest solution would be use some similar to
curses.