OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [c64/] [testfiles/] [ATest2.cpp] - Rev 41

Compare with Previous | Blame | View Log

 
class ATest
{
  int avar;
  int MyFunc(int a);
};
 
int ATest::MyFunc()
{
  printf("Hello World!");
}
 
int main()
{
	ATest testvar;
 
	printf("%d", testvar.avar);
	testvar.MyFunc(3);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.