Friday, August 30, 2013

Posting code into blogger

Easiest way looks like simply cutting and pasting into this website. An example of the output is here...
//============================================================================
// Name        : euler_q1_fizz_buzz.cpp
// Author      : mjl
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;

int main() {
	cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
	return 0;
}

No comments:

Post a Comment