blob: d33055a0493e6e1db6c947587926a063ef564ed0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include <iostream>
#include "sales_data.hpp"
#include "sales_item.hpp"
/*
*
* 3.6 v1
*
*
*/
using std::string;
using std::cout;
using std::cin;
using std::cerr;
using std::clog;
using std::endl;
int main () {
string Xer;
cout << "Enter a string" << endl;
cin >> Xer;
for(auto &c : Xer) { // Make reference for every character in Xer
c = 'X';
}
cout << Xer << endl;
return 0;
}
|