summaryrefslogtreecommitdiff
path: root/reference/CPLUSPLUS/EXAMPLES/cast.cc
blob: 4f4f06d5e4649055cf170c8c025b00dd8d8bbbfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/************************************************************************
 *
 * Purpose:
 * Author:  M J Leslie
 * Date:    26-Oct-98
 *
 ************************************************************************/

main()
{
    int var1;
    float var2;

    var2 = float(var1);

    return 0;
}