Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to solve this question???

How to solve this question???

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestionc++
7 Posts 6 Posters 0 Views 1 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.
  • S Offline
    S Offline
    sinbear
    wrote on last edited by
    #1

    111100001 1 1100000 111100010 00000000111 00000000111 00000000111 ok, now i change the - to 0, to try to explain this example more clear, this file will be print out in txt format, require the c++ to read from the txt file and also, it is the birnary format, and now can see that the void V is the whole among the group of 1, 1111 1 11 1111 the two exceptional 1 E is locate at: 00001 00000 00010 which consider at not inside the group of 1 and like this 111 111 111 will consider as a group of 1 and so S = (A-E)/(A+V) is this help to explain the problem? thanks sorry to have to post this question again?

    T P H D R 5 Replies Last reply
    0
    • S sinbear

      111100001 1 1100000 111100010 00000000111 00000000111 00000000111 ok, now i change the - to 0, to try to explain this example more clear, this file will be print out in txt format, require the c++ to read from the txt file and also, it is the birnary format, and now can see that the void V is the whole among the group of 1, 1111 1 11 1111 the two exceptional 1 E is locate at: 00001 00000 00010 which consider at not inside the group of 1 and like this 111 111 111 will consider as a group of 1 and so S = (A-E)/(A+V) is this help to explain the problem? thanks sorry to have to post this question again?

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      have you considered ask this in the Mathematic forum ?


      TOXCCT >>> GEII power

      [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

      1 Reply Last reply
      0
      • S sinbear

        111100001 1 1100000 111100010 00000000111 00000000111 00000000111 ok, now i change the - to 0, to try to explain this example more clear, this file will be print out in txt format, require the c++ to read from the txt file and also, it is the birnary format, and now can see that the void V is the whole among the group of 1, 1111 1 11 1111 the two exceptional 1 E is locate at: 00001 00000 00010 which consider at not inside the group of 1 and like this 111 111 111 will consider as a group of 1 and so S = (A-E)/(A+V) is this help to explain the problem? thanks sorry to have to post this question again?

        P Offline
        P Offline
        Programm3r
        wrote on last edited by
        #3

        I have no idea what I just read.... Sorry sinbear, I have no idea.. :confused::wtf::doh:

        The only programmers that are better than C programmers are those who code in 1's and 0's..... :) :) Programm3r

        1 Reply Last reply
        0
        • S sinbear

          111100001 1 1100000 111100010 00000000111 00000000111 00000000111 ok, now i change the - to 0, to try to explain this example more clear, this file will be print out in txt format, require the c++ to read from the txt file and also, it is the birnary format, and now can see that the void V is the whole among the group of 1, 1111 1 11 1111 the two exceptional 1 E is locate at: 00001 00000 00010 which consider at not inside the group of 1 and like this 111 111 111 will consider as a group of 1 and so S = (A-E)/(A+V) is this help to explain the problem? thanks sorry to have to post this question again?

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          I think you asked this question yesterday is it homework?

          _**


          **_

          WhiteSky


          1 Reply Last reply
          0
          • S sinbear

            111100001 1 1100000 111100010 00000000111 00000000111 00000000111 ok, now i change the - to 0, to try to explain this example more clear, this file will be print out in txt format, require the c++ to read from the txt file and also, it is the birnary format, and now can see that the void V is the whole among the group of 1, 1111 1 11 1111 the two exceptional 1 E is locate at: 00001 00000 00010 which consider at not inside the group of 1 and like this 111 111 111 will consider as a group of 1 and so S = (A-E)/(A+V) is this help to explain the problem? thanks sorry to have to post this question again?

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Are you able to solve this problem on paper? Remember that a computer can't do anything you didn't tell it to do. If a 'space' surrounded by 1s means something, that can easily be searched for. If a series of four (or five) 0s is special, that too can be searched for. Work this out on paper and the code will (almost) fall into place.

            sinbear wrote:

            ...this file will be print out in txt format...

            How is this important (to the problem)?

            sinbear wrote:

            ...it is the birnary format...

            Which means what exactly?

            sinbear wrote:

            the two exceptional 1 E is locate at:

            This is all but meaningless. Please clarify.

            sinbear wrote:

            ...the group of 1...

            What is a "group of 1?" Plenty of questions have been asked of you but I've yet to see you respond with any clarification. People are willing to help, but only if you can present them with a good understanding of what you want.


            "Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

            "Judge not by the eye but by the heart." - Native American Proverb

            1 Reply Last reply
            0
            • S sinbear

              111100001 1 1100000 111100010 00000000111 00000000111 00000000111 ok, now i change the - to 0, to try to explain this example more clear, this file will be print out in txt format, require the c++ to read from the txt file and also, it is the birnary format, and now can see that the void V is the whole among the group of 1, 1111 1 11 1111 the two exceptional 1 E is locate at: 00001 00000 00010 which consider at not inside the group of 1 and like this 111 111 111 will consider as a group of 1 and so S = (A-E)/(A+V) is this help to explain the problem? thanks sorry to have to post this question again?

              R Offline
              R Offline
              Rilhas
              wrote on last edited by
              #6

              Are you really trying to get some help on this? From the way you present the problem I would guess not... :-P Rilhas

              S 1 Reply Last reply
              0
              • R Rilhas

                Are you really trying to get some help on this? From the way you present the problem I would guess not... :-P Rilhas

                S Offline
                S Offline
                sinbear
                wrote on last edited by
                #7

                no, i really need a help on this problem, but just because quite hard to describe here, as it is a Genetic algorithm problem...,in the format i type, i try to make yours understand, but look like quite hard to do so, so no choice, i have to give up le..

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups