3 registered members (AndrewAMD, Akow, 1 invisible),
1,417
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
#include iostream
#428123
08/18/13 14:09
08/18/13 14:09
|
Joined: Aug 2008
Posts: 408 mi usa
sadsack
OP
Senior Member
|
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
Serious User
|
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
OP
Senior Member
|
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: Aku_Aku]
#428141
08/18/13 20:56
08/18/13 20:56
|
Joined: Aug 2008
Posts: 408 mi usa
sadsack
OP
Senior Member
|
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
User
|
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
OP
Senior Member
|
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
OP
Senior Member
|
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
Expert
|
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
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|