summaryrefslogtreecommitdiff
path: root/3p40.cpp
blob: 0ca64fd414bec8625d3ad6497fe7647c34a262eb (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
#include <iostream>
#include <vector>
#include <cstring>
#include "sales_data.hpp"
#include "sales_item.hpp"

/*
 *
 * 3.40
 *
 * Is this overkill?
 */

int main () {

	char ch1[] = "Hello, ";
	char ch2[] = "World!";
	char chfinal[1000];
	chfinal[0] = '\0';
	std::strcpy(chfinal, ch1);
	std::strcat(chfinal, ch2);
	std::cout << chfinal << std::endl;
	return 0;
}