Excellent, I'm going to try this out. Thank you both very much.
Type: Posts; User: MrMatt027
Excellent, I'm going to try this out. Thank you both very much.
Hello everyone,
I was just messing around in C++ and decided to make a random number generator to select lottery numbers. It looks like this:
#include <iostream>
#include <cstdlib>
#include...
Considering there aren't many "Tower Defense" games on Facebook, there's potential. But an online multiplayer game, even a simple one, is going to take a lot of coding. If you have a small team of...
Stay active in what you are trying to learn or achieve.
Read up on what you're doing and find different methods of solving those problems.
Set some short term personal goals and maybe a few...
Merry Christmas
I'd rather "eat lightning and crap thunder".
Xbox 360 Controller Support for PC (video game concept)
Here's a list of PC games that support the Xbox360 controller. I was thinking about buying one for the same reason not too long ago, but I...
Tyvm, you've cleared up some other questions I've been asking myself.
Oh I see, I think understand now. Thank you. I was over thinking this whole thing and probably getting ahead of myself in the process. The hexadecimals and the ability to "dynamically accolate...
Cprogramming.com - Programming Tutorials: C++ Made Easy and C Made Easy
Scroll down and look for "Graphics Programming", there's an SDL, OpenGL, 3D rotation, and C/C++ DOS Graphics tutorials. Hope...
#include <iostream>
using namespace std;
int main()
{
int x; // I understand this is an integer and it's named x.
int *p; // I understand this is a pointer to an...
Long story short, I tried programming a while back when I was 17 and it's been a learning process since.
It's one of those things that still interests me.
I'm also using CodeBlocks. It's great and...
These two questions aren't specific to just one person, they're just general questions I felt like asking to everyone. Just for the sake of some friendly conversation.
What made you want to...
else if (x == y)
cout << "X and Y are both equal" << endl;
Seems like it needs this lol.
Thanks nick753, I was also wondering about this same thing earlier.
Oh I see, my bad. Honestly, I couldn't figure out why j was ever in that until you said it was to set the flag.
Thank you grumpy.
Take away the ; in
if (a==1); and also in
else;
That's what I did in CodeBlocks and it's working fine. :)
Well, I might be wrong, but I think in this for loop it's stating that j < i and not asking.
So, it doesn't matter what i is, j will keep increasing.
You're right though, numerically 2 isn't less...
Nope, It's just my favorite number number on a top hat. I couldn't think of anything to use as my avatar, I'll change if it's inappropriate in any way.
Hello everyone, I just wanted to introduce myself to this forum of fine people. I'm currently going to College for computer programming. I'm not currently taking any programming classes yet, but I...
Hello digitalknight,
Welcome to the Discussion Board.
Happy Programming! :)
Try to locate your (Settings), then go to (Compiler and Debugger...), then find (Reset Defaults). I'm using CodeBlocks, but I figure it's the same with most compilers, you just need to keep looking.