1. When we create a text file by C by program copying it from other file the how can we change the path (by default its saved in BIN folder)?
2. How do we run other applications using C language (suppose Windows Media Player or HTML)?
Thank You
1. When we create a text file by C by program copying it from other file the how can we change the path (by default its saved in BIN folder)?
2. How do we run other applications using C language (suppose Windows Media Player or HTML)?
Thank You
Not really sure how this is a "brain teaser in C".
1) provide the full path to the desired destination file
2) system() function, or CreateProcess() win32 api function. There are a few other ways too.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.