Click here to Skip to main content
15,906,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: multimedia timers synchronization Pin
CPallini13-Dec-08 7:36
mveCPallini13-Dec-08 7:36 
GeneralRe: multimedia timers synchronization Pin
Mark Salsbery13-Dec-08 7:48
Mark Salsbery13-Dec-08 7:48 
GeneralRe: multimedia timers synchronization Pin
Stuart Dootson13-Dec-08 9:33
professionalStuart Dootson13-Dec-08 9:33 
GeneralRe: multimedia timers synchronization Pin
Mark Salsbery13-Dec-08 9:39
Mark Salsbery13-Dec-08 9:39 
GeneralRe: multimedia timers synchronization Pin
CPallini13-Dec-08 9:54
mveCPallini13-Dec-08 9:54 
GeneralRe: multimedia timers synchronization Pin
Stuart Dootson13-Dec-08 9:03
professionalStuart Dootson13-Dec-08 9:03 
GeneralRe: multimedia timers synchronization Pin
Mark Salsbery13-Dec-08 9:13
Mark Salsbery13-Dec-08 9:13 
QuestionImplementation of C preprocessor` Pin
Cassendra12-Dec-08 15:54
Cassendra12-Dec-08 15:54 
You are required to implement a C preprocessor. The Preprocessor is to be implemented as a command-line tool, the input to which is a C source file (.c extension) and the output is the preprocessed file (.i extension). The tool also takes several options.

$ cppr <options> file.c

On successful processing, file .i is produced.

<options> may be:
Preprocessor options-
-Aassertion -C -dD -dM -dN -Dmacro[=defn] -E -H
-idirafter dir -include file -imacros file
-iprefixfile -iwithprefix dir -M -MD -MM -MMD
-nostdinc –P -Umacro –undef
Directory options-
-Bprefix -Idir -I-

Implement any two of the above.
These are the options defined by the gcc compiler. You must implement the following features at a minimum:
i. Stripping off of comments
ii. #ifdef and #endif
iii. #define for constants (not macros)

COULD U PLEASE HELP ME DOING THIS PROJECT?
AnswerRe: Implementation of C preprocessor` Pin
Garth J Lancaster12-Dec-08 16:08
professionalGarth J Lancaster12-Dec-08 16:08 
GeneralRe: Implementation of C preprocessor` Pin
Cassendra12-Dec-08 20:42
Cassendra12-Dec-08 20:42 
AnswerRe: Implementation of C preprocessor` Pin
enhzflep12-Dec-08 16:14
enhzflep12-Dec-08 16:14 
GeneralRe: Implementation of C preprocessor` Pin
CPallini12-Dec-08 21:47
mveCPallini12-Dec-08 21:47 
AnswerRe: Implementation of C preprocessor` Pin
VC++Maniac12-Dec-08 18:33
VC++Maniac12-Dec-08 18:33 
AnswerRe: Implementation of C preprocessor` Pin
Jijo.Raj12-Dec-08 21:58
Jijo.Raj12-Dec-08 21:58 
QuestionLNK Error when passing iterator Pin
pratap198012-Dec-08 11:56
pratap198012-Dec-08 11:56 
AnswerRe: LNK Error when passing iterator Pin
Stuart Dootson12-Dec-08 14:33
professionalStuart Dootson12-Dec-08 14:33 
AnswerRe: LNK Error when passing iterator Pin
Eytukan12-Dec-08 20:07
Eytukan12-Dec-08 20:07 
QuestionPropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 8:24
john john mackey12-Dec-08 8:24 
AnswerRe: PropertyPage - get parent CPropertySheet Pin
Stuart Dootson12-Dec-08 8:47
professionalStuart Dootson12-Dec-08 8:47 
AnswerRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 8:53
Jijo.Raj12-Dec-08 8:53 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 9:12
john john mackey12-Dec-08 9:12 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 10:02
Jijo.Raj12-Dec-08 10:02 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 10:25
john john mackey12-Dec-08 10:25 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
Jijo.Raj12-Dec-08 11:07
Jijo.Raj12-Dec-08 11:07 
GeneralRe: PropertyPage - get parent CPropertySheet Pin
john john mackey12-Dec-08 11:17
john john mackey12-Dec-08 11:17 

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.