This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Testing embedded C++ code in blogspot via gist. Making this comment extra long so I can either see this wrap or the scroll bar. | |
int foo=0; | |
int bar(int x) { | |
return 5*x; | |
} | |
class Foobar { | |
public: | |
Foobar() {}; | |
~Foobar() {}; | |
void foobar() {}; | |
}; | |
int main(int argc, char **argv) { | |
Foobar obj = Foobar(); | |
bar(foo); | |
} |
http://boddhisattvadedicates.blogspot.com/2013/09/testing-code-sample-gist.html
The Stackoverflow entry with actual HTML embedded code:
http://stackoverflow.com/questions/18788724/issues-adding-github-gist-to-my-blogusing-google-blogger/21355714#21355714
No comments:
Post a Comment