Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiontool-tip Pin
Member 1168600526-May-15 17:11
Member 1168600526-May-15 17:11 
AnswerRe: tool-tip Pin
_Flaviu26-May-15 21:41
_Flaviu26-May-15 21:41 
QuestionSimple anti virus project (Argv FILE* dirent.h) Pin
a random user24-May-15 4:49
a random user24-May-15 4:49 
AnswerRe: Simple anti virus project (Argv FILE* dirent.h) Pin
Richard MacCutchan24-May-15 6:09
mveRichard MacCutchan24-May-15 6:09 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
a random user24-May-15 6:21
a random user24-May-15 6:21 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
Richard MacCutchan24-May-15 6:47
mveRichard MacCutchan24-May-15 6:47 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
a random user24-May-15 7:06
a random user24-May-15 7:06 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
Richard MacCutchan24-May-15 7:11
mveRichard MacCutchan24-May-15 7:11 
Yes because you are using the count from location to do the copy, which is the length of the string, and so will not include the null character. Use the code sample I gave you which makes use of standard library functions that will ensure your copied data is correctly structured.

a random user wrote:
is there any way we could communicate like through skype ?
Sorry, I do this in my own time and at my own speed. I will not be available much longer today.
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
a random user24-May-15 7:20
a random user24-May-15 7:20 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
Richard MacCutchan24-May-15 21:36
mveRichard MacCutchan24-May-15 21:36 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
a random user25-May-15 2:24
a random user25-May-15 2:24 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
Richard MacCutchan25-May-15 2:33
mveRichard MacCutchan25-May-15 2:33 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
a random user25-May-15 2:59
a random user25-May-15 2:59 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
Richard MacCutchan25-May-15 3:25
mveRichard MacCutchan25-May-15 3:25 
GeneralRe: Simple anti virus project (Argv FILE* dirent.h) Pin
a random user25-May-15 3:34
a random user25-May-15 3:34 
QuestionC language Help using Dirent.h Pin
a random user22-May-15 6:24
a random user22-May-15 6:24 
SuggestionRe: C language Help using Dirent.h Pin
Richard MacCutchan22-May-15 7:19
mveRichard MacCutchan22-May-15 7:19 
AnswerRe: C language Help using Dirent.h Pin
k505422-May-15 7:37
mvek505422-May-15 7:37 
GeneralRe: C language Help using Dirent.h Pin
a random user23-May-15 1:06
a random user23-May-15 1:06 
GeneralRe: C language Help using Dirent.h Pin
Richard MacCutchan23-May-15 2:15
mveRichard MacCutchan23-May-15 2:15 
GeneralRe: C language Help using Dirent.h Pin
a random user23-May-15 2:56
a random user23-May-15 2:56 
GeneralRe: C language Help using Dirent.h Pin
Richard MacCutchan23-May-15 3:04
mveRichard MacCutchan23-May-15 3:04 
GeneralRe: C language Help using Dirent.h Pin
a random user23-May-15 3:08
a random user23-May-15 3:08 
GeneralRe: C language Help using Dirent.h Pin
a random user23-May-15 3:45
a random user23-May-15 3:45 
GeneralRe: C language Help using Dirent.h Pin
Richard MacCutchan23-May-15 6:27
mveRichard MacCutchan23-May-15 6:27 

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.