Opened 12 years ago
Closed 12 years ago
#279 closed defect (fixed)
Wrong example in ql-guide
Reported by: | Piero Campalani | Owned by: | Peter Baumann |
---|---|---|---|
Priority: | trivial | Milestone: | 8.4 |
Component: | manuals_and_examples | Version: | 8.3 |
Keywords: | struct example comments | Cc: | |
Complexity: | Medium |
Description
In Sec. 4.3.4 "Comments in Type Definitions", at p.23 the syntax of the proposed example is wrong. Should be:
struct RGBPixel { char red, // red channel of color image green, // green channel of color image blue; // blue channel of color image }; // 3 x 8bit color pixels
instead of:
typedef struct { char red, // red channel of color image green, // green channel of color image blue; // blue channel of color image } RGBPixel; // 3 x 8bit color pixels
Change History (2)
comment:1 by , 12 years ago
Milestone: | → 8.4 |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
fixed in v8.4.