Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed help for a Ray Cast Function Pin
SD1016-Aug-12 8:15
SD1016-Aug-12 8:15 
GeneralRe: Need help for a Ray Cast Function Pin
Wes Aday6-Aug-12 8:20
professionalWes Aday6-Aug-12 8:20 
GeneralRe: Need help for a Ray Cast Function Pin
Software_Developer6-Aug-12 9:02
Software_Developer6-Aug-12 9:02 
Questionvectors Pin
Xarzu6-Aug-12 7:10
Xarzu6-Aug-12 7:10 
GeneralRe: vectors Pin
Software_Developer6-Aug-12 7:34
Software_Developer6-Aug-12 7:34 
AnswerRe: vectors Pin
Albert Holguin6-Aug-12 7:38
professionalAlbert Holguin6-Aug-12 7:38 
QuestionI'm doing a file download client,use http or ftp Pin
jiang1988jian5-Aug-12 23:34
jiang1988jian5-Aug-12 23:34 
GeneralRe: I'm doing a file download client,use http or ftp Pin
pasztorpisti6-Aug-12 3:29
pasztorpisti6-Aug-12 3:29 
Both protocols have their advantages but I think http is more modern and often better. I also favor http because I often build in cgi scripts to perform certain tasks on the server side.
About the CRC: None of these protocols support getting crc. I would use the file time to check if the files are up to date on the client or not. With http you can use HEAD requests to get only the head part of a full request without data, that contains the filetime, size, etc... If you can put in cgi scripts into your http server then you can build in a crc calculator/getter cgi but I think putting heavy load on the server is generally a bad idea. In ftp I don't know if getting crc is possible but my guess is no.

modified 6-Aug-12 10:47am.

GeneralRe: I'm doing a file download client,use http or ftp Pin
jiang1988jian12-Aug-12 15:07
jiang1988jian12-Aug-12 15:07 
GeneralRe: I'm doing a file download client,use http or ftp Pin
pasztorpisti12-Aug-12 19:46
pasztorpisti12-Aug-12 19:46 
AnswerRe: I'm doing a file download client,use http or ftp Pin
Software_Developer6-Aug-12 6:06
Software_Developer6-Aug-12 6:06 
GeneralRe: I'm doing a file download client,use http or ftp Pin
pasztorpisti6-Aug-12 6:38
pasztorpisti6-Aug-12 6:38 
GeneralRe: I'm doing a file download client,use http or ftp Pin
pasztorpisti6-Aug-12 6:43
pasztorpisti6-Aug-12 6:43 
QuestionHow to retain the state of check box in a dialog box in MFC.? Pin
mbatra315-Aug-12 21:20
mbatra315-Aug-12 21:20 
AnswerRe: How to retain the state of check box in a dialog box in MFC.? Pin
«_Superman_»5-Aug-12 23:00
professional«_Superman_»5-Aug-12 23:00 
GeneralRe: How to retain the state of check box in a dialog box in MFC.? Pin
mbatra316-Aug-12 2:21
mbatra316-Aug-12 2:21 
Generalget the txt of wordArt with VBA (C++ code) Pin
BCN-1635-Aug-12 20:21
BCN-1635-Aug-12 20:21 
QuestionRe: get the txt of wordArt with VBA Pin
CPallini5-Aug-12 21:03
mveCPallini5-Aug-12 21:03 
AnswerRe: get the txt of wordArt with VBA Pin
BCN-1635-Aug-12 21:17
BCN-1635-Aug-12 21:17 
QuestionMFC Ribbon Status Bar in VS2010 Pin
Rishav Prabhakar5-Aug-12 19:22
Rishav Prabhakar5-Aug-12 19:22 
QuestionCalling main from within Windows application Pin
PierreBokma5-Aug-12 3:34
PierreBokma5-Aug-12 3:34 
AnswerRe: Calling main from within Windows application Pin
Richard MacCutchan5-Aug-12 6:51
mveRichard MacCutchan5-Aug-12 6:51 
AnswerRe: Calling main from within Windows application Pin
jschell5-Aug-12 7:53
jschell5-Aug-12 7:53 
AnswerRe: Calling main from within Windows application Pin
pasztorpisti5-Aug-12 15:08
pasztorpisti5-Aug-12 15:08 
AnswerRe: Calling main from within Windows application Pin
Software_Developer5-Aug-12 18:37
Software_Developer5-Aug-12 18:37 

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.