PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/php/value/example.h

#
C++ Header | 8 lines | 5 code | 2 blank | 1 comment | 0 complexity | 829d13091dd18e281f7f2f5b4f5c8b0d MD5 | raw file
1/* File : example.h */
2
3typedef struct {
4     double x, y, z;
5} Vector;
6
7double dot_product(Vector a, Vector b);
8void vector_add(Vector a, Vector b, Vector* result);