I am a university student in an intro to computing class. I have a project I am working on that asks a user for a number and a file name and then searches the file for a word and the number of times the users number appears in the file. I am including the project details and my code thus far. I have tried all sorts of while loops and I continue to receive no word output and the number count will not work either (I removed the number counter so as to just work on the word issue compiler errors/etc. and then move on to the number within my current code).
I have tried several times and I can't seem to upload the files on wikisend. Is there something you know of that would cause this issue? I turned off my anti-virus, thinking that might be the cause. I made the files smaller so they were below the 100Mbytes. Is it possible for me to post the information here? Thank you, Tobi
Thank you for assisting with the file upload problem. Here is the link to my project requirements and my codes, thus far.
You do the same. Thank you!
RRJha: Just one question about my last project. My file, p4in.dat contains the number 20, 2 times. My code returns a count of 3 times. Is there a way to fix this problem or do I need to submit a new question?