How Can Write A C program in MS Word?

Hi community members I have created a website www.all-coding.com Actually I upload program codes here. But first I need these program codes to format correctly. Like if I write quotes in statements for example

Printf("Hello World");

Now In this example My quotes are formatted wrong. But I want them as it is. Please help me in This

Word is not a program for writing code. It is a word processor.

That said, you can turn off smart quotes in the AutoFormat as you type AutoCorrect options.

Image

You can set up a style for coding that includes not checking spelling or grammar and uses a mono-spaced font.

I use the EasyCodeFormatter Add-In.

Image

Volunteering to "pay forward" the help I've received in the Microsoft user community.

Charles Kenyon
Sun Prairie, Wisconsin
wordfaq[at]addbalance[dot]com

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

A free program that is better suited to writing code is NotePad++. It automatically uses straight quotes instead of curly "smart" quotes.

Author of "OOXML Hacking - Unlocking Microsoft Office's Secrets", ebook now out
John Korchok, Production Manager
production@brandwares.com

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 14, 2025 Views 622 Applies to: