Future Coders | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 1

Future Coders

hopefully we will take over....we will no longer speak a direct language but rather use coding as our daily languages....If you cant run you wont get what we mean....lol

23rd Dec 2017, 1:42 PM
Desmond Effah
Desmond Effah - avatar
2 Respostas
+ 2
#include <iostream> #include <fstream> #include <string> #include ā€œbrain.hā€ using namespace std; brain me; void conversation() { bool good = true; string res; while (good) { cin >> res; good = me.respond(&res); cout << res; } } int main() { ofstream fout(memory.txt, ios_base::app); ifstream fin(post.txt, ios_base::app); string line; while (getline(fin, line)) { fout << line; } fin.close(); fout.close(); cout << ā€œI hope so too, Iā€™ve memorized this post.ā€ << endl; conversation(); }
23rd Dec 2017, 1:55 PM
Jacob Pembleton
Jacob Pembleton - avatar
0
hope so
23rd Dec 2017, 1:43 PM
Desmond Effah
Desmond Effah - avatar