MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / func2

Function func2

practice/file.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33void func2()
34{
35 char c;
36 char a[50] = "this is a string...";
37 while((c=cin.get())!='\n'){
38 cout.put(c);
39 cout.put('\n').put('t').put('h').put('i').put('s').put('\n');
40 cout.write(a,12).put('\n');
41 cout<<"look"<<"\t here!"<<endl;
42 }
43}
44
45
46/**

Callers

nothing calls this directly

Calls 3

putMethod · 0.80
getMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected