summaryrefslogtreecommitdiff
path: root/Examples/php4/sync/example.cxx
blob: 47378924b0ed161eac3c7c3bbb85e93c7237b792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "example.h"
#include <stdio.h>

int x = 42;
char *s = "Test";

void Sync::printer(void) {

	printf("The value of global s is %s\n", s);
	printf("The value of global x is %d\n", x);
	printf("The value of class s is %s\n", s);
	printf("The value of class x is %d\n", x);
};