thnks for the help, I executed it and it worked fine. But it doesn't show all the lines where the string was found... I tried to fix it but I just can't... please help...
sorry for the problems,...
Type: Posts; User: Atomsk
thnks for the help, I executed it and it worked fine. But it doesn't show all the lines where the string was found... I tried to fix it but I just can't... please help...
sorry for the problems,...
I have a little cuestion... what is the ASCII number for the enter??
I have the next code:
#include <fstream.h>
void main()
char a[10];
ifstream file("abc.txt");
int line=1;
Thnks for the last msg, I changed the code, it didn't crash but when i execute it, it doesn't print anything, please copy it and try to fix it, you need a file named entrada.txt, it should have some...
Please check this code and tell me what's the problem with it...
#include <iostream.h>
#include <stdlib.h>
#include <fstream.h>
#include <string.h>
struct nodo1{
char *nombre;
int contador;
Thanks a lot, but I've figured out why it didn't work... =P
I'm looking for someone that would like to test my code and fix it, because I've tried it a lot of times and it never works, if somebody can help me, please send me a mail to:...
Thnks a lot you've saved my life...