I have read through a couple books, but I don't have much that I can program. I'm not to that stage where I can program Everything I think of(Basically I can't program much so far with such little...
Type: Posts; User: Syllable
I have read through a couple books, but I don't have much that I can program. I'm not to that stage where I can program Everything I think of(Basically I can't program much so far with such little...
I use Dev and it doesnt like using header files with '.h'. But is there any speed or memory differences between "using namespace std;" and writing it out the whole time.
I cleaned up some code up to make it easier for me to post it here, but I came up with a problem when I wanted to ask the user if he wanted to check Running Back number two's stats. I don't know what...
This may seem like I'm just asking for answers, but I tried a couple of times and don't understand what you mean by making a playerclass and putting them in. Do i rename "class RunningBack" to player...
Allright heres what I got so far:
#include <iostream>
using namespace std;
class RunningBack // Class RunningBack Defined
{
// Setting up "Rush"
I know its integer devision, but whats the full line of code to make it so 'rush' is devided by 20 and rounded down.
#include <iostream>
using namespace std;
class RunningBack // Class RunningBack Defined
{
// Setting up "Rush"
public:
int GetRush();
void SetRush(int rush);
I am trying to create a program to calculate the Fantasy performances of my players, but I am comming across some problems. Here is my Code so far.
#include <iostream>
using namespace std;
...
Say I give out a question, what is the code to accept a long or even one word answer.
Example:
the program asks the question "What is the capital of the US?" How can you accept the answer.
...
I'm having trouble figuring out whats the difference of using them prefix and postfix.
What times would I need to use both of those operations?
Yea thanks for the catch, i forget to return, but i should just start doing it and remembering it. Also anyone have any sites or tutorials on small games that are used in examples. Most books like my...
Whats the port? I put:
Description: Pheonix
Server: irc.phoenixradio.org
Port: 6667(I dont know what the real port is..)
Group: Blank
Password: Blank
wow thanks! so many replies.
thanks a bunch i got it :D
Edit: What I forgot to ask, is how I can make the number random instead of 5, and if anyone has any recommendations of game programing type tutorial sites or e-books to...
This isnt much of a first post, but im learning and wanted to put together something off the top of my head a "small game"
The problem is that it allways gives me the command like if i pick the...