User forums > Using Code::Blocks

Where to put the txt files that needs to be open and read in C?

(1/1)

hankremix:
for example

FILE *fpr
 fpr = fopen(file_name.txt, "rt");

what directory do i put file_name.txt?

Jenna:
Unrelated to Code::Blocks and theregore violating our forum rules.

Please respect the rules you have accepted to follow when registering here.
Thanks !

Topic locked !

Navigation

[0] Message Index

Go to full version