Search:

Type: Posts; User: metaljester

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    900

    Make user directory a variable?

    Im trying to make it so that the user can enter the directory of a file and that this file will be read, the problem is i can seem to get the program to use a variable as the directory, this is...
  2. i cracked it man :D thanks for your help! i...

    i cracked it man :D thanks for your help!

    i made the binary number = index of the array
    then incremented the array

    so if a binary 6 was read in

    i=6
    array[i]++
  3. would another way to possibly make the binary...

    would another way to possibly make the binary number equal to the index number of the array and add add one to each index??
  4. AAh i thought this was going to be the answer...

    AAh i thought this was going to be the answer :-(, think it will be possible to add a bit on at the end just to count the 255s?




    thanks never noticed that
  5. Hi thanks for the reply, ive tried doing this,...

    Hi thanks for the reply, ive tried doing this, but all this does is add another 0 to the array so that an extra 0 is counted, it still only goes up to 254
  6. Counting Numbers in Array, not counting last number!

    #include <iostream>
    #include <algorithm>
    #include <fstream>
    using namespace std;

    char signed_character;
    unsigned char byte;
    unsigned int numberofbytes;
    int i, num=0, number=0;
    int...
Results 1 to 6 of 6