Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
#include iostream #428123
08/18/13 14:09
08/18/13 14:09
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Hello,
Been gone for a while. I am retired now, I will have a lot of time to play with GS. Well until I die or lose my mind. So I going be around here a lot from now on.

Can I take iostream file from my c++ compiler and put it in
GS and use use all the input and the output code for C++? IF I can where would I put it in GS? I am making a small program for converting some stuff. I can't find any good way to input the numbers to convert them.

Thank you
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: #include iostream [Re: sadsack] #428135
08/18/13 18:35
08/18/13 18:35
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
You can use Ansi-C compatible code(with minor changes here and there).

If any stuff from C++ is used(i.e. classes) it won't compile.


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: #include iostream [Re: Rackscha] #428139
08/18/13 20:41
08/18/13 20:41
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Thank you rackscha,

Is there an nother way of in putting numbers from the key b.other than using the tab key for var?

I tryed to use iostream header file and I could not get it to work.
Thank you
renny

Last edited by sadsack; 08/18/13 20:43.

I have A7 Commercial .............. Now I just need to learn how to use it

Re: #include iostream [Re: sadsack] #428140
08/18/13 20:45
08/18/13 20:45
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
Could you clarify what do you want to do with numbers and keys?

Re: #include iostream [Re: Aku_Aku] #428141
08/18/13 20:56
08/18/13 20:56
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Just be able to type in a number to a var. I been using the tab key, I don't like
it. like using cout and cin in C++
thank you
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: #include iostream [Re: sadsack] #428156
08/19/13 09:51
08/19/13 09:51
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
Maybe the inkey statement will be useful for you.
inkey()

Anyway, this is more complicated way to read numbers. You will realise...

Re: #include iostream [Re: Aku_Aku] #428175
08/19/13 15:45
08/19/13 15:45
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
AKu_AKU, hey that maybe what I am looking for thanks
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: #include iostream [Re: sadsack] #428276
08/22/13 16:48
08/22/13 16:48
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
AKu_AKU, the inkey works fine, but I am still going to see if I can get iostream
to work. If I do I will put the code up here.
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: #include iostream [Re: sadsack] #428404
08/27/13 01:42
08/27/13 01:42
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
I'll save you the trouble, it won't work, no matter how hard you try.

If your project is better realized in C++, then for the love of god, use C++. Programming languages are tools, nothing else, and you should pick the tool that gets the job done.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: #include iostream [Re: WretchedSid] #428567
08/29/13 19:55
08/29/13 19:55
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
thank you


I have A7 Commercial .............. Now I just need to learn how to use it


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1