It doesnt matter what everyone said, lets just forget it... And in the future perhaps we can stick to the subject of c++.
Gr3g
Type: Posts; User: Gr3g
It doesnt matter what everyone said, lets just forget it... And in the future perhaps we can stick to the subject of c++.
Gr3g
I know its ugly but....
#include <iostream.h>
/*
i 1
v 5
x 10
l 50
Well, after getting totally off subject (perhaps you two can send private messages to eachother)...
Your code looked overly compex. why not just have a 3 1D arrays one to keep the single count,...
Have you read about quantum encription? It really is impossible to break.
Gr3g
Quantum encription is here today it is the best and it will always be unbreakable.
Greg
ps Did you know that Russian one time pads were broken by american code breakers because the russians...
int blah=random number;
If you save to a file scores or something like this:
bob 100
nancy 33
gozilla 66
Then its quite eazy to tamper with the save, you might consider doing some very simple encription...
oh ok i normally just use a for loop to fill my arrarys with regular data...
int blah[9][9];
for(int i=0;i<9;i++)
{
for(int x=0;x<9;x++)
blah[i][x]=0;
}
The most secure encription is quantum encription, not only is it impossible to break, but it is also impossible to intercept a message without the reciever and sender knowing. I would explain but I...
What does the "{0}" do in
int grid[4][4]={0};
Thanks
Gr3g
:D Yes thank you, Im going to write my program now, when (hehe or if) i finish ill post the code...
Gr3g
Hey,
How do I make a string array like
string blah[10];
blah[0]="blibity blah";
blah[1]="blibbering baww";
Hey,
I’m going to write a text compression program. I’ve attempted to make it relatively simple. Here is the algorithm I will use. Give me some feed back on if the algorithm is logical, and if you...
X | X | 3
--+---+---
4 | 5 | O
--+---+---
7 | 8 | 9
It's a tie!Would you like to play again(y/n)?
eazy mode person vs computer...
heres how to do it with a char variable... shouldnt be too hard to convert to a full fledged hang man
char word[20];
int rand;
for(int i=0; i<20; i++)
word[i]=' ';//fills array with...
i dont rememeber, there might be a backspace ascii, but i forgot... ask someone else ;)
Greg
1 open letter file
2 read the letter file until you find a <. read all the letters after the < into a string until you find a >.
3 open the file containing the values of the <something> search that...
Use the string search to look for < then store the posistion, then start from that posistion and search for >. this gives you the string of letters that is needed. copy the string found into a...
how 'bout showing us some code....
Hey,
Im writing a program in which i would like the user to be able to enter a formula then have the formula calculated. The only way i can think of doing this is to have the formula imputted...
All you guys have said its bad, but not why...
When I write a program with int main() it works the same as it does with void main(), but with void main I can skip the return statement...
Gr3g
Hey,
Someone said in another message that a text file is a string of 3 digit numbers representing the letters and symbols (I know when it gets to the hard drive though it's binary). If you...
How does a variable's amount of space used correlate to its ablity to hold data. For example do a Char and an Int use the same amount of memory, or does a Char use less because it only needs to store...
Basically you want to consturct functions. here is how to do it:
#inlcude <iostream.h>
void func1()
{
cout<<"alialty alah";
}
Above you say things like "LightGrey". Can I use either HEX or RGB to define the colors?
thanks,
Greg