"Fossies" - the Fresh Open Source Software Archive

Member "c_count-7.20/testing/test2.c" (26 Jun 2005, 631 Bytes) of package /linux/privat/c_count-7.20.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #include "foobar.h"
    2 #define FOO this\
    3         & that
    4 #define BAR "this\
    5         & that"
    6 
    7 static  char    what[] = "@(#)filename  ";
    8 
    9 main()
   10 {
   11     float x = 0.0;
   12     float x0 = 0e0;
   13     float x1 = .0;
   14     float x2 = .0e1;
   15     float x3 = .0e+1;
   16     float x4 = .0e-1;
   17     float x5 = 1.23456789e+123L;
   18     float x6 = 1.23456789e-123;
   19     int y = 1;
   20     int y1 = 1L;
   21     int y2 = 1ul;
   22     int y3 = 12345678u;
   23     int z = 0x1;
   24     int z1 = 0X1L;
   25     int z2 = 0X1ul;
   26     int z3 = 0X12345678u;
   27     char *a = "aaa""bbb";
   28 
   29 printf("test with a tab:    :embedded (not considered legal by C_COUNT)\n");
   30 printf("test with embedded pound\
   31         # like this\n");
   32 }