How to change current working directory in C++?
Hi, I want to know how can I change the working directory in C++? I have a system call that executes LaTeX to make a PostScript file. But everytime I call that method, LaTeX made its files (.aux, .log, .dvi, and .ps) in the same directory as the executable. I wanted to be able to call LaTeX from another directory so LaTeX will make its files inside that directory. So, how do I do that?
Thanks in advance.