计算机术语,实在不会翻译,请各位大哥大姐帮个忙~~~

来源:百度知道 编辑:UC知道 时间:2024/05/07 07:05:28
Write a function in C++/Java/C# that takes a string of text and wraps it into lines of 40 characters long by adding carriage return to the end of each line.

用C++/Java/C#(这些都是计算机语言)编写这样一段程序:从文本中读取文本内容,每行输出40个字符,每满40个字符换行

写一个函数在c++ / Java / c#,需要一个文本字符串,并将它变成行40个字符长,回车符添加到每一行的末尾。

不懂