test.h

来自「c++ to visual basic converter」· C头文件 代码 · 共 38 行

H
38
字号
#ifndef TEST
#define TEST

#define MAX_PATH 260
int main(int argc, char **argv);
/*
* This is a multiline comment
* because, as you might know,
* C allows comments that can
* span many lines
* to exist in its code
*/

typedef struct _T {
  int   item1;
  int   item2;  //this is also a comment
  char *item3;
} SOMETHING;

typedef enum _H {
  hA,
  hB=3,
  hC=0x3ff,
  hD=0o167
} HELLO;

/***************************************
 The following is how you would find
 the definition of an API function in
 the Win32 Platform SDK Documentation
***************************************/
LRESULT SendMessage(
  HWND hWnd,      // handle to destination window
  UINT Msg,       // message
  WPARAM wParam,  // first message parameter
  LPARAM lParam   // second message parameter
);
#endif

⌨️ 快捷键说明

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