Search:

Type: Posts; User: Ducol

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Condition of the for loop with defined arraylength(*array)

    Hi!

    EDIT: this was an irrelevant post - the array size is specified in the program I am referring to, so no magic. I can't delete the post, so I am sorry if you have lost your time reading it.
    ...
  2. Replies
    6
    Views
    1,876

    Thank you for your answer. I am a bit confused...

    Thank you for your answer. I am a bit confused though.

    Do I understand correctly that if *buffer_from_main is a pointer to a character, then in fact *buffer_from_main is some_buffer, which points...
  3. Replies
    6
    Views
    1,876

    Pointer to pointer as a function's parameter

    Hi!
    I will be grateful for your help on how a pointer to a pointer works as a parameter to a function. This pointer to a pointer topic gives me a truly hard time.

    For example, there are such...
  4. Replies
    2
    Views
    805

    chmod command requires separate entries

    Hi!

    I have just learned about chmod command to restrict or grand permissions. I have tried to use it on a few files, and it won't work if I type in permissions for all 3 groups, but it does change...
  5. Replies
    1
    Views
    934

    Truly silly question on one's complement

    Hi!

    Well, I understand how silly it is to ask for help on this

    simple issue, but it seems I have again lost track of how

    the one's complement works for converting unsigned numbers

    to...
  6. Replies
    5
    Views
    2,872

    mpeg or avi

    mpeg or avi
  7. Replies
    2
    Views
    1,383

    I have solved the issue, this thread is not...

    I have solved the issue, this thread is not relevant anymore, but I can't delete it to save people's time from looking at it. Is there way to delete threads?
  8. Replies
    2
    Views
    1,383

    Installing valgrind to check memory leaks

    Hi!

    I am doing some exercises, learning C, and have to use Valgrind, so

    I am a newbie.

    I am trying to install Valgrind on Mac OS X 10.7.5. I have googled

    and have found a few sourses,...
  9. Replies
    5
    Views
    33,531

    Thank you for your answer. I was quoting the code...

    Thank you for your answer. I was quoting the code I have seen and the one I have to understand,

    that is why I have asked. Do I assume correctly that if str1 = str2, then if(!strcmp(str1, str2)...
  10. Replies
    5
    Views
    33,531

    if(!strcmp(str1, str2)

    Hi!

    It looks a bit tricky to me, so please let me know if I understand

    this piece of code correctly:

    if(!strcmp(str1,str2);

    strcmp returns 0 if str1 = str2
    strcmp returns 1 if str1 > str2
  11. Replies
    5
    Views
    2,872

    Removing additional language sound tracks

    Hi!

    I have a movie, and I have trimmed a small clip out of it with

    QuickTime Player. But the file contains two language tracks,

    and I need only one of them. Please, help to find a way to...
  12. Thread: Movies

    by Ducol
    Replies
    3
    Views
    1,033

    Movies

    Hi!

    Could you please list your favorite or worth watching movies

    that describe, reflect, predict the development of augmented

    reality, virtual reality, innovation screens, gaming, etc. I...
  13. Replies
    0
    Views
    502

    virtual reality, 360

    Hi!

    Could you please advise truly meaningful materials to study the

    development (different aspects of, complications) virtual reality, augmented

    reality, 360.

    Thank you very much!
  14. Replies
    0
    Views
    316

    Industrial internet and blockchains

    Hi!

    I am currently self-learning CS, and learning (catching up) on

    modern developments. Although google gives some articles, I

    would be grateful for you help to find truly meaningful...
  15. Negative one in one's compliment and simple negative one

    Hello!

    I am relatively new to programming.

    I have studied that, for example if I have 8 bits, one equals

    0000 0001, and negative one 1000 0001. Hence, zero is

    0000 0000 and with one in...
  16. Thank you ) Yes, this syntax works always. I just...

    Thank you ) Yes, this syntax works always. I just though that the one might also work, although I have seen

    it only within scanf function. Thank you for your help! )
  17. Is return array[0] == 0xh[9-f] legitimate in C?

    Hi!

    Please, let me know if instead of creating a huge if condition I can

    use something like



    return array[0] == 0xh[9-f];
  18. Making sure I understand plus clarification

    Thank you so much! Sorry that I didn't come back to you earlier.

    I had to take a little time. I am still a bit confused. I think you

    have some typos in your first sentences.

    Just to make...
  19. Replies
    5
    Views
    8,480

    [QUOTE=Hodor;1249036]I'm not sure I understand....

    Sorry for not appending a picture.
    Please, take a look at two pieces of code and respective pictures: whatever I do within else statement, it changes the whole

    picture, which becomes filled with...
  20. Replies
    5
    Views
    8,480

    Yes, I did exactly that many many times, none...

    Yes, I did exactly that many many times, none worked; this code changes (i.e. those drawing the person, and not the background) the whole picture and covers it with a mixture of white and new color ...
  21. Replies
    5
    Views
    8,480

    Issue with code to change color of BMP pixels

    Hi!

    I am doing an online course, so the code I will post is written by the

    course staff with a small part added by me (I will highlight it).

    The original image contained lots of red pixels...
  22. Replies
    2
    Views
    2,354

    Thank you very much for your explanation. Yes, I...

    Thank you very much for your explanation. Yes, I just used some arbitrary values for the last example, and it does represent
    a 24-bit bmp.
    I understand now that the map is represented not by...
  23. Replies
    2
    Views
    2,354

    Reading bitmap indexes

    Hello!

    I would be grateful for the help on reading the image and color pallette
    indexes. I am trying to learn bitmaps, and being new to all this have
    trouble understanding certain issues.
    ...
  24. BMP size on disk in kB - bytes multiplied by 995.30 not 1024

    Hi!

    I have a BMP image stored on my disk. It is 640 pixels x 480 pixels.
    Using usual equation for bitmap files, I have arrived at 921,654 bytes:
    54 + 640x480x3 = 921,654

    To get kB I would...
  25. Thank you very much! Yes, I see my mistake )

    Thank you very much! Yes, I see my mistake )
Results 1 to 25 of 54
Page 1 of 3 1 2 3