Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to use ReadFile API Read HID Device synchronous Pin
Heng Xiangzhong8-Apr-14 23:31
Heng Xiangzhong8-Apr-14 23:31 
Question#imports for MS Office2013 Pin
Bryan Anslow28-Mar-14 10:08
Bryan Anslow28-Mar-14 10:08 
AnswerRe: #imports for MS Office2013 Pin
SujayG1-Apr-14 22:26
SujayG1-Apr-14 22:26 
GeneralRe: #imports for MS Office2013 Pin
Bryan Anslow2-Apr-14 4:23
Bryan Anslow2-Apr-14 4:23 
GeneralRe: #imports for MS Office2013 Pin
SujayG3-Apr-14 1:04
SujayG3-Apr-14 1:04 
GeneralRe: #imports for MS Office2013 Pin
Bryan Anslow3-Apr-14 5:02
Bryan Anslow3-Apr-14 5:02 
GeneralRe: #imports for MS Office2013 Pin
SujayG4-Apr-14 18:43
SujayG4-Apr-14 18:43 
QuestionAn algorithm question Pin
econy26-Mar-14 15:53
econy26-Mar-14 15:53 
I have an application ,need to read hardware IO, each IO data be coded to an unsigned integer, 4 digits - 7 digits.
Quantity of all possible integers is 240, every integer is unique
for example:
1000,1002, 120008, 1318001,14702 , 4003...


After coding step, the coded integers need to be send out in a sequence.
12002 <- 4001 <- 10089 <- 5007 <- ... 

Quantity of integers are limited to 128, but, the quantity number is not fixed. Perhaps send-cycle1 is 4 integers,
send-cycle2 is 120 integers,
send-cycle3 is 2 integers,
send-cycle4 is 0 integer.
...

And during cycle period, maybe there are duplicated data be read,but, sending sequence should not take duplicated data.

Logic is :
read data -> already in sequence, discard/ new data -> sequence


I wonder what data structure is good for the above logic and application.
AnswerRe: An algorithm question Pin
Richard MacCutchan26-Mar-14 23:08
mveRichard MacCutchan26-Mar-14 23:08 
GeneralRe: An algorithm question Pin
econy27-Mar-14 3:38
econy27-Mar-14 3:38 
AnswerRe: An algorithm question Pin
CPallini28-Mar-14 10:31
mveCPallini28-Mar-14 10:31 
GeneralRe: An algorithm question Pin
econy31-Mar-14 4:12
econy31-Mar-14 4:12 
GeneralRe: An algorithm question Pin
chaau1-Apr-14 17:17
chaau1-Apr-14 17:17 
AnswerRe: An algorithm question Pin
Stefan_Lang3-Apr-14 3:29
Stefan_Lang3-Apr-14 3:29 
QuestionReceive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 5:18
Shanky426-Mar-14 5:18 
QuestionRe: Receive UDP packet from multiple default gateway Pin
Richard MacCutchan26-Mar-14 5:32
mveRichard MacCutchan26-Mar-14 5:32 
AnswerRe: Receive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 6:55
Shanky426-Mar-14 6:55 
GeneralRe: Receive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 7:05
Shanky426-Mar-14 7:05 
GeneralRe: Receive UDP packet from multiple default gateway Pin
Richard MacCutchan26-Mar-14 7:14
mveRichard MacCutchan26-Mar-14 7:14 
AnswerRe: Receive UDP packet from multiple default gateway Pin
Jochen Arndt26-Mar-14 7:17
professionalJochen Arndt26-Mar-14 7:17 
GeneralRe: Receive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 7:29
Shanky426-Mar-14 7:29 
QuestionADO Connection ptr under Windows 7 fails in Windowx XP Pin
aaandrei26-Mar-14 4:55
aaandrei26-Mar-14 4:55 
AnswerRe: ADO Connection ptr under Windows 7 fails in Windowx XP Pin
Jochen Arndt26-Mar-14 5:07
professionalJochen Arndt26-Mar-14 5:07 
QuestionHow to use global hook with WH_GETMESSAGE Pin
cedricvictor26-Mar-14 2:44
cedricvictor26-Mar-14 2:44 
AnswerRe: How to use global hook with WH_GETMESSAGE Pin
Richard MacCutchan26-Mar-14 5:26
mveRichard MacCutchan26-Mar-14 5:26 

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.