DSPRelated.com
Forums

programming doubt in 21065L

Started by naveen s April 30, 2007
Sir,
i am working with ADSP 21065L Processor, and i am using VDSP4++ for Programming, i am programming using C language
I want to know, is it possible to move all the content of a file(consider it as "1.dat") directly into any Array, just by using the file name.

To make it more clear, in ASM it is possilbe in this form

.segment\dm seg_dmda;
.var array1[5] = {1,2,3,4,5};
.var array2[125] = "1.dat"; //***like this****
.var array[10];
.endseg;

i want to know any instruction in 'c' equvalent to the instruction used
in case of array2[125] for moving the content of file 1.dat.

Thanking You
Naveen S

---------------------------------
Check out what you're missing if you're not on Yahoo! Messenger