this library helps you for using Local File System

Revision:
0:48f30ad8e377
Child:
1:2ca69b58dae7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lfs_useful.h	Fri Apr 17 06:50:49 2015 +0000
@@ -0,0 +1,16 @@
+#ifndef _LFS_USEFUR_H_20150417_1537_
+#define _LFS_USEFUR_H_20150417_1537_
+/**
+ * @file this library is to be easy to use Local File System
+*/
+
+/** read some member of csv format document in local file and write in arrangement
+ * @param f write FILE *(name) 's name
+ * @param ar arrangement which you want to get data
+ * @param num the number of elements you want to get
+*/
+void read_some(FILE *f,double *ar,int num){
+    for(int i=0; i<num; i++)fscanf(f,"%lf,",&ar[i]);
+}
+
+#endif
\ No newline at end of file