?? dimeclt.cpp
字號:
// dimeclt.cpp// Example client for simple image server// Run from the command line with file name argument#include "soapH.h"#include "dime.nsmap"const char *endpoint = "http://websrv.cs.fsu.edu/~engelen/dimesrv.cgi";int main(int argc, char **argv){ struct soap soap; xsd__base64Binary image; char *name; soap_init(&soap); if (argc < 2) name = "back.jpg"; // no command line argument: use default image else name = argv[1]; // this is the name of the image if (soap_call_ns__getImage(&soap, endpoint, "", name, image)) soap_print_fault(&soap, stderr); else printf("Got image size=%d type=%s\n", image.__size, image.type?image.type:""); soap_destroy(&soap); soap_end(&soap); return SOAP_OK;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -