Posts
 
Reputation
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
~735 People Reached
About Me

Someone has to do it!!

Favorite Forums
Favorite Tags
Member Avatar for artur.sinelnikovs

I'm not really getting the bigger picture with regards to linked lists. What needs to be done to link it? Also, there is an error with strncpy and for some reason on line 35 its not recognising struct trainset anymore and calls it a undefined variable. #include <stdio.h> #include <stdlib.h> …

Member Avatar for sanket044
0
140
Member Avatar for artur.sinelnikovs

Here is a sample exam. What other kinds of questions do you think I could prepare before walking in there since all resources are permitted? Write a single program which contains functions to do the following steps. Each of these steps involve reading the file above and displaying some of …

Member Avatar for deceptikon
0
257
Member Avatar for artur.sinelnikovs

The "r" function works well! #include <stdio.h> #include <string.h> #include <stdlib.h> int main(void){ FILE *file_r, *file_w; int c; char fileread[40]; char filewrite[40]; printf("Enter filename to be copied: "); gets(fileread, 40, stdin); fileread[strlen(fileread)-1] = '\0'; file_r = fopen(fileread, "r"); while(file_r == NULL) { printf("Invalid file, ealnter again!"); fgets(fileread, 40, stdin); fileread[strlen(fileread)-1] …

Member Avatar for deceptikon
0
180
Member Avatar for artur.sinelnikovs

This is a simple calcualtor program. What I don't understand is how I could modify it so that the calculation parameters could be intered from cmd. I don't understand how the argv and argc really work in this case. Do I need to replace all the ints with argv or …

Member Avatar for deceptikon
0
158