⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a.cpp

📁 dos下pos机程序 连接sybase数据库 使用Microsoft c7 编译
💻 CPP
字号:
#include <stdio.h>

int main(void)
{
   FILE *stream;
   int i = 1000;
   char c = 'C';
   float f = 1.234;
   int index;
   /* open a file for update */
   stream = fopen("DUMMY.FIL", "w");

   /* write some data to the file */
   index=fprintf(stream, "%d %c %f", i, c, f);
   printf("%d\n",index);
   /* close the file */
   fclose(stream);
   return 0;
}

⌨️ 快捷键说明

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