uratest.cpp

来自「upnpsdk-1.0.4.tar.gz Intel UPnP SDK Sou」· C++ 代码 · 共 34 行

CPP
34
字号
#include "uratest.h"static UraHello uratest_s;UraHello::UraHello(void){        printf("Constructor for UraHello Class \n");}UraHello::~UraHello(void){    printf("Destructor for UraHello Class\n");}void UraHello::world(void){    printf("Hello world %d\n", foo);}intmain(int argc, char *argv[]){        int rettt;	UraHello uratest;        printf("Calling Hello.world\n");        uratest.world();        printf("after world\n");	printf("static member call\n");	uratest_s.world();	printf("static member term\n");        return 0 ;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?