Search:

Type: Posts; User: hkl01

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,396

    the code reverse all strings , i can't...

    the code reverse all strings , i can't understand how the recursive memory assignment with malloc(1) creates consecutive memory locations in the same variable
  2. Replies
    6
    Views
    1,396

    recursive function question

    Hi,

    I was trying to see why does this code works , i found it at another website. It is a function to reverse a string




    char* reverse_str(char* s)
    {
    char* reverse = malloc(1);
  3. Thread: ToolBar

    by hkl01
    Replies
    1
    Views
    1,189

    ToolBar

    Hi maybe this question is more related to microsoft .net , when i Add a ToolBar to a Form does it occupies drawing space ? . Im using DrawRectangle and Drawstring starting at position 0 , and the...
  4. Thread: event handler

    by hkl01
    Replies
    1
    Views
    1,702

    event handler

    Hello im having a problem with the following , i want the Apply button in the dialog box from the File->open , to display the input from the textbox in a messagebox without closing the dialog box.
    ...
  5. Replies
    9
    Views
    1,545

    your code is right pityocamptes is just that in...

    your code is right pityocamptes is just that in the temp[][] i use "-" instead of + because temp is [8][8]

    thanks again pityocamptes
  6. Replies
    9
    Views
    1,545

    pityocamptes and neoragexxx thanks a lot for...

    pityocamptes and neoragexxx thanks a lot for your help.

    i got the same code as pityocamptes.

    thanks
  7. Replies
    9
    Views
    1,545

    I think i found the solution can you check it...

    I think i found the solution can you check it please to be sure ... Thanks!



    for(int i=0; i<256; i+=8){
    for(int j=0; j<256; j+=8){

    for(int x=i; x<i+8; x++){
    cout<<endl;
    for(int...
  8. Replies
    9
    Views
    1,545

    Yes im reading only the first column 8x8 ... but...

    Yes im reading only the first column 8x8 ... but i cant think about how to read the other 31 8x8 matrix :( , thanks neoragexxx and pityocamptes
  9. Replies
    9
    Views
    1,545

    It seems to be correct for me , i may be wrong im...

    It seems to be correct for me , i may be wrong im a begineer but i test that code with the following



    int main(){
    int temp[8][8];

    for(int i=0; i<256; i+=8){

    for(int x=i; x<i+8; x++)
  10. Replies
    9
    Views
    1,545

    help reading array

    Hello , im trying to read an array[256][256] in 8x8 blocks , i need to break the array into a 8x8 matrix and send it to a funcion. This is how i was trying to do it , but it seems that only one...
  11. Thread: reading images

    by hkl01
    Replies
    2
    Views
    1,378

    reading images

    hi , how can i create an image header ? what are the formats? using unsigned ...

    please help


    Thank you.
Results 1 to 11 of 11