Okay, this is probably gonna sound dumb, but I need to know if it's possible to take a variable held using C++ and make it an environment variable in a Linux terminal. If it makes a difference, I'm using Ubuntu Linux with the Gnome shell.
333kyle333
0
Newbie Poster
Recommended Answers
Jump to PostSounds like file modification thing. Use stream classes in <iostream>
Just grab right file to edit. Note: Backup file before modifying so that you can prevent a disaster from happening!
Jump to PostI'm trying to create a simple GUI for a program that runs in the terminal and requires a lot of typing. What I do type in (being saved as a variable in C++) I need to enter into the program which, stated above, is running in the terminal. :(
I …
All 5 Replies
Stefano Mtangoo
455
Senior Poster
333kyle333
0
Newbie Poster
Stefano Mtangoo
455
Senior Poster
333kyle333
0
Newbie Poster
333kyle333
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.