User forums > Using Code::Blocks

Why does code::blocks want image under user directory?

<< < (2/2)

Jenna:

--- Quote from: milleja46 on September 21, 2012, 04:15:31 pm ---That doesn't seem to be true with the image since it seemed to expect it under my user directory instead...might it be a bug?

--- End quote ---
If it's the sample project, it expects the image in the directory you are in when starting the project.

milleja46:
That makes no sense....

oBFusCATed:
You'll have to debug it to understand what is the real problem.

One way to do it is to use the call getcwd(...) and then to print the working path of the executable.

Navigation

[0] Message Index

[*] Previous page

Go to full version