Unnamed Fossil Project

Check-in [e6075c63e2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Home!
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e6075c63e2149a733b8a0422eae10d2170c021d7
User & Date: NightWolf 2011-11-26 15:04:51
Context
2011-11-26
15:12
Home! Leaf check-in: 9469c7f210 user: NightWolf tags: trunk
15:04
Home! check-in: e6075c63e2 user: NightWolf tags: trunk
15:02
Home! check-in: 731fe38f8c user: NightWolf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to codes/abs.cpp.

1
2
3
4
5
6

7
8
9
10
11
12
13
#include <stdio.h>
int abs(int a)
{
if (a<0) return (-a);
else return a;
}

int main()
{
	int x=-55;
	x=abs(x);
	printf("%d\n",x);
	return 0;
}






>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
int abs(int a)
{
if (a<0) return (-a);
else return a;
}

int main()
{
	int x=-55;
	x=abs(x);
	printf("%d\n",x);
	return 0;
}