Hi, this might sound stupid as it is "C"programming.com but any chance of putting up a Java programming section in the forum? Even maybe for a trial month or something because Java is used tons and...
Type: Posts; User: Hugo716
Hi, this might sound stupid as it is "C"programming.com but any chance of putting up a Java programming section in the forum? Even maybe for a trial month or something because Java is used tons and...
it just asks for your name. you type it and hit enter and it exits. doesnt show result and pause.
any ideas?
Well, cin.get dont work on this. how come?
#include <iostream>
#include <string>
int main()
{
Oh yeh i didnt realize. haha.
std::cin.get();
cheers ;)
Yes i am. I am at the end of the first chapter. now pray tell me where in that it explains this to me?
chm? what are you even on about?
pdf?
Hmm, i get a compile error when i use cin.get()
// Exercise One
#include <iostream>
int main()
{
Mario, if you aint going to help, dont reply to my posts please.
All i done was ask for a bit of help.
Thanks alot sly, i didnt know about escape characters.
Does iostream contain cin.get() ?...
Hi, an exercise in this book im reading says, make a program that prints
This (") is a quote, and this (\) is a backslash.
Now, they done this on purpose because when you write " it ends the...
Tic Tac To , Blackjack, Guess the number, cat and dog converters, calculators, they are what i started with.
ok thanks alot, ill check the links out. thanks guys, appreciate the help.
Hugo.
very funny
Oh i get what you mean.
So its best to put all functions in a header file, then make a CPP with all the definitions, then include them in the main CPP?
is this correct, sorry guys, functions...
Hmmm, you mean, once the function is used once, the definition is gone? so the function wont work again?
its just easier to read if u put it all in one header file. but then again, adding the...
Since you can write a Function prototype in a seperate header file to include in the main program, can you write that functions definiton straight after the function prototype in the header file?
...
Hi, ok since there is so many different links to so many different versions of everything, I am making this post to sort out whats the best software ok.
What version of Visual C++ is the best one...
ok thanks for all the replies. yeh im not going to try and make it yet, im still learning.
the C++ Acelerated beginner book is a bit complicated or is it just me?
like it says
cout << + name...
To code a game engine is it just like coding normal apps?
if not, is there anyone who has an example of an engine code that i can check out plz?
im currently just planning the game out, and how...
I see il have to try it on my own lol.
Do ALL Games like a card game have to have a game engine?
i spoke to the owner of a previous huge selling trading card game, and he said it required so...
thanks for them. but they are all for RPG or 3 D games.
i just want a 2D online CCG engine.
CCG = Collectable card game
like.. www.chronx.com. something to make games like that
please help...
Hi, if i was to create a Online Trading Card Game, where people can win new cards, and use them to fight each other. Whats the best game engine to use for it? is there any free engines for this?
i might be wrong and might not be anything to do with it but...
u set Enterscore ( FLOAT ) not int
then at bottom u set Enterscore ( INT Testscore )
it prolly dont matter but i am not sure...
lol ok thank alot. hehe. ill check that page u said.
i know u use arrays to get a part of a string, but i thought it was an array lmao, bet i looked really stupid. sorry.
cheers, hugo.
oh ok thanks alot mate.
i get it, i was a bit confused with it.
thanks. hugo.
I'm a little confused.
in this program ive writted from a book it says
it sets a variable Value and says, if number > 20, set Value = 1 else Value = 0 right. if its 1, display an error message...