Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
soft:c [2020/07/25 09:07] – [string, char and char * (for input arg.)] Ce Zhang | soft:c [2020/11/05 02:10] (current) – Ce Zhang | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====C++===== | =====C++===== | ||
+ | |||
+ | ==== 2D array ==== | ||
+ | < | ||
+ | TGraph*** g = new TGraph**[Nfile]; | ||
+ | for(i loop) g[i] = new TGraph*[t[i]-> | ||
+ | for(int j = 0; j< | ||
+ | </ | ||
+ | |||
+ | ====EOF==== | ||
+ | < | ||
+ | <<EOF //开始 | ||
+ | .... | ||
+ | EOF // | ||
+ | |||
+ | // | ||
+ | # cat fileA > fileB | ||
+ | // | ||
+ | # cat << EOF > fileB | ||
+ | // | ||
+ | </ | ||
+ | |||
====I/O==== | ====I/O==== | ||
Line 73: | Line 94: | ||
</ | </ | ||
- | ====char * conversion | + | ====char * 转换 |
< | < | ||
//char* to int | //char* to int |