Click here to Skip to main content
15,919,774 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: Message upvoting - ignore it seems to be working now Pin
Chris Maunder25-Aug-10 10:24
cofounderChris Maunder25-Aug-10 10:24 
GeneralEditor Points Pin
Dalek Dave25-Aug-10 1:12
professionalDalek Dave25-Aug-10 1:12 
GeneralRe: Editor Points Pin
#realJSOP25-Aug-10 2:57
professional#realJSOP25-Aug-10 2:57 
GeneralRe: Editor Points Pin
Thiru Thirunavukarasu25-Aug-10 4:48
Thiru Thirunavukarasu25-Aug-10 4:48 
GeneralRe: Editor Points Pin
Dalek Dave25-Aug-10 4:52
professionalDalek Dave25-Aug-10 4:52 
GeneralSuggestion: add a horizontal scroll bar to 'Browse Code ' Pin
ahagel24-Aug-10 16:34
professionalahagel24-Aug-10 16:34 
GeneralRe: Suggestion: add a horizontal scroll bar to 'Browse Code ' Pin
Luc Pattyn24-Aug-10 17:22
sitebuilderLuc Pattyn24-Aug-10 17:22 
GeneralQA: Preview HTML: Unexpected Error / Pasting Acts Odd Pin
AspDotNetDev24-Aug-10 13:45
protectorAspDotNetDev24-Aug-10 13:45 
While improving a QA question, I saw this message in the preview area:
Unexpected error when attempting to retrieve preview HTML.

Here's a snapshot of the HTML I was working with:
Question
write a program to convert given year into roman ewquivalent of decimal

Decimal 1  5  10  50  100  500  1000
Roman   i   v   x   l    c    d     m

example
Roman equivalent of 1988 is mdccclxxxviii
roman equivalent of 1525 is mdxxv

my program

<pre lang="C++"> #include&lt;stdio.h&gt;
 #include&lt;conio.h&gt;
int main(){
	clrscr();
	int yr,i,j=0;
	char roman[20];
	printf("Enter Year : ");
	scanf("%d",&amp;yr);
	if(yr/1000&gt;=0)
	{
		for(i=0;i&lt;(yr/1000);i++)
		{
			roman[j]='m';
			j++;
		}
	yr = yr - (i+1)*1000;
	}
	if(yr/500&gt;=0)
	{
		for(i=0;i&lt;(yr/500);i++)
		{
			roman[j]='d';
			j++;
		}
	yr = yr - (i+1)*500;
	}
	if(yr/100&gt;=0)
	{
		for(i=0;i&lt;(yr/100);i++)
		{
			roman[j]='c';
			j++;
		}
	yr = yr - (i+1)*100;
	}
	if(yr/50&gt;=0)
	{
		for(i=0;i&lt;(yr/50);i++)
		{
			roman[j]='l';
			j++;
		}
	 yr = yr - (i+1)*50;
	}
	if(yr/10&gt;=0)
	{
		for(i=0;i&lt;(yr/10);i++)
		{
			roman[j]='x';
			j++;
		}
	yr = yr - (i+1)*10;
	}
	if(yr/5&gt;=0)
	{
		for(i=0;i&lt;(yr/5);i++)
		{
			roman[j]='v';
			j++;
		}
	yr = yr - (i+1)*5;
	}
	if(yr/1&gt;=0)
	{
		for(i=0;i&lt;(yr/1);i++)
		{
			roman[j]='i';
			j++;
		}
	}
	printf("year in roman : ");
	for(i=0;i&lt;=j;i++)
		printf("%c",roman[i]);
getch();
  }</pre>


But it only prints "m"

can anyone help me to sort this problem?

Also, when I select "allow HTML" and paste, less than and greater than signs get HTML encoded anyway. When I select "escape HTML", the text I paste gets wrapped in a PRE block. It might depend on if "Ignore HTML in text (good for code snippets)" is also selected or if I try to paste inside a PRE block that I've already typed out... not sure.

GeneralRe: QA: Preview HTML: Unexpected Error / Pasting Acts Odd Pin
AspDotNetDev24-Aug-10 13:49
protectorAspDotNetDev24-Aug-10 13:49 
GeneralRe: QA: Preview HTML: Unexpected Error / Pasting Acts Odd Pin
Thiru Thirunavukarasu25-Aug-10 4:25
Thiru Thirunavukarasu25-Aug-10 4:25 
GeneralRe: QA: Preview HTML: Unexpected Error / Pasting Acts Odd Pin
AspDotNetDev25-Aug-10 7:06
protectorAspDotNetDev25-Aug-10 7:06 
GeneralBob the Joker Pin
Luc Pattyn24-Aug-10 13:28
sitebuilderLuc Pattyn24-Aug-10 13:28 
GeneralRe: Bob the Joker Pin
Dalek Dave24-Aug-10 14:14
professionalDalek Dave24-Aug-10 14:14 
GeneralRe: Bob the Joker Pin
Luc Pattyn24-Aug-10 18:00
sitebuilderLuc Pattyn24-Aug-10 18:00 
GeneralRe: Bob the Joker Pin
Chris Maunder26-Aug-10 3:06
cofounderChris Maunder26-Aug-10 3:06 
GeneralRe: Bob the Joker Pin
Luc Pattyn26-Aug-10 3:20
sitebuilderLuc Pattyn26-Aug-10 3:20 
GeneralImage on QA Pin
Yusuf24-Aug-10 12:16
Yusuf24-Aug-10 12:16 
GeneralRe: Image on QA Pin
Chris Maunder24-Aug-10 15:39
cofounderChris Maunder24-Aug-10 15:39 
QuestionWatched Articles Missing Pin
Deus ex Machina24-Aug-10 7:42
Deus ex Machina24-Aug-10 7:42 
General"Last Post" timestamps get incorrectly updated Pin
John Whitmire24-Aug-10 6:38
professionalJohn Whitmire24-Aug-10 6:38 
GeneralRe: "Last Post" timestamps get incorrectly updated Pin
Chris Maunder24-Aug-10 9:43
cofounderChris Maunder24-Aug-10 9:43 
GeneralRe: "Last Post" timestamps get incorrectly updated Pin
John Whitmire24-Aug-10 10:17
professionalJohn Whitmire24-Aug-10 10:17 
Generale-mail checkbox oddness [deoddified aka solved] Pin
Luc Pattyn24-Aug-10 6:15
sitebuilderLuc Pattyn24-Aug-10 6:15 
GeneralRe: e-mail checkbox oddness [modified] Pin
LunaticFringe24-Aug-10 6:55
LunaticFringe24-Aug-10 6:55 
GeneralRe: e-mail checkbox oddness Pin
Sandeep Mewara24-Aug-10 9:28
mveSandeep Mewara24-Aug-10 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.