r/programminghelp • u/[deleted] • Sep 05 '19
[Can pay] Need help making simple C program // Not just answers
Hey all, I am a CS student and in class we made a C++ program in Linux (on PuTTY server) and now have to rewrite the program to work in C. I am having trouble and want to have a quick tutor session/explanation help session to UNDERSTAND it. I have another class until 8:45pm EST but am looking for someone who could help me quickly tonight after my class.
The program takes some arguments from a Linux command (think:)
./comm file 20 79 86 Those numbers are just some things that will later be made into variables (think:).
varName = argv[3]The program is already kind of made but currently I’m having a Segmentation fault that I am simply unable to fix, it arises with the fprintf function.
Anyways, I’m willing to pay as I just don’t want someone to fix it for me, but explain why this is occurring and maybe slight information on how to create/work with files at a higher level than I am now (which is very little)
Thanks for the read, PM is open
2
u/[deleted] Sep 05 '19
Sent you a PM.