Search:
Forum
UNIX/Linux Programming
system with variable
system with variable
Jan 19, 2022 at 5:45am UTC
impetus
(70)
Hello!
Need to take variable char or string data and make system call as per above.
Please advise
const char key = "echo -n '3. Current Directory is '; pwd";
system(key);
Jan 19, 2022 at 6:05am UTC
lastchance
(6980)
Don't double-post. Use your thread in the Beginners' Section.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs