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

C / C++ / MFC

 
QuestionRe: DeviceIoControl question Pin
Randor 9-Mar-12 11:45
professional Randor 9-Mar-12 11:45 
AnswerRe: DeviceIoControl question Pin
RomTibi10-Mar-12 9:31
RomTibi10-Mar-12 9:31 
AnswerRe: DeviceIoControl question Pin
RomTibi16-Mar-12 6:31
RomTibi16-Mar-12 6:31 
GeneralRe: DeviceIoControl question Pin
Randor 16-Mar-12 14:01
professional Randor 16-Mar-12 14:01 
GeneralRe: DeviceIoControl question Pin
RomTibi16-Mar-12 20:29
RomTibi16-Mar-12 20:29 
GeneralRe: DeviceIoControl question Pin
Randor 21-Mar-12 10:55
professional Randor 21-Mar-12 10:55 
GeneralRe: DeviceIoControl question Pin
K4HVDs22-Mar-12 6:39
K4HVDs22-Mar-12 6:39 
QuestionRe: DeviceIoControl question Pin
Randor 27-Mar-12 14:00
professional Randor 27-Mar-12 14:00 
AnswerRe: DeviceIoControl question Pin
K4HVDs27-Mar-12 17:56
K4HVDs27-Mar-12 17:56 
QuestionNeed debugger Pin
Mast Avalons28-Feb-12 5:06
Mast Avalons28-Feb-12 5:06 
AnswerRe: Need debugger Pin
Richard MacCutchan28-Feb-12 5:27
mveRichard MacCutchan28-Feb-12 5:27 
AnswerRe: Need debugger Pin
Randor 28-Feb-12 16:10
professional Randor 28-Feb-12 16:10 
AnswerRe: Need debugger Pin
SuperMegaCoder29-Feb-12 7:16
SuperMegaCoder29-Feb-12 7:16 
QuestionC program to replace all the letters of a string with all 26 alphabets..... Pin
varul27-Feb-12 5:56
varul27-Feb-12 5:56 
AnswerRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
Richard MacCutchan27-Feb-12 6:04
mveRichard MacCutchan27-Feb-12 6:04 
GeneralRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
varul27-Feb-12 6:40
varul27-Feb-12 6:40 
GeneralRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
Richard MacCutchan27-Feb-12 7:44
mveRichard MacCutchan27-Feb-12 7:44 
AnswerRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
David Crow27-Feb-12 6:30
David Crow27-Feb-12 6:30 
GeneralRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
varul27-Feb-12 6:45
varul27-Feb-12 6:45 
SuggestionRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
David Crow27-Feb-12 7:06
David Crow27-Feb-12 7:06 
GeneralRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
varul27-Feb-12 7:07
varul27-Feb-12 7:07 
And regarding that file generation part, im a able to use fprintf() and all to save the so generated strings to the new file. But the position where im stuck up is at the loops only to replace all the 26 alphabets at every character position. Here is where i use fprintf() function:

#include<stdio.h>
#include<conio.h>
main()
{
FILE *fr,*fw;
char ch;
fr = fopen("input.txt","r");
fw = fopen("output.txt","w");
fprintf(fw,"The sequence is:---> ");
while(1)
{
ch = getc(fr);
if(ch==EOF)
{
break;
}
else
putc(ch,fw);
}
fprintf(fw,"\aThe combinations generated are:\a");
fclose(fr);
fclose(fw);
getch();
}
AnswerRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
varul29-Feb-12 22:43
varul29-Feb-12 22:43 
GeneralRe: C program to replace all the letters of a string with all 26 alphabets..... Pin
varul29-Feb-12 22:48
varul29-Feb-12 22:48 
QuestionGet Notification of Wrong Password Attempt Pin
Member 857955627-Feb-12 3:45
Member 857955627-Feb-12 3:45 
AnswerRe: Get Notification of Wrong Password Attempt Pin
Richard MacCutchan27-Feb-12 4:20
mveRichard MacCutchan27-Feb-12 4:20 

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.