Click here to Skip to main content
15,888,073 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reading a specific word/phrase from a line Pin
zoroyster23-Apr-07 19:35
zoroyster23-Apr-07 19:35 
GeneralRe: Reading a specific word/phrase from a line Pin
xibeifeijian23-Apr-07 19:44
xibeifeijian23-Apr-07 19:44 
GeneralRe: Reading a specific word/phrase from a line Pin
Patrick Etc.24-Apr-07 6:00
Patrick Etc.24-Apr-07 6:00 
QuestionHow to impose Expire Date on MS Office files? [modified] Pin
sachinkalse23-Apr-07 17:21
sachinkalse23-Apr-07 17:21 
AnswerRe: How to impose Expire Date on MS Office files? Pin
Russell Jones24-Apr-07 0:04
Russell Jones24-Apr-07 0:04 
GeneralRe: How to impose Expire Date on MS Office files? [modified] Pin
sachinkalse13-Jun-07 16:36
sachinkalse13-Jun-07 16:36 
QuestionVery basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 17:05
wertyou23-Apr-07 17:05 
AnswerRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 17:27
Patrick Etc.23-Apr-07 17:27 
1. What are the errors you're getting? It's hard to tell you the source if we don't know what they are Wink | ;)


2. You have several syntactical errors:

a. int twiceage needs a semicolon after it.
b. cin << age; should have the pipe pointing the other direction
c. twiceage = age*2 needs a semicolon at the end
d. technically, you don't need arguments to the pause() function, and using pause(void) in the function definition is an error - if you're going to provide a type specifier you need to provide a variable name too (the declaration at the top is fine, though). So for pause, it'd be better just to declare the function as "void pause()"

Try fixing those and let us know what further errors you get.



------------
Cheers,
Patrick

GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 17:37
wertyou23-Apr-07 17:37 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 17:45
Patrick Etc.23-Apr-07 17:45 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 18:04
wertyou23-Apr-07 18:04 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 18:27
Patrick Etc.23-Apr-07 18:27 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 18:42
wertyou23-Apr-07 18:42 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 18:45
Patrick Etc.23-Apr-07 18:45 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou24-Apr-07 14:53
wertyou24-Apr-07 14:53 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.24-Apr-07 15:09
Patrick Etc.24-Apr-07 15:09 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou24-Apr-07 15:30
wertyou24-Apr-07 15:30 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.24-Apr-07 15:49
Patrick Etc.24-Apr-07 15:49 
QuestionHow to enable internet explorer's "Disable script debugging option" thru code? Pin
engsrini23-Apr-07 16:25
engsrini23-Apr-07 16:25 
AnswerRe: How to enable internet explorer's "Disable script debugging option" thru code? Pin
Christian Graus23-Apr-07 16:41
protectorChristian Graus23-Apr-07 16:41 
GeneralRe: How to enable internet explorer's "Disable script debugging option" thru code? Pin
engsrini23-Apr-07 17:06
engsrini23-Apr-07 17:06 
Questionneed your help about datagridview Pin
phantanagu23-Apr-07 16:05
phantanagu23-Apr-07 16:05 
QuestionAppend WMV Files Pin
Muhammad Chitrali23-Apr-07 11:48
Muhammad Chitrali23-Apr-07 11:48 
AnswerRe: Append WMV Files Pin
Patrick Etc.23-Apr-07 14:40
Patrick Etc.23-Apr-07 14:40 
QuestionProblem with execute Stored Procedure from My app. Pin
hdv21223-Apr-07 11:05
hdv21223-Apr-07 11:05 

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.