Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi everyone i need some help.
I'm doing a program in Visual Studio with C language.
And in this program i need do creat files with the name that user wants.Example:
printf("What name you want for the file?"); scanf("%s",&name_file);(user answer for example: EDA)
FILE *f;
f=fopen("R:\\name_file","w");I want to creat a file with the name that name_file contains, wich is EDA.
Can you help me?
Thanks for everything

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |