<commit_before>#include <iostream>
#include <string>
using namespace std;
int main() {
    string s ("x");
    cout << "initial:";
    cout << s << endl;
    cout << "now enter yours:\n";
    cin >> s;
    cout << "you enetered:\n";
    cout << s << endl;
    return 0;
}<commit_msg>add example about getline<commit_after>#include <iostream>
#include <string>
using namespace std;
int main() {
    string s ("x");
    cout << "initial:";
    cout << s << endl;
    cout << "now enter yours:\n";
    cin >> s;
    cout << "you enetered:\n";
    cout << s << endl;
    cout << "another input:\n";
    getline (cin, s);
    cout << "you enetered:\n";
    cout << s << endl; //you can only get newline here, why? because previously cin stops at whitespace
    return 0;
}
{'fraction_non_alphanumeric': 0.17340286831812254, 'fraction_numerical': 0.002607561929595828, 'mean_word_length': 2.8208955223880596, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '668567', 'n_tokens_mistral': 259, 'n_tokens_neox': 254, 'n_words': 90}