Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. C++ Questions and How to add code to post
Forum Updated to NodeBB v4.3 + New Features

C++ Questions and How to add code to post

Scheduled Pinned Locked Moved The Lounge
5 Posts 2 Posters 1.3k Views 2 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 Offline
    D Offline
    Dr_Firmware
    wrote on last edited by
    #1

    Hi Qt people,

    I am trying to break my C# habit and the MS chains.

    So what would be the most appropriate place (which Forum) to ask general questions about C++ as it relates to Qt examples?

    And what is the syntax used to add code to these forums?

    Cheers,

    Chris

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Dr_Firmware
      wrote on last edited by
      #2

      Well never mind on that 2nd question.

      I think I got it:

      '''
      struct MemoryRegion
      {
      unsigned char type;
      uint32_t address;
      uint32_t size;
      };
      '''

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi,

        • "General and Desktop" is the right place.
        • You need to use backticks: ```

        Cheers!

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

          Thanks for the feedback!

          struct MemoryRegion
              {
                  unsigned char type;
                  uint32_t address;
                  uint32_t size;
              };
          

          Got it!!!

          1 Reply Last reply
          1
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Cool! And welcome to the Qt forum! :-)

            1 Reply Last reply
            1

            • Login

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