Search:

Type: Posts; User: Gr3g

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,168

    Again let not fight

    It doesnt matter what everyone said, lets just forget it... And in the future perhaps we can stick to the subject of c++.

    Gr3g
  2. Replies
    8
    Views
    6,817

    convert

    I know its ugly but....



    #include <iostream.h>
    /*
    i 1
    v 5
    x 10
    l 50
  3. Replies
    15
    Views
    3,168

    subject

    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,...
  4. Thread: Encryption Maniac

    by Gr3g
    Replies
    26
    Views
    1,750

    Have you read about quantum encription? It really...

    Have you read about quantum encription? It really is impossible to break.

    Gr3g
  5. Thread: Encryption Maniac

    by Gr3g
    Replies
    26
    Views
    1,750

    quantum encription

    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...
  6. Thread: Random # help

    by Gr3g
    Replies
    2
    Views
    718

    int blah=random number;

    int blah=random number;
  7. Replies
    4
    Views
    969

    file saves

    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...
  8. Replies
    8
    Views
    1,201

    oh ok i normally just use a for loop to fill my...

    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;
    }
  9. Thread: Encryption Maniac

    by Gr3g
    Replies
    26
    Views
    1,750

    most secure

    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...
  10. Replies
    8
    Views
    1,201

    ?

    What does the "{0}" do in

    int grid[4][4]={0};

    Thanks

    Gr3g
  11. Thread: String Array

    by Gr3g
    Replies
    5
    Views
    1,168

    :)

    :D Yes thank you, Im going to write my program now, when (hehe or if) i finish ill post the code...


    Gr3g
  12. Thread: String Array

    by Gr3g
    Replies
    5
    Views
    1,168

    String Array

    Hey,

    How do I make a string array like

    string blah[10];


    blah[0]="blibity blah";
    blah[1]="blibbering baww";
  13. Thread: File Compression

    by Gr3g
    Replies
    1
    Views
    1,033

    File Compression

    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...
  14. Replies
    2
    Views
    1,958

    this shoudnt happen

    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...
  15. how to do it whith char

    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...
  16. Replies
    10
    Views
    992

    dontremember

    i dont rememeber, there might be a backspace ascii, but i forgot... ask someone else ;)

    Greg
  17. Replies
    10
    Views
    992

    steps

    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...
  18. Replies
    10
    Views
    992

    string search

    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...
  19. Replies
    2
    Views
    854

    code?

    how 'bout showing us some code....
  20. Replies
    2
    Views
    2,108

    Formula string conversion

    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...
  21. Replies
    12
    Views
    1,214

    Why does it matter

    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
  22. Replies
    4
    Views
    945

    ASCII and Different Bases

    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...
  23. Thread: Variable Size

    by Gr3g
    Replies
    13
    Views
    1,258

    Variable Size

    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...
  24. Thread: Items....

    by Gr3g
    Replies
    14
    Views
    872

    functions are the way

    Basically you want to consturct functions. here is how to do it:



    #inlcude <iostream.h>

    void func1()
    {
    cout<<"alialty alah";
    }
  25. Thread: Text color

    by Gr3g
    Replies
    21
    Views
    11,144

    Setting color

    Above you say things like "LightGrey". Can I use either HEX or RGB to define the colors?

    thanks,

    Greg
Results 1 to 25 of 27
Page 1 of 2 1 2