W_Wrap.C C/C++ script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: w_wrap.c
  • Last update:
  • Platform: Windows / Linux / BSD / Solaris
  • Language: C/C++
  • Price:Freeware
  • Company: Ray Gardner (View more)

W_Wrap.C script description:




Publisher review:
W_Wrap.C - C functions This is an attempt at a useful word-wrap function. It is given an array of characters ( a string ) and it modifies the string, replacing any new-lines found with spaces and placing new-lines where needed to make lines of the width specified, placing them only where there was previously white-space. ( ie. Words are not split across lines. ) At the present time it is rather stupid.

1) It doesn't know enough to split a line at an existing hyphen.

2) It has no clue about how to hyphenate words.

3) It makes no attempt at dealing intelligently with a singly word longer than the specified line length

4) It does not deal intelligently with multiple spaces new-lines, etc. ( eg. has no clue of paragraph separation, etc. ) Tabs will be considered the size specified. Note that word_wrap() does not actually expand tabs. This is only to inform it of the number of spaces the output device will expand them to, so it will know how much they expand a line. The only time word_wrap does anything with tabs, is if the tab size is set to zero, in which case each tab is replaced with a single space character. This often provides the most useful output, since tabs will often be in the wrong places after re-formatting, and is therefor the default.
W_Wrap.C is a C/C++ script for Snippets scripts design by Ray Gardner. It runs on following operating system: Windows / Linux / BSD / Solaris.

Operating system:
Windows / Linux / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5