Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


I was a junior high school teacher, limited capacity, there is now a question to ask you!

How the data read from his document structure?

To document the results of the students table, every issue : the study of English language mathematical physics

We ask them to read a language structure of the Chinese.

[size=18][/size]

I was a junior high school teacher, limited capacity, there is now a question to ask you!

If the box is separated from the first fgets to a string, strtok Call to carve out a series of subsystems that can be written on the structure.

I was a junior high school teacher, limited capacity, there is now a question to ask you!

I think, as you do the application
Best use Perl to complete.
Sure that there are many other after you read them, right?
Perl comes with a lot.
But your work is teaching, not software development, how to facilitate how.

I was a junior high school teacher, limited capacity, there is now a question to ask you!

[code]

21 struct record --
22 char num[20];
23 Float chinese;
24 Float math;
25 Float english;
26 Float physical;
     27 };
     28
29 int
30 main (int argc, char **argv)
     31 {
32 int i = 0
33 FILE *fp;
34 struct record rectab[100];
     35
     36
37 fp = fopen (argv[1], "r");
38 while (fscanf (fp, "%s %f %f %f %f" rectab[i].num.
39 &rectab[i].chinese, &rectab[i].math.
40 &rectab[i].english, &rectab[i].physical)> EOF)
41 i++;
42 }[/code]
Make reference to this, you need to change

I was a junior high school teacher, limited capacity, there is now a question to ask you!

Use awk bars. . . Handy.

I was a junior high school teacher, limited capacity, there is now a question to ask you!

I think, as you do the application
Best use Perl to complete.
Sure that there are many other after you read them, right?
Perl comes with a lot.
But your work is teaching, not software development, how to facilitate how.
--------------------------------------------------------

Say is quite! But I have never used Perl.

I was a junior high school teacher, limited capacity, there is now a question to ask you!

Lisp
Stars Wang



I would like to thank the

I was a junior high school teacher, limited capacity, there is now a question to ask you!

Junior high school teachers, students and management of data c you learn? C with management?

I was a junior high school teacher, limited capacity, there is now a question to ask you!

Student data management

I was a junior high school teacher, limited capacity, there is now a question to ask you!



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com