nego, zna li neko kako da ispravim ovo da lepo radi
#include <stdio.h>
#include <fstream>
int fd;
char buff;
char letter;
char putanja;
char fileName;
int main()
{
printf (" \n Unesi ime fajla:");
scanf ("%s \n", fileName);
ifstream fin(fileName);
printf ("Evo ga ceo sadrzaj fajla: ");
char ch;
while (fin.get(ch))
cout << ch;
fin.close();
return 0;
}
>cd pub
>more beer