Search:

Type: Posts; User: cioannou

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,046

    --SOLVED-- a temp var actually solved it: ...

    --SOLVED--

    a temp var actually solved it:



    unsigned char uprev,ucurrent;

    uprev = buffer[j -1];
    ucurrent = buffer[j];
  2. Replies
    1
    Views
    1,046

    Problem with array of bytes

    Hello,

    I have a strange behavior with an array of bytes which is loaded from a file.



    char* buffer;

    ifstream file ("data.bin", ios::in|ios::binary|ios::ate);
    size =...
  3. I would like to know that too, a customer asked...

    I would like to know that too, a customer asked for a small program and I would like to lock my program so that he can only use it in the specific machine
  4. My suggestion Name your variables something...

    My suggestion

    Name your variables something useful like: iamount,years,interest,balance

    This is going to help you find errors in your code
  5. I guess that is what you are looking for: ...

    I guess that is what you are looking for:



    int main()
    {

    int i,y,x;
    char ch;
    float r,ans,n;
  6. why do you mess with "ans" inside the loop? ...

    why do you mess with "ans" inside the loop?




    ans=i+(i*r/100)
Results 1 to 6 of 6