File: foobar.c

package info (click to toggle)
kdevelop-pg-qt 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,284 kB
  • sloc: cpp: 22,743; lex: 928; ansic: 716; yacc: 615; ruby: 68; sh: 14; lisp: 10; fortran: 6; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int foo(int x, int y, int z, int a, int b, int c);

int foo(int x, int y)
{
	return x * x - y * y * y;
}

float bar(int x)
{
	return 1.f;
}

int read_int(int x) {}
int read_float();


int main(int argc, char* argv)
{
	return foo(read_int(), read_float() * read_int());
}