Click here to Skip to main content
15,907,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Ownerdraw Listbox won't send WM_DRAWITEM??? Pin
KellyR15-Apr-05 8:24
KellyR15-Apr-05 8:24 
GeneralPlease help me! Pin
Anonymous15-Apr-05 7:00
Anonymous15-Apr-05 7:00 
GeneralRe: Please help me! Pin
David Crow15-Apr-05 7:41
David Crow15-Apr-05 7:41 
GeneralRe: Please help me! Pin
dSolariuM16-Apr-05 6:46
dSolariuM16-Apr-05 6:46 
GeneralRe: Please help me! Pin
Maximilien15-Apr-05 7:57
Maximilien15-Apr-05 7:57 
GeneralMFC/Buiider Pin
brilliant10115-Apr-05 6:16
brilliant10115-Apr-05 6:16 
GeneralRe: MFC/Buiider Pin
David Crow15-Apr-05 6:26
David Crow15-Apr-05 6:26 
GeneralLet me know my mistake in arrays program!! Pin
Member 188014615-Apr-05 5:18
Member 188014615-Apr-05 5:18 
hye!!i need to know what's wrong with this program coding..it will prompt the user to entr 10 numbers b/w 20 and 100 for this i use if structure...here if structure is used for checking whether the user enter the correct number or not. i hav lil problem that it gives the corect result if the user enter incorrect number in start but if in the middle of the program the user enter incorrect number like 12 or any incorrect no. it deals it as a correct number. plz let me know where is my mistake.one more thing i need to know plz tell me which statement i will use to check that the entered number is unique and was not previously entered by the user. Coding is below..

#include<conio.h>
#include<iostream.h>
main()
{
int a[10],i;
cout<<"entr 10 numbers b/w 20 and 100"<<endl;
for(i=0;i<10;i++)
{
cin>>a[i];
if((a[i]<20)||(a[i]>100))
cout<<"entr no b/w 20 and 100"<<endl;
else
="" cin="">>a[i];
}
getch();
}


rose
GeneralRe: Let me know my mistake in arrays program!! Pin
David Crow15-Apr-05 5:29
David Crow15-Apr-05 5:29 
GeneralRe: (modified)Let me know my mistake in arrays program!! Pin
namaskaaram15-Apr-05 5:33
namaskaaram15-Apr-05 5:33 
GeneralRe: Let me know my mistake in arrays program!! Pin
Michael Dunn15-Apr-05 6:00
sitebuilderMichael Dunn15-Apr-05 6:00 
GeneralRe: Let me know my mistake in arrays program!! Pin
David Crow15-Apr-05 6:24
David Crow15-Apr-05 6:24 
GeneralRe: Let me know my mistake in arrays program!! Pin
Maximilien15-Apr-05 6:38
Maximilien15-Apr-05 6:38 
GeneralRe: Let me know my mistake in arrays program!! Pin
namaskaaram15-Apr-05 19:38
namaskaaram15-Apr-05 19:38 
GeneralRe: Let me know my mistake in arrays program!! Pin
Bob Flynn15-Apr-05 9:16
Bob Flynn15-Apr-05 9:16 
GeneralRe: Let me know my mistake in arrays program!! Pin
David Crow15-Apr-05 9:52
David Crow15-Apr-05 9:52 
GeneralRe: Let me know my mistake in arrays program!! Pin
Bob Flynn15-Apr-05 10:13
Bob Flynn15-Apr-05 10:13 
GeneralRe: Let me know my mistake in arrays program!! Pin
ThatsAlok15-Apr-05 19:52
ThatsAlok15-Apr-05 19:52 
GeneralRe: Let me know my mistake in arrays program!! Pin
ng kok chuan17-Apr-05 15:37
ng kok chuan17-Apr-05 15:37 
GeneralRe: Let me know my mistake in arrays program!! Pin
ThatsAlok17-Apr-05 18:17
ThatsAlok17-Apr-05 18:17 
GeneralIcon of dialog in taskbar Pin
Hans Ruck15-Apr-05 5:11
Hans Ruck15-Apr-05 5:11 
GeneralRe: Icon of dialog in taskbar Pin
ThatsAlok15-Apr-05 20:48
ThatsAlok15-Apr-05 20:48 
GeneralRe: Icon of dialog in taskbar Pin
Hans Ruck15-Apr-05 22:43
Hans Ruck15-Apr-05 22:43 
GeneralRe: Icon of dialog in taskbar Pin
ThatsAlok15-Apr-05 22:54
ThatsAlok15-Apr-05 22:54 
GeneralRe: Icon of dialog in taskbar Pin
Hans Ruck15-Apr-05 22:59
Hans Ruck15-Apr-05 22:59 

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.