当前位置: 首页 > news >正文

企业为什么做网站素材seo是搜索引擎营销吗

企业为什么做网站素材,seo是搜索引擎营销吗,设计的素材网站有哪些,专做网游视频的网站《Programming Abstractions In C》学习第55天,p139-p140,总结如下: 一、技术总结 1.文件I/O操作 文件I/O操作可以分为一下这些步骤: (1)声明文件指针对象。 File *infile;(2)打开文件 fopen()。打开文件的模式有“r”, “w…

《Programming Abstractions In C》学习第55天,p139-p140,总结如下:

一、技术总结

1.文件I/O操作

文件I/O操作可以分为一下这些步骤:

(1)声明文件指针对象。

File *infile;

(2)打开文件

fopen()。打开文件的模式有“r”, “w”, "a"三种模式。

(3)传输数据

读取文件的方式可以是character by character( getc()/putc() ),也可以是line by line( fget()/fput() )。

(4)关闭文件

fclose()。

2.文件I/O操作示例:复制文件

#include <stdio.h>
#include <stdbool.h> // for bool, true, false data type
#include <stdlib.h> // for exit()void CopyRemovingComments(FILE *infile, FILE *outfile);int main() {// 声明文件指针对象FILE *infile, *outfile;char *infileName, *outfileName;/** 打开文件:fopen()* 如果文件不存在,则返回NULL,所以需要检查*/infileName = "D:\\CProject\\chater3.4\\jabber.txt"; // 这里使用的是绝对路径,也可以使用相对路径outfileName = "D:\\CProject\\chater3.4\\jabbercopy.txt";infile = fopen(infileName, "r");if (infile == NULL) {printf("Cannot open input file: %s \n", infileName);exit(0);}/** 传输数据* 传输数据有很多种方式,例如chracter by character(getc/putc),line by line(fget/fput, ReadLine)* 为了解决stdio.h存在的一些问题,作者对stdio进行了封装,封装后得到的的是simpio*/outfile = fopen(outfileName, "w");if (outfile == NULL) {printf("Cannot open output file: %s \n", outfileName);exit(0);}CopyRemovingComments(infile, outfile);/** 关闭文件*/fclose(infile);fclose(outfile);printf("Copying is completed");return 0;
}void CopyRemovingComments(FILE *infile, FILE *outfile) {int ch, nch;bool commentFlag; // 这里使用的是stdbool.h接口中的boolcommentFlag = false; // 这里使用的是stdbool.h接口中的false,书中使用的是封装后的FALSEwhile ((ch = getc(infile)) != EOF) {if (commentFlag) {if (ch == '*') {nch = getc(infile); //if (nch == '/') {commentFlag = false;} else {ungetc(nch, infile);}}} else {if (ch == '/') {nch = getc(infile);if (nch == '*') {commentFlag = true;} else {ungetc(nch, infile);}}if (!commentFlag) {putc(ch, outfile);}}}
}

二、英语总结

1.endpoint什么意思?

答:c.the end of sth(终点)。

2.transfer什么意思?

答:transfer也是一个在计算机相关资料中经常看到的词。p140, For an input file, the function read data from the file into your program; for an output file, the function transfer data from the program to the file。数据从文件到程序中,或者从程序中到文件,即是一种transfer。通过该例句,对tranfer有一个形象的了解。

3.intermix什么意思?

答:

(1)解释:vi/vt. to combine two or more different things。

(2)搭配:intermix sth with sth。

(3)例句:p140, Doing so allows you to intermix numeric data with strings and other data types。

三、参考资料

1. 编程

(1)Eric S.Roberts,《Programming Abstractions in C》:https://book.douban.com/subject/2003414

2. 英语

(1)Etymology Dictionary:https://www.etymonline.com

(2) Cambridage Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

http://www.hkea.cn/news/281627/

相关文章:

  • 如何在社交网站上做视频推广seo营销的概念
  • 大连做网站仟亿科技最新域名查询
  • 网站开发实施计划与安排宁波网络推广方式
  • 企业网站建设公司注意哪些问题软件开发外包公司
  • abc网站建设怎么样yandex引擎搜索入口
  • wordpress屏蔽f12广州seo网络优化公司
  • 南宁网站建设推广服务云服务器免费
  • 大数据营销是什么seo站长
  • 建设政府网站的公司乐山网站seo
  • 仿站容易还是建站容易专业做灰色关键词排名
  • 做网站背景音乐管理课程培训
  • 网站建设可以自学吗品牌软文范文
  • 网站风格对比哪里有学计算机培训班
  • 做mla的网站网站优化哪家好
  • 网站注册的账号怎么注销线上营销活动有哪些
  • 国内做进口的电商网站网站推广软件哪个好
  • 谁有做那事的网站百度投诉中心入口
  • 免费单页网站在线制作沈阳seo排名优化教程
  • 廊坊网站建大型网站建站公司
  • 远程桌面做网站sem和seo区别与联系
  • 做贷款网站优化大师有用吗
  • 有没有便宜的网站制作制作网页教程
  • 医院网站制作优化关键词的方法有哪些
  • wordpress安装到网站吗泰安seo
  • 长春网站开发培训价格google play三件套
  • 做生存分析的网站有哪些国外新闻最新消息
  • 济南网站优化收费百度互联网营销
  • bootstrap响应网站模板下载发帖推广百度首页
  • 动态网站上的查询怎么做新媒体运营培训学校
  • 网站开发人员必备技能百度优化推广