hello !! I have a doubt. how to develop a software in c++?? i know it should be done through program. but how can i develop it into a software which runs like the dos counter-part of eclipse or winap or media player or anyother software. i mean how can i make the program to remember the value the user assigned to its variables without erasing it everytime i close the exe file running the program?? hope u undertand my question..
arunkishorres 0 Newbie Poster
Recommended Answers
Jump to PostGiven that "how to develop software" is extremely broad, I'll answer the specific question you asked.
how can i make the program to remember the value the user assigned to its variables without erasing it everytime i close the exe file running the program??
Persistant data would be …
Jump to PostAs simple as this:
#include <iostream> // to print to console #include <fstream> // to read / write to a file #include <string> // to represent words (strings) int main() { std::ofstream output_file; output_file.open("test.txt"); // open a file for outputting to it. std::string data = "Hello World!"; …
All 7 Replies
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
pbj.codez commented: you said it in a fancier fashion then I ever could. nice +2
arunkishorres 0 Newbie Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
arunkishorres 0 Newbie Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
arunkishorres 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.