![]() |
Source code of Digital clock
Hello friends
I am harish kumar. I am going to post the source code of Digital clock. Give your views about that. Code:
#include<stdio.h> |
Re: Source code of Digital clock
You've been around plenty long enough to use code blocks. Look them up, and start using them. It's not fair on shabbir to keep expecting him to add them for you.
Also consider (a) posting it as an article, (b) commenting the code and (c) explaining how it works. |
Re: Source code of Digital clock
I would add one more thing. Indent the code so that it can go into Articles as well.
|
Re: Source code of Digital clock
Yeah but probably the site stripped the indents. cf:
void test() { int x=1; if (x=1) printf("x=1\n"); } Code:
void test() |
Re: Source code of Digital clock
Enhancement suggestion for the site: can it spot more than a couple of lines of code and (a) reject the code if a code block isn't used or (b) warn the user with details of how to do it properly?
In the above post I Ctrl-V'd exactly the same stuff, one in a code block and one not. |
Re: Source code of Digital clock
Quote:
|
Re: Source code of Digital clock
thanks for the reply
|
| All times are GMT +5.5. The time now is 21:21. |