Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to replace a variable everywhere in a big project ? Pin
David Crow14-Jan-04 2:58
David Crow14-Jan-04 2:58 
AnswerRe: How to replace a variable everywhere in a big project ? Pin
Prakash Nadar14-Jan-04 6:23
Prakash Nadar14-Jan-04 6:23 
QuestionHow to replace a variable everywhere in a big project ? Pin
Anonymous14-Jan-04 2:08
Anonymous14-Jan-04 2:08 
AnswerRe: How to replace a variable everywhere in a big project ? Pin
Alexander M.,14-Jan-04 3:56
Alexander M.,14-Jan-04 3:56 
GeneralDeploy & Path Names - Help Pin
sweep12314-Jan-04 2:06
sweep12314-Jan-04 2:06 
GeneralRe: Deploy & Path Names - Help Pin
David Crow14-Jan-04 3:09
David Crow14-Jan-04 3:09 
GeneralRe: Deploy & Path Names - Help Pin
l a u r e n14-Jan-04 9:52
l a u r e n14-Jan-04 9:52 
GeneralLinker Error Pin
rajeev14-Jan-04 1:53
rajeev14-Jan-04 1:53 
GeneralRe: Linker Error Pin
Joaquín M López Muñoz14-Jan-04 2:53
Joaquín M López Muñoz14-Jan-04 2:53 
GeneralRe: Linker Error Pin
rajeev14-Jan-04 17:31
rajeev14-Jan-04 17:31 
GeneralSpying on socket Ports Pin
Monty214-Jan-04 1:32
Monty214-Jan-04 1:32 
GeneralRe: Spying on socket Ports Pin
bryce14-Jan-04 1:36
bryce14-Jan-04 1:36 
GeneralRe: Spying on socket Ports Pin
Monty214-Jan-04 1:49
Monty214-Jan-04 1:49 
GeneralRe: Spying on socket Ports Pin
Alexander M.,14-Jan-04 4:02
Alexander M.,14-Jan-04 4:02 
GeneralRe: Spying on socket Ports Pin
Lim Bio Liong14-Jan-04 5:26
Lim Bio Liong14-Jan-04 5:26 
GeneralRe: Spying on socket Ports Pin
bryce14-Jan-04 11:43
bryce14-Jan-04 11:43 
GeneralRe: Spying on socket Ports Pin
kbsoftware14-Jan-04 12:00
kbsoftware14-Jan-04 12:00 
GeneralVERY URGENT...HELP ME! Pin
swarnamanoo14-Jan-04 1:25
swarnamanoo14-Jan-04 1:25 
GeneralTerminal Server Enumerate processes only belongin to the current user session Pin
Braulio Dez14-Jan-04 1:00
Braulio Dez14-Jan-04 1:00 
GeneralRe: Terminal Server Enumerate processes only belongin to the current user session Pin
22491714-Jan-04 1:21
22491714-Jan-04 1:21 
GeneralRe: C++ Pin
Joaquín M López Muñoz14-Jan-04 2:38
Joaquín M López Muñoz14-Jan-04 2:38 
GeneralRe: C++ Pin
NewbieCoder14-Jan-04 2:43
NewbieCoder14-Jan-04 2:43 
GeneralRe: C++ Pin
Joaquín M López Muñoz14-Jan-04 3:03
Joaquín M López Muñoz14-Jan-04 3:03 
GeneralRe: C++ Pin
Member 81460314-Jan-04 3:32
Member 81460314-Jan-04 3:32 
GeneralRe: C++ Pin
David Crow14-Jan-04 3:33
David Crow14-Jan-04 3:33 
In addition to Joaquín's suggestions, you need to look at the swap() function. It is expecting 4 parameters, but is only being called with two. The count() function is expecting a char for a second parameter, but is being called with an int. It also needs to return a value. The sentence() function also needs to return a value.

None of this should come as a big surprise to you as the compiler should have told you what was wrong.


A rich person is not the one who has the most, but the one that needs the least.

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.