Click here to Skip to main content
15,889,096 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert TCHAR to char Pin
Ryan Binns12-Feb-06 17:22
Ryan Binns12-Feb-06 17:22 
QuestionNeed help in writing c program plzzzzzzzzzzz Pin
samsams10-Feb-06 9:56
samsams10-Feb-06 9:56 
Q.1 Write a C Program to display following menu
Menu
1. Display
2. Copy
3. Append
4. Exit

Accept the choice (1-4) from the user, and perform following tasks:

Choice 1: Accept a file name from the user and display the file on screen
Choice 2: Accept two file names, and copy first file to the second
Choice 3: Accept two file names, and append second file to the first file
Choice 4: Terminate the program

Your program should have appropriate validations

============================================================

Q2) Write a C Program to create a structured data file named Student.dat to store the roll no, name and course.

Provide following functions:
Accept the values from the user using structure variables. Store the contents in a file.
Display the file.
The user should be able to add new records to the existing file. And display the new file.

============================================================

Q3) Write a C Program to declare an array for 2 0 floats. Accept the values from the user sort the two arrays in descending order. Merge the two arrays into a new array and display the new array.

============================================================


Q4) Accept any two numbers from the user. Perform the following operations on it using functions:
Addition
Subtraction
Multiplication
Swap the values
Print both the numbers in reverse order for example (if a given number is 234, it should be printed as 432)

thx
AnswerRe: Need help in writing c program plzzzzzzzzzzz Pin
George L. Jackson10-Feb-06 10:11
George L. Jackson10-Feb-06 10:11 
AnswerRe: Need help in writing c program plzzzzzzzzzzz Pin
perlmunger10-Feb-06 11:27
perlmunger10-Feb-06 11:27 
QuestionI really do hate string streams Pin
PJ Arends10-Feb-06 9:49
professionalPJ Arends10-Feb-06 9:49 
AnswerRe: I really do hate string streams Pin
Jörgen Sigvardsson10-Feb-06 11:25
Jörgen Sigvardsson10-Feb-06 11:25 
AnswerRe: I really do hate string streams Pin
Jörgen Sigvardsson10-Feb-06 11:37
Jörgen Sigvardsson10-Feb-06 11:37 
GeneralRe: I really do hate string streams Pin
PJ Arends10-Feb-06 12:04
professionalPJ Arends10-Feb-06 12:04 
GeneralRe: I really do hate string streams Pin
Jörgen Sigvardsson10-Feb-06 12:15
Jörgen Sigvardsson10-Feb-06 12:15 
GeneralRe: I really do hate string streams Pin
PJ Arends10-Feb-06 12:22
professionalPJ Arends10-Feb-06 12:22 
QuestionAPI to enable/disable Windows SP2 Firewall on a given connection? Pin
Carl Mirabel10-Feb-06 9:41
Carl Mirabel10-Feb-06 9:41 
AnswerRe: API to enable/disable Windows SP2 Firewall on a given connection? Pin
Blake Miller13-Feb-06 4:12
Blake Miller13-Feb-06 4:12 
Questioncreating a window... Pin
Peter Charlesworth10-Feb-06 8:51
Peter Charlesworth10-Feb-06 8:51 
Answercreating a window... Pin
Peter Charlesworth10-Feb-06 8:57
Peter Charlesworth10-Feb-06 8:57 
GeneralRe: creating a window... Pin
Peter Charlesworth10-Feb-06 8:59
Peter Charlesworth10-Feb-06 8:59 
GeneralRe: creating a window... Pin
David Crow10-Feb-06 9:15
David Crow10-Feb-06 9:15 
GeneralRe: creating a window... Pin
Peter Charlesworth10-Feb-06 10:05
Peter Charlesworth10-Feb-06 10:05 
AnswerRe: creating a window... Pin
Michael Dunn10-Feb-06 11:09
sitebuilderMichael Dunn10-Feb-06 11:09 
QuestionCListView question Pin
RobJones10-Feb-06 8:22
RobJones10-Feb-06 8:22 
AnswerRe: CListView question Pin
David Crow10-Feb-06 9:19
David Crow10-Feb-06 9:19 
GeneralRe: CListView question Pin
RobJones10-Feb-06 9:27
RobJones10-Feb-06 9:27 
QuestionImmediate Display of Edit Box Pin
jon_fallon10-Feb-06 8:19
jon_fallon10-Feb-06 8:19 
AnswerRe: Immediate Display of Edit Box Pin
David Crow10-Feb-06 9:22
David Crow10-Feb-06 9:22 
AnswerRe: Immediate Display of Edit Box Pin
PJ Arends10-Feb-06 9:59
professionalPJ Arends10-Feb-06 9:59 
GeneralRe: Immediate Display of Edit Box Pin
jon_fallon10-Feb-06 10:04
jon_fallon10-Feb-06 10:04 

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.