generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: saving strings in C++

Previous Thread :: Next Thread 
L3GabeL4 is not online. L3GabeL4
Joined: 18 Feb 2012
Total Posts: 808
15 Mar 2012 08:15 PM
how do I save the string so when you open the program back up the string is still there?
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
15 Mar 2012 08:19 PM
you gotta save it to a file
Report Abuse
L3GabeL4 is not online. L3GabeL4
Joined: 18 Feb 2012
Total Posts: 808
15 Mar 2012 08:21 PM
hooowww! I want it to make the stuff go back onto the program but the C++ wont work right.
Report Abuse
L3GabeL4 is not online. L3GabeL4
Joined: 18 Feb 2012
Total Posts: 808
15 Mar 2012 08:54 PM
wait wait, I just realized C++ and CSharp are differenttt. sorry, how do I put C# stuff in to files?

"God created us, and he will end us" - eminem
Report Abuse
myrkos is not online. myrkos
Joined: 06 Sep 2010
Total Posts: 8072
15 Mar 2012 09:20 PM
idk
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
16 Mar 2012 04:38 PM
System.IO.File.WriteAllText("data.txt", "gobwey");

That's the C# implementation.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
16 Mar 2012 04:46 PM
eww shouldn't you use a stream?
Report Abuse
LocalChum is not online. LocalChum
Joined: 04 Mar 2011
Total Posts: 6906
16 Mar 2012 05:04 PM
Technically, he should be using the Windows Registry to save application settings/preferences.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image