summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pygmentex/demo.c
blob: 1d739f5edf3930c075da3d2d4c7ac84aee22dc80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// test.cpp

#include <iostream>

using namespace std;

void greetings()
{
   string name;
   cout << "What is your name? ";
   cin >> name;
   cout << "Hello, "
	<< name
	<< '!'
	<< endl;
}

int main()
{
   greetings();
   return 0;
}