I made what you have said,
It WORKS :D :D :D
Thanks a Lot...
User Profile
Collapse
-
-
I/O File problem..
hi all,
I'm using Java input /out files
I'm reading from a txt file which holds intger
and I would like to sum them and put the result in a new txt file holds the output as an integer but it holds un-understandable thing such as ( )
this is the source code , it's compiled,
Code:package filetest2; import java.util.Scanner; import java.io.*; class fileTest2 {
-
using Struct-student assignment
I learned how to use struct when I try to write a program i face some misstakes which I cant correct
This is the program:
-------------------------------------------------------
[code=c]
#include<stdio. h>
#include<string .h>
main()
{int nu,i; /* nu is number of student */
struct record{ char id[8];
char name[35];
float gpa; }student;...Last edited by sicarie; Dec 30 '07, 01:11 AM. Reason: Code tags are [code=c] your code here, and [/code] at the end. Please use them.
No activity results to display
Show More
Leave a comment: