DSPRelated.com
Forums

(help) file operatoins in VDSP++

Started by Sam October 5, 2005
hi all,

i have written program using simple file opening and closing it in
VDSP++, but file is not created in the respective project. i doubt i'm
missing some header file or something else please do tell me what is
it. for reference here i'm giving a small part of a program(very simple
one) using file io operations.

i'm working in BF533 session of VDSP++. if the src.c, is created
somewhere else please do tell me.

#include<stdio.h>
void main()
{
	FILE *fp;
	char c;
	fp=fopen("src.c","r");
	fclose(fp);
}

waiting for reply...
thank u all,

Sam

Did you search where it was created? Maybe it appears in a subfolder named 
Release or Debug

-- 
------------------------------
Jaime Andr&#4294967295;s Aranguren Cardona
jaac@sanjaac.com
SanJaaC Electronics
Soluciones en DSP
www.sanjaac.com

"Sam" <microdsp@gmail.com> escribi&#4294967295; en el mensaje 
news:1128484482.415286.92930@g47g2000cwa.googlegroups.com...
> hi all, > > i have written program using simple file opening and closing it in > VDSP++, but file is not created in the respective project. i doubt i'm > missing some header file or something else please do tell me what is > it. for reference here i'm giving a small part of a program(very simple > one) using file io operations. > > i'm working in BF533 session of VDSP++. if the src.c, is created > somewhere else please do tell me. > > #include<stdio.h> > void main() > { > FILE *fp; > char c; > fp=fopen("src.c","r"); > fclose(fp); > } > > waiting for reply... > thank u all, > > Sam >
no i got it cleared... the files can't be created in read (r) mode in
files... so if i have to create it i'll have to open it in read mode...
so i did it and it worked properly...

thanks...

sam