Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / iostream? can i use it?

Author
Message
haliop
User Banned
Posted: 14th Jan 2009 17:15
well , can i use the Cin or Cout?
if not , what is another good method to insert data into varibals in DARK GDK ?

i'm build an Ai info screen

and i want a good method to insert data , save it and continue to another new Ai . like Manager game if you like , so i need alot of data stored on files.. i'm pretty much a noob programmer
is there a way for good input? except using KeyState?

like this:
Name: <input>
School: <input>
Age : <input >

then i save that input and building a new Ai File on pc.

so is there a method , to include iostream , or is there another?

ty for your time
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Jan 2009 21:32
cin/cout, no - there's no standard input or output on a windows program, although using them might fire up a console (I've never checked). Try it and see.

However there's no reason why the iostream library in general shouldn't work for files, even if it doesn't for cin/cout.

SunDawg
19
Years of Service
User Offline
Joined: 21st Dec 2004
Location: Massachusetts
Posted: 14th Jan 2009 21:50


Then you could use iostream or the standard C file operations to save to a file.


My site, for various stuff that I make.

Login to post a reply

Server time is: 2024-09-30 15:27:39
Your offset time is: 2024-09-30 15:27:39