fixed-width Questions

1

Solved

I have a table where the number of columns may change (from 1 to 10), with the exception of one column which should always stay at a fixed width so that there's no extra space or it doesn't wrap (i...
Nonresident asked 17/1, 2012 at 23:3

2

Solved

I have successfully written a code to output Pascal's Triangle in a somewhat triangular shape using cout.width(total_rows - current_row), but it looks like this: 1 1 1 1 2 1 1 3 3 1 1 4 6...
Chemism asked 21/9, 2011 at 15:21

3

I would like to write a fixed width, space delimited and minimally quoted CSV file using Python's csv writer. An example of the output: item1 item2 "next item1" "next item2" anotheritem1 anotheri...
Fusion asked 12/4, 2011 at 16:10

1

Solved

In Excel, if you import whitespace delineated text in which the columns do not line up perfectly and data may be missing, like pH pKa/Em n(slope) 1000*chi2 vdw0 CYS-I0014_ >14.0 0.00 LYS+I00...
Merciful asked 14/6, 2011 at 19:32

7

We have a web application that does time-tracking, payroll, and HR. As a result, we have to write a lot of fixed-width data files for export into other systems (state tax filings, ACH files, etc). ...
Amasa asked 25/4, 2011 at 22:53

2

Solved

I'm developing Snake game using Java. Board's (where all action takes it place) width and height should be fixed (640 pixels * 480 pixels). Structure: Main class that extends from JFrame class, ...
Tingle asked 7/5, 2011 at 12:53

2

I suspect that this can't be done, but I'm asking just to be sure. I'd like to force a single character in a <span> to have a specific width and height: 1em. Ideally the character would be ...
Tbar asked 10/3, 2011 at 14:52

2

Solved

I'm trying to compile some code which contains the following declaration, because I would like count to be a guaranteed 32-bit integer: int32 count; However, this results in an error at comp...
Paapanen asked 29/8, 2009 at 5:31

2

Solved

Background Unfortunately the current C++ standard lacks C99's exact-width types defined in the stdint header. The next best thing I could find (in terms of portability) was Boost's cstdint.hpp imp...
Voltmer asked 26/9, 2009 at 17:47

© 2022 - 2024 — McMap. All rights reserved.