Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. I do not know how to google
Forum Updated to NodeBB v4.3 + New Features

I do not know how to google

Scheduled Pinned Locked Moved Solved C++ Gurus
13 Posts 4 Posters 4.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D deleted28

    Hello,
    I know it's not really a Qt question :)

    I want to find some more information about the following C-function declaration, but I do not know whats a keyword for search ?

    char *itoa(i)
    int i;
    {
    ...

    K Offline
    K Offline
    koahnig
    wrote on last edited by
    #2

    @wally123
    You are joking. Are you?
    http://lmgtfy.com/?q=c+itoa

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #3

      If you are not trolling us ;)
      I can tell you its old C style where param type is listed after the parameter and
      itoa is function to convert integer to a string.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deleted28
        wrote on last edited by
        #4

        "itoa" is not the question :) sorry
        char *ifunction_name(i)
        int i;
        {
        ...
        just the structure

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #5

          Its very old c style where the type of the parameters are NOT up with the name, but listed after.
          so nowadays we write
          char *ifunction_name(int i)
          {

          Its called k&r style and is from those who made c
          http://stackoverflow.com/questions/3092006/function-declaration-kr-vs-ansi
          https://en.wikipedia.org/wiki/C_(programming_language)#K.26R_C

          1 Reply Last reply
          2
          • D Offline
            D Offline
            deleted28
            wrote on last edited by deleted28
            #6

            "Its called k&r style and is from those who made c"
            and the links

            thank you very much

            ps. no idea how to mark this thread SOLVED

            mrjjM 1 Reply Last reply
            0
            • D deleted28

              "Its called k&r style and is from those who made c"
              and the links

              thank you very much

              ps. no idea how to mark this thread SOLVED

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #7

              @wally123
              hi on first post, to the right side / under post, is "Topic Tools", there is a mark as solved.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                deleted28
                wrote on last edited by
                #8

                @mrjj
                can not find "mark as solved"
                I just can choose "Delete Topic" and "Ask a question"
                (the new forum is not very convenient, at least I do not understand it)

                mrjjM 1 Reply Last reply
                0
                • D deleted28

                  @mrjj
                  can not find "mark as solved"
                  I just can choose "Delete Topic" and "Ask a question"
                  (the new forum is not very convenient, at least I do not understand it)

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  @wally123
                  Hi, its not the Gear icon.
                  First post, under the topic, to the right. Next to Reply.
                  There is "Topic Tools" button.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    deleted28
                    wrote on last edited by
                    #10

                    no, not for me:
                    I'm locked in and see in the pop-up of "Topic Tools" button under the topic, to the right. Next to Reply only:
                    "Delete Topic"
                    "Ask as question"
                    I would like to append a little screenshot of this area, but this is another challenge.

                    1 Reply Last reply
                    0
                    • mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Hi,
                      You have asked without it being question.
                      Could you try to press "Ask as question"
                      and then check if it now allows to "solved"

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        deleted28
                        wrote on last edited by
                        #12

                        Yes, seems to work now.
                        Anyway strange. Usually I add a "?" on the end of a sentence to mark it as a question. I do not get the sense of this (yet)
                        thank you!

                        mrjjM 1 Reply Last reply
                        0
                        • D deleted28

                          Yes, seems to work now.
                          Anyway strange. Usually I add a "?" on the end of a sentence to mark it as a question. I do not get the sense of this (yet)
                          thank you!

                          mrjjM Offline
                          mrjjM Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on last edited by
                          #13

                          @wally123
                          well after the update, the forum supports non question topics.
                          So for some reason it was posted as such,

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved