Dear Readers,
I need help of all of you. I have some more post drafted and ready to be posted. But the problem is that those posts have a lot of code and when I try to publish those blogger gives error or certain syntax of that code.
Please help me by providing a way to publish C/C++ code without lose of data.
One of the example is in my post of array sorting. There in my code when I tried to
So guys, please help me.
Subscribe - To get an automatic feed of all future posts subscribe here, or to receive them via email go here and enter your email address in the box. You can also like us on facebook and follow me on Twitter @akashag1001.
HELP!!!
Find us on Facebook
I write about
- Algorithm (31)
- Amazon EC2 (3)
- Amazon Interview (9)
- Amazon S3 (5)
- Amazon SimpleDB (5)
- Amazon SQS (1)
- Architecture (3)
- Arrays/Strings (32)
- backtracking (1)
- Brain Teasers (8)
- C++ (3)
- Cloud Computing (14)
- Design Pattern (2)
- Dynamic programming (11)
- Facebook Interview (3)
- General (14)
- Git (2)
- Google Interview (6)
- Humour (1)
- Interviews (7)
- Link List (8)
- Mac (2)
- Mathematics (3)
- MIcrosoft Interview (4)
- Miscellany (1)
- python (3)
- queue (1)
- Ruby (9)
- tree (19)
- web development (1)
Do you want following :
#include <stdio.h>
(See I'm able to print that :P )
For 'less than' symbol try using & l t ; (remove spaces in between these four characters) and for 'greater than' symbol use & g t ; (remove spaces)
Follow THIS LINK for info on other special symbols in html.
notepad++ is a good editor to write code in any language (it supports C/C++/Java and lot many others) and converting it to some format like HTML. It supports text highlighting based on the language selected and does the task of converting special chars to HTML supported format for you.
You can find other editors who encode text color info also into HTML format.
I dont know if google have done something for it ...
But <pre> is working fine for me.
1learning.blogspot.com/2009/01/dynamic-programming.html
www.w3schools.com/TAGS/tag_pre.asp