emscripten-core / emscripten-core/emscripten
how about a console session
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
is it possible to realise a terminal session like such ->
`
int main(int argc,char **argv) {
stringstream ss;
while(true) {
string line;
cin >> line;
ss << line << endl;
string result = md5(ss.str());
unsigned long ab = 0;
for(int i = 0;i < result.size();++i) {
for(int j = 0;j < (sizeof(ab) / sizeof(result[0])) && i < result.size();++i,++j) {
ab ^= result[i] << sizeof(result[0]) * j;
}
}
srand(ab);
string s = sentence();
cout << (char)(s[0] - 'a' + 'A') << s.substr(1) << "." << endl;
}
return 0;
}`
Contributor guide
Assessment
This issue has not been assessed yet.