#Creating a calendar.

24 messages · Page 1 of 1 (latest)

autumn thornBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

fathom drift
#

probably because the input file cannot be opened 🤷

#

you need to cd into whatever directory contains program6_input.txt before you run your program

#

i.e. your "current working directory" must be the same one that contains your input file

#

because that's a relative path, and that relative path means "look in the current directory"

fathom drift
#

wait so is the question different now

fathom drift
#

I mean, I just explained probably why and probably how to fix

#

tried what

#

do you understand what cwd is?

#

I really don't understand what you mean by that

#

you always have a cwd, everything has a cwd

#

yes, do you understand what that is?

#

do you understand the difference between absolute paths, relative paths and fully qualified paths?

#

ok, no problem

#

how do you run your program?

#

your school likely offers something like this already, but it's usually optional, not for credit, outside of regular course lecture hours

#

most universities have this

#

but if yours doesn't or you can't find it, use that one

#

I doubt any of your programming courses will cover that

#

and you kind of need that info now

#

well, like, I'll give a 99% chance that your issue is what I already described and answered for you yesterday, related to cwd

autumn thornBOT
#

@mighty moss

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. You can use !solved to close a post and mark it as solved.

autumn thornBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.