Click here to Skip to main content
15,890,399 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i jump from the loop before i exit this program automatically? Pin
Adam Roderick J31-Aug-09 20:57
Adam Roderick J31-Aug-09 20:57 
GeneralRe: how can i jump from the loop before i exit this program automatically? Pin
Iain Clarke, Warrior Programmer31-Aug-09 21:00
Iain Clarke, Warrior Programmer31-Aug-09 21:00 
QuestionRe: how can i jump from the loop before i exit this program automatically? Pin
David Crow1-Sep-09 2:57
David Crow1-Sep-09 2:57 
AnswerRe: how can i jump from the loop before i exit this program automatically? Pin
Rajesh R Subramanian1-Sep-09 5:17
professionalRajesh R Subramanian1-Sep-09 5:17 
JokeRe: how can i jump from the loop before i exit this program automatically? Pin
Rajesh R Subramanian31-Aug-09 23:36
professionalRajesh R Subramanian31-Aug-09 23:36 
GeneralRe: how can i jump from the loop before i exit this program automatically? Pin
Iain Clarke, Warrior Programmer1-Sep-09 1:18
Iain Clarke, Warrior Programmer1-Sep-09 1:18 
AnswerRe: how can i jump from the loop before i exit this program automatically? Pin
Cedric Moonen1-Sep-09 3:59
Cedric Moonen1-Sep-09 3:59 
QuestionHash Look up Logic Pin
mohant$.net31-Aug-09 19:55
mohant$.net31-Aug-09 19:55 
Hi All

I tried hash Look up logic in C.I got unique hash value, but my look up table have only 5000 records so i need to reduce my hash value.

logic
h=h<<5+h+c

h=default value 3.

c=input character ascii value.

For Ex:
Input :Jon
Output:227018.

currently am getting hash value in billion or million.I want my hash value with in 5000.

I tried Mod function too..But it is giving duplicate value.So plz gimme solution for this....

Note:Input is string and output is number(for hash value).

Thanks,
Mohan.T

Mohan t working for N.I.C

AnswerRe: Hash Look up Logic Pin
Adam Roderick J31-Aug-09 20:09
Adam Roderick J31-Aug-09 20:09 
GeneralRe: Hash Look up Logic Pin
mohant$.net31-Aug-09 20:16
mohant$.net31-Aug-09 20:16 
GeneralRe: Hash Look up Logic [modified] Pin
Adam Roderick J31-Aug-09 20:31
Adam Roderick J31-Aug-09 20:31 
AnswerRe: Hash Look up Logic Pin
Stuart Dootson31-Aug-09 23:04
professionalStuart Dootson31-Aug-09 23:04 
GeneralRe: Hash Look up Logic Pin
mohant$.net31-Aug-09 23:19
mohant$.net31-Aug-09 23:19 
GeneralRe: Hash Look up Logic Pin
Stuart Dootson31-Aug-09 23:22
professionalStuart Dootson31-Aug-09 23:22 
AnswerRe: Hash Look up Logic Pin
Alan Balkany1-Sep-09 5:32
Alan Balkany1-Sep-09 5:32 
Questionset dialog transparence but control not Pin
zhanghui543231-Aug-09 19:54
zhanghui543231-Aug-09 19:54 
QuestionOutlook Automation Pin
john563231-Aug-09 19:47
john563231-Aug-09 19:47 
AnswerRe: Outlook Automation Pin
Stuart Dootson31-Aug-09 23:13
professionalStuart Dootson31-Aug-09 23:13 
QuestionCan i send Array in command line parameter of CeCreateProcess? Pin
Le@rner31-Aug-09 19:19
Le@rner31-Aug-09 19:19 
AnswerNews: Nothing has changed today! Pin
Rajesh R Subramanian31-Aug-09 19:51
professionalRajesh R Subramanian31-Aug-09 19:51 
AnswerRe: Can i send Array in command line parameter of CeCreateProcess? Pin
Adam Roderick J31-Aug-09 19:58
Adam Roderick J31-Aug-09 19:58 
QuestionCFrameWnd and CToolBar and tooltips. Should be simple but.. [modified] Pin
FloatingMarc31-Aug-09 17:31
FloatingMarc31-Aug-09 17:31 
QuestionSetLayeredWindowAttributes , set a dialog . Pin
zhanghui543231-Aug-09 16:15
zhanghui543231-Aug-09 16:15 
AnswerRe: SetLayeredWindowAttributes , set a dialog . Pin
«_Superman_»31-Aug-09 17:56
professional«_Superman_»31-Aug-09 17:56 
Questionfrom Font Name and Font Size ==&gt; TextWidth and Textheight ?? Pin
aa_zz31-Aug-09 15:29
aa_zz31-Aug-09 15:29 

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.