This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
gdcc [2017/07/09 14:19] – korshun | gdcc [2017/07/09 15:10] – korshun | ||
---|---|---|---|
Line 15: | Line 15: | ||
< | < | ||
- | function int f() | + | function int f(void) |
{ | { | ||
DoSomething(); | DoSomething(); | ||
Line 28: | Line 28: | ||
< | < | ||
- | function void f() | + | function void f(void) |
{ | { | ||
int x = g(1, 2, 3); | int x = g(1, 2, 3); | ||
Line 34: | Line 34: | ||
} | } | ||
- | function void g() | + | function void g(void) |
{ | { | ||
// This function does NOT return a value | // This function does NOT return a value |