Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
for example, my text file 1 abc def xyz how can i code a program to count total of line ? thank you. |
|
sorry i'm new at c i want to read these data from txt file. A 7 c 5 y 6 U 9 j 4 Z 3 z 5 0 here is my code while(feof(input)==0){ char c; int num; fscanf(input,"%c%d",&c,&num); printf("%c:%d\n",c,num); } but result in console is not same as txt … |
|
sorry, i'm a newbie of java. for example, public static myObj createObj(String nameFormUser){ myClass nameFromUser = new myClass(); return nameFromUser; } can it possible ? |