Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLpt Capture. Pin
Ben Mess27-Nov-10 6:08
Ben Mess27-Nov-10 6:08 
QuestionSend file through socket likes yahoo Pin
darknguyen1748827-Nov-10 4:46
darknguyen1748827-Nov-10 4:46 
AnswerRe: Send file through socket likes yahoo Pin
Richard MacCutchan27-Nov-10 5:25
mveRichard MacCutchan27-Nov-10 5:25 
GeneralRe: Send file through socket likes yahoo Pin
darknguyen1748828-Nov-10 4:47
darknguyen1748828-Nov-10 4:47 
GeneralRe: Send file through socket likes yahoo Pin
Richard MacCutchan28-Nov-10 6:03
mveRichard MacCutchan28-Nov-10 6:03 
AnswerRe: Send file through socket likes yahoo Pin
Chuck O'Toole28-Nov-10 7:12
Chuck O'Toole28-Nov-10 7:12 
Questionmember function don't pass to class!!!??? Pin
hasani200727-Nov-10 2:33
hasani200727-Nov-10 2:33 
AnswerRe: member function don't pass to class!!!??? Pin
Richard MacCutchan27-Nov-10 2:53
mveRichard MacCutchan27-Nov-10 2:53 
Since your code will not even compile successfully it is little wonder it doesn't work. You are making a static call to a non-static method (phonebook::add_new();), which is invalid.

Try looking at your design here, every time you call add_new() you create a new phonebook object but you do not save it anywhere. Consider the contents of a real phonebook, the book contains entries and each entry contains names and numbers. So you need a collection of some sort to hold all your entries; this could be a class or one of the STL types. Perhaps you should try this without using classes as a first attempt to get the concepts right and then convert to classes later.
Just say 'NO' to evaluated arguments for diadic functions! Ash

QuestionHoa can find sound play by MCIWndPlay is end now? Pin
Le@rner26-Nov-10 21:03
Le@rner26-Nov-10 21:03 
AnswerRe: Hoa can find sound play by MCIWndPlay is end now? Pin
Richard MacCutchan27-Nov-10 1:33
mveRichard MacCutchan27-Nov-10 1:33 
QuestionHow can I load put a swf in resources and how to load it Pin
rahul.kulshreshtha26-Nov-10 19:55
rahul.kulshreshtha26-Nov-10 19:55 
AnswerRe: How can I load put a swf in resources and how to load it Pin
Richard MacCutchan26-Nov-10 22:50
mveRichard MacCutchan26-Nov-10 22:50 
GeneralRe: How can I load put a swf in resources and how to load it Pin
rahul.kulshreshtha27-Nov-10 2:02
rahul.kulshreshtha27-Nov-10 2:02 
GeneralRe: How can I load put a swf in resources and how to load it Pin
rahul.kulshreshtha28-Nov-10 22:10
rahul.kulshreshtha28-Nov-10 22:10 
GeneralRe: How can I load put a swf in resources and how to load it Pin
Richard MacCutchan29-Nov-10 3:27
mveRichard MacCutchan29-Nov-10 3:27 
Question[Solved]My CAsyncSocket class doesn't receive data after some secondes. [modified] Pin
stephen_young26-Nov-10 18:16
stephen_young26-Nov-10 18:16 
GeneralRe: My CAsyncSocket class doesn't receive data after some secondes. Pin
Randor 28-Nov-10 5:57
professional Randor 28-Nov-10 5:57 
GeneralRe: My CAsyncSocket class doesn't receive data after some secondes. Pin
stephen_young28-Nov-10 17:02
stephen_young28-Nov-10 17:02 
AnswerRe: [Solved]My CAsyncSocket class doesn't receive data after some secondes. Pin
stephen_young5-Dec-10 17:39
stephen_young5-Dec-10 17:39 
Questionfatal error LNK1104: can not open file .lib Pin
AmbiguousName26-Nov-10 6:26
AmbiguousName26-Nov-10 6:26 
AnswerRe: fatal error LNK1104: can not open file .lib Pin
Richard MacCutchan26-Nov-10 6:32
mveRichard MacCutchan26-Nov-10 6:32 
GeneralRe: fatal error LNK1104: can not open file .lib Pin
AmbiguousName26-Nov-10 6:47
AmbiguousName26-Nov-10 6:47 
GeneralRe: fatal error LNK1104: can not open file .lib Pin
Richard MacCutchan26-Nov-10 7:14
mveRichard MacCutchan26-Nov-10 7:14 
QuestionLoading a CBitmap directly from file system without requiring ::LoadBitmap Pin
Ahmed Charfeddine26-Nov-10 5:04
Ahmed Charfeddine26-Nov-10 5:04 
AnswerRe: Loading a CBitmap directly from file system without requiring ::LoadBitmap Pin
Richard MacCutchan26-Nov-10 6:29
mveRichard MacCutchan26-Nov-10 6:29 

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.