Search:

Type: Posts; User: abu

Search: Search took 0.01 seconds.

  1. Thread: Data conversion

    by abu
    Replies
    5
    Views
    1,228

    Thanks for your helps. I found the answer!!!

    Thanks for your helps.
    I found the answer!!!
  2. Thread: Data conversion

    by abu
    Replies
    5
    Views
    1,228

    Data conversion

    In VC6++
    How can I convert a long int to a CString
    Example: convert i to string and concate
    long int i=12345;
    CString result="simple question"+i.ToString()
    string result is simple question...
  3. Replies
    2
    Views
    1,200

    Call an exe file under VC

    IN VC6.0

    I have a "program.exe" file execute under Console mode like this:
    C:\program parameter

    I want to use a button on a dialog window.When I put the button it will execute the...
  4. Replies
    8
    Views
    1,316

    insize is size of input buffer so I think it's a...

    insize is size of input buffer so I think it's a user defined const.


    size variable is the size of input file.
    Because this is a compress program so I allocate 'size' bytes for output buffer so...
  5. Replies
    8
    Views
    1,316

    insize is size of input buffer so I think it's a...

    insize is size of input buffer so I think it's a user defined const.


    size variable is the size of input file.
    Because this is a compress program so I allocate 'size' bytes for output buffer so...
  6. Replies
    8
    Views
    1,316

    Sorry if my question is not clear.I tried to use...

    Sorry if my question is not clear.I tried to use the library "lz.c" in my program.But it still doesn't work correctly.Anyone can help me?? :rolleyes:



    #include "bitmap.h"
    #include<stdio.h>...
  7. Replies
    8
    Views
    1,316

    So my question is how to get the 2 pointers ...

    So my question is how to get the 2 pointers
    unsigned char* in,out
    to point to the current address of the pointer of the FILE* f1,f2.
  8. Replies
    8
    Views
    1,316

    Problem using a compression library

    I load a bitmap and compress it bitmap data using LZ-77 algorithm.


    I want to store the current address of pointer of file stream f1,f2 in unsigned char *in,out;
    I tried ftell() , fseek()...
  9. Replies
    1
    Views
    2,801

    Loading Bitmap under VC++

    Under VC++6.0
    I have a homework to compress bitmap using LZ77
    I use an API function LoadBitmap() to load bitmap from file


    // Load the bitmap file
    HBITMAP hBitmap =...
  10. Replies
    4
    Views
    957

    You mean that b/c of I'm out of memory??I don't...

    You mean that b/c of I'm out of memory??I don't think so
    I want to load bitmap file into my program so the struct must have the length enough.
    so anyone can explain me
  11. Replies
    4
    Views
    957

    question about struct

    I think it very easy but it makes me confused


    struct Fileheader
    {
    unsigned short Type; // BM Identifier
    unsigned long Size; // total length in bytes
    unsigned short Reserved1; // image id...
Results 1 to 11 of 11