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

C / C++ / MFC

 
GeneralRe: how to split a window Pin
Waldermort30-Aug-06 8:12
Waldermort30-Aug-06 8:12 
GeneralRe: how to split a window Pin
toxcct30-Aug-06 8:28
toxcct30-Aug-06 8:28 
QuestionCreating an array out of txt file Pin
wzq2gn30-Aug-06 2:41
wzq2gn30-Aug-06 2:41 
AnswerRe: Creating an array out of txt file Pin
Cedric Moonen30-Aug-06 2:53
Cedric Moonen30-Aug-06 2:53 
AnswerRe: Creating an array out of txt file Pin
Hamid_RT30-Aug-06 2:54
Hamid_RT30-Aug-06 2:54 
AnswerRe: Creating an array out of txt file Pin
David Crow30-Aug-06 2:56
David Crow30-Aug-06 2:56 
GeneralRe: Creating an array out of txt file Pin
wzq2gn30-Aug-06 3:15
wzq2gn30-Aug-06 3:15 
GeneralRe: Creating an array out of txt file Pin
David Crow30-Aug-06 3:24
David Crow30-Aug-06 3:24 
wzq2gn wrote:
I need to use the fgetc for single character manipulation.


Using fgetc() is very costly in terms of disk I/O. The fact that you need to do "single character manipulation" has nothing to do with using fgetc(). You could read the entire file into memory using one call to fread() and then operator on the character buffer.

wzq2gn wrote:
How do I get the contents of the array using printf?


printf() is used to print, not get. The format string governs how many variable arguments are passed to it. In your code snippet, you were only passing one, but two were required.


"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

"Judge not by the eye but by the heart." - Native American Proverb


QuestionRe: Creating an array out of txt file Pin
Zac Howland30-Aug-06 3:31
Zac Howland30-Aug-06 3:31 
AnswerRe: Creating an array out of txt file Pin
Stephen Hewitt30-Aug-06 15:50
Stephen Hewitt30-Aug-06 15:50 
AnswerRe: Creating an array out of txt file Pin
wzq2gn31-Aug-06 1:14
wzq2gn31-Aug-06 1:14 
Questionhow to proceed with Notification of emails using Mapi. Pin
uday kiran janaswamy30-Aug-06 1:54
uday kiran janaswamy30-Aug-06 1:54 
AnswerRe: how to proceed with Notification of emails using Mapi. Pin
David Crow30-Aug-06 3:09
David Crow30-Aug-06 3:09 
QuestionPath to current folder Pin
kajkow30-Aug-06 1:05
kajkow30-Aug-06 1:05 
AnswerRe: Path to current folder Pin
Nibu babu thomas30-Aug-06 1:10
Nibu babu thomas30-Aug-06 1:10 
GeneralRe: Path to current folder Pin
Waldermort30-Aug-06 1:33
Waldermort30-Aug-06 1:33 
GeneralRe: Path to current folder Pin
Programm3r30-Aug-06 1:37
Programm3r30-Aug-06 1:37 
GeneralRe: Path to current folder Pin
kajkow30-Aug-06 2:01
kajkow30-Aug-06 2:01 
AnswerRe: Path to current folder Pin
Waldermort30-Aug-06 1:25
Waldermort30-Aug-06 1:25 
AnswerRe: Path to current folder Pin
Kiran Pinjala30-Aug-06 1:27
Kiran Pinjala30-Aug-06 1:27 
AnswerRe: Path to current folder Pin
Programm3r30-Aug-06 1:27
Programm3r30-Aug-06 1:27 
AnswerRe: Path to current folder Pin
Hamid_RT30-Aug-06 2:18
Hamid_RT30-Aug-06 2:18 
QuestionSend mouse message to child window Pin
majco33330-Aug-06 0:58
majco33330-Aug-06 0:58 
AnswerRe: Send mouse message to child window Pin
prasad_som30-Aug-06 1:18
prasad_som30-Aug-06 1:18 
GeneralRe: Send mouse message to child window Pin
majco33330-Aug-06 1:22
majco33330-Aug-06 1:22 

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.