Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Add support for Memory leak detection Pin
Nandu_77b11-Jun-09 21:02
Nandu_77b11-Jun-09 21:02 
AnswerRe: Add support for Memory leak detection Pin
Hamid_RT11-Jun-09 21:32
Hamid_RT11-Jun-09 21:32 
Questionsegmentation problem Pin
sandeep_dhruwa11-Jun-09 19:31
sandeep_dhruwa11-Jun-09 19:31 
AnswerRe: segmentation problem Pin
Cedric Moonen11-Jun-09 20:13
Cedric Moonen11-Jun-09 20:13 
GeneralRe: segmentation problem Pin
sandeep_dhruwa11-Jun-09 21:06
sandeep_dhruwa11-Jun-09 21:06 
GeneralRe: segmentation problem Pin
Cedric Moonen11-Jun-09 21:11
Cedric Moonen11-Jun-09 21:11 
GeneralRe: segmentation problem Pin
sandeep_dhruwa11-Jun-09 23:51
sandeep_dhruwa11-Jun-09 23:51 
AnswerRe: segmentation problem Pin
CPallini11-Jun-09 21:25
mveCPallini11-Jun-09 21:25 
sandeep_dhruwa wrote:
nread=read(0,&buf,100);


sandeep_dhruwa wrote:
write(1,&buf,nread);


You should use buf, not &buf.
For instance
nread = read(0, buf, 100);


BTW your code is a mess, you really need a good C tutorial.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionCall to a constructor while executing (obj < 3) . Kindly explain? Pin
Member 397434711-Jun-09 18:01
Member 397434711-Jun-09 18:01 
AnswerRe: Call to a constructor while executing (obj < 3) . Kindly explain? Pin
Naveen11-Jun-09 18:18
Naveen11-Jun-09 18:18 
GeneralRe: Call to a constructor while executing (obj < 3) . Kindly explain? Pin
N a v a n e e t h11-Jun-09 18:23
N a v a n e e t h11-Jun-09 18:23 
JokeRe: Call to a constructor while executing (obj < 3) . Kindly explain? Pin
Naveen11-Jun-09 18:26
Naveen11-Jun-09 18:26 
GeneralRe: Call to a constructor while executing (obj < 3) . Kindly explain? Pin
Member 397434711-Jun-09 18:28
Member 397434711-Jun-09 18:28 
AnswerRe: Call to a constructor while executing (obj < 3) . Kindly explain? Pin
N a v a n e e t h11-Jun-09 18:22
N a v a n e e t h11-Jun-09 18:22 
GeneralRe: Call to a constructor while executing (obj < 3) . Kindly explain? Pin
Member 397434711-Jun-09 18:38
Member 397434711-Jun-09 18:38 
Questionneed help on liked error Pin
vigneshvdm11-Jun-09 16:50
vigneshvdm11-Jun-09 16:50 
AnswerRe: need help on liked error Pin
CPallini11-Jun-09 21:36
mveCPallini11-Jun-09 21:36 
QuestionHow to get ip address of current socket Pin
cozyu11-Jun-09 16:10
cozyu11-Jun-09 16:10 
AnswerRe: How to get ip address of current socket Pin
yifanernei11-Jun-09 17:02
yifanernei11-Jun-09 17:02 
Questionc programing project on rejistration Pin
seiyfu yesuf11-Jun-09 12:04
seiyfu yesuf11-Jun-09 12:04 
AnswerRe: c programing project on rejistration Pin
molesworth11-Jun-09 12:13
molesworth11-Jun-09 12:13 
AnswerRe: c programing project on rejistration Pin
Rajesh R Subramanian11-Jun-09 12:55
professionalRajesh R Subramanian11-Jun-09 12:55 
AnswerRe: c programing project on rejistration Pin
chirag_chauhan11-Jun-09 18:00
chirag_chauhan11-Jun-09 18:00 
QuestionReduce the noise in the program Pin
Nikhil_777711-Jun-09 11:27
Nikhil_777711-Jun-09 11:27 
AnswerRe: Reduce the noise in the program Pin
Nikhil_777711-Jun-09 11:28
Nikhil_777711-Jun-09 11:28 

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.