Computer Science Canada
|Author:||Crazygirl [ Fri Nov 15, 2002 2:35 am ]|
|Post subject:||plz help|
plz help me again
im in trouble with these program:-
program no 1
Ask the user for a series of firstnames,lastnames,and marks(x,x,or negative mark to exit ; max 30 records).write these to files1.dat
open files 1.dat to see how the data appears in the file.
thank you very much
|Author:||Tony [ Fri Nov 15, 2002 3:09 am ]|
well it should be something along those lines:
This should give you the basic idea of the program structure... just run some loops with counters and store info in the arrays...
There's a tutorial about printing to file [url = http://danco.no-ip.com/turing/viewtopic.php?t=5]here[/url], you just print the array you saved in the program
|Author:||Crazygirl [ Tue Nov 19, 2002 12:16 am ]|
|Post subject:||thnx alot|
i dunt knw how much to thnx you; for the code . it was very very helpful..... With yur help i finished my assgnment on time.
|Author:||Tony [ Tue Nov 19, 2002 1:07 am ]|
hey, no problem... I know that some teachers don't teach very well... especially when it comes to computers
LOL, funny thought... just remembered how my teacher is teaching us C++... few days ago we got a handout with like 10-15 of random short programs with those words of advice "read over those programs and hopefully you gonna learn something from it"
Oh crap... I hate C++... Damn it, who made it a standart?! It sucks... better then turing though
Grr... and CCC will be written in C++ I wanna learn VB.net 8)