Search:

Type: Posts; User: ghoul

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    154

    That is correct. With a continue statement...

    That is correct.

    With a continue statement you instruct the program to skip any of the code that would have been executed during the current run of the most adjacent loops.

    Basically, it...
  2. Replies
    8
    Views
    154

    Lazy low hanging fruit. Counting from 1 to 10...

    Lazy low hanging fruit.

    Counting from 1 to 10 could turn into a problem for a programmer?
  3. Replies
    5
    Views
    209

    Shouldn't the code you are trying to trying to...

    Shouldn't the code you are trying to trying to understand and make sense of be in the function below?




    /* Start the scheduler to start the tasks executing. */
    vTaskStartScheduler();
  4. Thread: Indent command

    by ghoul
    Replies
    15
    Views
    304

    It looks a bit like what Microsoft Visual Studio...

    It looks a bit like what Microsoft Visual Studio editor produces by default. Definitely okay if you ask me.

    The question was also not immediately clear to me. The 'indent' command was unknown to...
  5. Thread: Indent command

    by ghoul
    Replies
    15
    Views
    304

    Is it possible that this portion of the code...

    Is it possible that this portion of the code actually executes?




    {
    fprintf(stderr, "Unknown name. Can't decide what to do.\n");
    result = EXIT_FAILURE;
    }
  6. Replies
    2
    Views
    1,169

    Uploading the repos to Github might get me the...

    Uploading the repos to Github might get me the matching lines ...
  7. Also, if you format your code right, it is,...

    Also, if you format your code right, it is, beautiful, easy to read, and appealing the eyes.
  8. Replies
    2
    Views
    1,169

    Variable going out of scope

    While trying to generate some data from some log files it seems like the variable 'count', as can be seen the code below never prints anything. There some few other problems mostly with variables....
  9. My love for Qt grows every day...

    My love for Qt grows every day...
  10. ret = strstr(((*(read_file_array +...

    ret = strstr(((*(read_file_array + (index))).Nome), input);



    Should not the above follow the same syntax as the below?




    scanf("%s", (*(file_array + index)).Matricola);
  11. Replies
    9
    Views
    847

    Well, at this point, here is probably all you...

    Well, at this point, here is probably all you need to know about global variables - do not use.
  12. Replies
    18
    Views
    1,260

    Agreed, for social human beings, this could...

    Agreed, for social human beings, this could indeed help with the progress. It was not sarcastic at all.
  13. Replies
    18
    Views
    1,260

    Create a thread, spam it till the end of time.......

    Create a thread, spam it till the end of time....

    hello awsdert
  14. Replies
    0
    Views
    1,145

    Statistically large analyzing repositories

    Hello folks,

    Considering a hypothetical situation whereby one has to statistically analyze a large mercurial or git repository. By large it is 10, 20, 30 or whatever years worth of commits. People...
  15. Replies
    4
    Views
    560

    Gets me thinking of this. #include...

    Gets me thinking of this.



    #include <stdio.h>

    int main(int argc, const char **argv)

    {
    printf(" %s\n", argv[0]);
  16. Replies
    5
    Views
    1,084

    Either that... Or, maybe you just need to...

    Either that...

    Or, maybe you just need to re-phrase your question to include some code that you came up with and/or "apologize" for the use of 'ASAP'. Forums are not as hard to use...

    If at...
  17. Replies
    1
    Views
    794

    You will probably need a parser. But, for a...

    You will probably need a parser.

    But, for a simple, little calculator, a simple C 'case' switch should probably be good enough to get started with.
  18. No, but, yes, it is more or less like homework to...

    No, but, yes, it is more or less like homework to prepare for an interview.



    So we have a new std::forward_list on top of the good old std::list. std::list was the best they had during my hey...
  19. Thanks. fixed those but there still is the...

    Thanks. fixed those but there still is the segfault. It looks like my lack of knowledge about the rest of the existing code might be what is getting in my way.
  20. Inserting a node at the tail of singly linked list

    Hello,

    Below is my half-witted attempt at inserting a node at the tail of a singly linked list. Assumptions are that the list is not sorted. This should probably be simple and easy to do but my...
  21. Interesting and good to know. My simple,...

    Interesting and good to know.

    My simple, probably newbie-ish and uncreative algorithm would be:



    Create new one dimensional array with the capacity equals to the capacity of the old array. ...
  22. Replies
    1
    Views
    879

    Hello, how does this work

    Hello,

    My name is David. My programming experience spams probably over the last 8 or more years. The language in which my experience is most is C/C++ followed closely by Python, Perl, Javascript,...
  23. That. And It sounds like you already have...

    That. And

    It sounds like you already have code, posting it alongside your question would have been great
  24. You will usually find me reading *a lot* of C...

    You will usually find me reading *a lot* of C code. And, a bit of C++ code but barely ever writing any.



    With the advent of rust and not having a lot of experience with either C/C++, only being...
  25. Replies
    0
    Views
    1,606

    Setting up a mail server on Amazon AWS

    hello all,

    From my research it looks like setting up a mail server should be a fairly simple process except that this does not look like the case with Amazon AWS.

    In fact, from my...
Results 1 to 25 of 31
Page 1 of 2 1 2