Basic knowledge

简介:   GNU compiler: G++ ProgramTest.cc -o ProgramTest(Unix) Default no "-o" parameter compile to a.

 

GNU compiler:

G++ ProgramTest.cc -o ProgramTest(Unix)

Default no "-o" parameter compile to a.out

G++ ProgramTest.cc -o ProgramTest.exe(Windows)

Default no "-o" parameter compile to a.exe

Microsoft compiler:

Cl -GX ProgramTest.cpp

 

All c++ program files:

.cc .cxx .cpp .cp .c

 

Unix command example:

$ CC prog1.cc

$ a.exe

$ ./a.out

echo?

 

Windows:

C:/>Echo %ERRORLEVEL%

 

 

 

Terminology:

argument

block

buffer

built-in type( int, etc.)

cerr

cin

class

class type

clog

comment

condition

cout

curly brace("{", "}")

data structure

edit-compile-debug

end-of-file

expression

for statement

function

function body

function name

header

if statement

iostream

istream

library type

main function

manipulator(e.g. std::endl)

member function

method

namespace

ostream

parameter list

preprocessor directive

return type

source file

standard error

standard input

standard library

standard output

statement

std

string literal"agdasgdghhdaelwektjq..."

uninitialized variable

variable

while statement

()operator

++operator

+=operator

.operator

::operator

=operator

<<operator

>>operator

==operator

!=operator

<=operator

<operator

>=operator

>operator

目录
打赏
0
0
0
0
20
分享
相关文章
【提示学习】AUTOPROMPT: Eliciting Knowledge from Language Models with Automatically Generated Prompts
Prompt任务需要构建合适的Pattern,但是编写合适的Pattern需要手动工作和人为猜测,有很大的不确定性。为了解决这个问题,提出AUTOPROMPT模型,基于梯度下降搜索来创建Pattern。
200 0
[SentencePiece]论文解读:SentencePiece: A simple and language independent subword tokenizer...
[SentencePiece]论文解读:SentencePiece: A simple and language independent subword tokenizer...
172 0
ACL2022:A Simple yet Effective Relation Information Guided Approach for Few-Shot Relation Extraction
少样本关系提取旨在通过在每个关系中使用几个标记的例子进行训练来预测句子中一对实体的关系。最近的一些工作引入了关系信息
151 0
【CAMEL】Communicative Agents for “Mind”Exploration of Large Scale Language Model Society
【CAMEL】Communicative Agents for “Mind”Exploration of Large Scale Language Model Society
371 0
UIE: Unified Structure Generation for Universal Information Extraction 论文解读
信息提取受到其不同目标、异构结构和特定需求模式的影响。本文提出了一个统一的文本到结构生成框架,即UIE,该框架可以对不同的IE任务进行统一建模,自适应生成目标结构
598 0
ACL2023 - AMPERE: AMR-Aware Prefix for Generation-Based Event Argument Extraction Model
事件论元抽取(EAE)识别给定事件的事件论元及其特定角色。最近在基于生成的EAE模型方面取得的进展显示出了与基于分类的模型相比的良好性能和可推广性
251 0
LASS: Joint Language Semantic and Structure Embedding for Knowledge Graph Completion 论文解读
补全知识三元组的任务具有广泛的下游应用。结构信息和语义信息在知识图补全中都起着重要作用。与以往依赖知识图谱的结构或语义的方法不同
159 0
DEGREE: A Data-Efficient Generation-Based Event Extraction Model论文解读
事件抽取需要专家进行高质量的人工标注,这通常很昂贵。因此,学习一个仅用少数标记示例就能训练的数据高效事件抽取模型已成为一个至关重要的挑战。
208 0