Search:

Type: Posts; User: Click_here

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    239

    Functions in C - Cprogramming.com...

    Functions in C - Cprogramming.com

    Enjoy :)
  2. Have a look at the "GetConsoleInput" function...

    Have a look at the "GetConsoleInput" function here - Example C Program: Deriving a Session Key from a Password - Win32 apps | Microsoft Docs
  3. Thread: Function

    by Click_here
    Replies
    3
    Views
    252

    This is what I got when I tried to build it... ...

    This is what I got when I tried to build it...


    ||=== Build: Debug in AlgorithmTest (compiler: GNU GCC Compiler) ===|
    D:\Programming\AlgorithmTest\main.c||In function 'main':|...
  4. Replies
    7
    Views
    419

    *Like*

    *Like*
  5. Replies
    12
    Views
    403

    If it's my meme collection you are after, you can...

    If it's my meme collection you are after, you can go away :P
  6. Replies
    8
    Views
    312

    lmao!

    lmao!
  7. Replies
    12
    Views
    403

    Good point - I didn't think of that My OS does...

    Good point - I didn't think of that

    My OS does not clear the memory before allocating it, so here is the output from when I ran it (in case you are in the same boat as Salem)


    malloc: 0x41...
  8. Replies
    12
    Views
    403

    Learn by doing :) int main(void) { ...

    Learn by doing :)




    int main(void)
    {
    int i, setSize = 10;
    char *apple;
  9. Replies
    8
    Views
    312

    Instead of studying the exact implications of...

    Instead of studying the exact implications of doing something incorrectly, my advice would be to focus your energy into ways to avoid doing it in the first place.

    Assigning a literal too large to...
  10. Replies
    7
    Views
    419

    Yes. This is a basic bit test. // A few...

    Yes.

    This is a basic bit test.


    // A few simple bit tasks for u-controllers...

    // Test bit
    (1<<bit) & x
  11. Have a look at #include You can...

    Have a look at

    #include <errno.h>

    You can also use a custom typedef to handle error - I like this because it allows me to slowly "throw" the error back to a function that could do something...
  12. There is an example of fgets here - Why it's bad...

    There is an example of fgets here - Why it's bad to use feof() to control a loop - Cprogramming.com
  13. It means that when your user opens your program...

    It means that when your user opens your program the memory is not allocated yet.


    Another way of looking at it is a work project and getting funding for it (where the money represents memory in...
  14. Replies
    3
    Views
    246

    char *filename = malloc(sizeof(name)); How...

    char *filename = malloc(sizeof(name));


    How big do you thing sizeof(name) is going to be? Remember that "name" is not an array in that function, it is a pointer to a char.

    Try running this...
  15. What makes you think that? No one has asked...

    What makes you think that?


    No one has asked this, but what are you intending to program? What environment are you targetting? Did you have a design pattern in mind?
  16. Have you seen "Patterns in C" by Adam Petersen? ...

    Have you seen "Patterns in C" by Adam Petersen?

    And no, I've never had the desire to use C++.

    I have 2 things that I code:
    1) Small 8-bit microcontrollers that have no OS (bare metal...
  17. I'd suggest that you do it by hand a few times :)...

    I'd suggest that you do it by hand a few times :)

    How you you pay for something worth $1.30...
  18. Replies
    4
    Views
    393

    To get you started...

    To get you started...

    &lt;&lt; !! Posting Code? Read this First !! &gt;&gt;

    Some other tags are "quote" "url" and are used like this...

    ...
  19. Replies
    6
    Views
    740

    Then this isn't going to go well... :) ...

    Then this isn't going to go well... :)


    unsigned char texture1 = 2700000;
  20. Replies
    6
    Views
    740

    I think that you've accidently posted c++ on the...

    I think that you've accidently posted c++ on the C forum

    What is the maximum number that your system can store in an unsigned char?
  21. Replies
    14
    Views
    1,076

    Just to extend on what flp said - You need to do...

    Just to extend on what flp said - You need to do a little research on what algorithm that you wish to use. This will be the case when you are doing future assigments, or coding for a company.
    ...
  22. Replies
    14
    Views
    1,076

    Please read the homework policy.

    Please read the homework policy.
  23. And also non-hosted environments :)

    And also non-hosted environments :)
  24. Don't forget that C isn't a program language...

    Don't forget that C isn't a program language designed to write programs on Windows - The language predates that.
  25. Replies
    11
    Views
    1,751

    I saw that and thought that it was possibly an...

    I saw that and thought that it was possibly an auto-capital after the full stop when typing here
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4