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. Managed C++/CLI
  4. C++ Debug Error

C++ Debug Error

Scheduled Pinned Locked Moved Managed C++/CLI
c++helpdebugging
18 Posts 3 Posters 11 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.
  • U Offline
    U Offline
    User 12001697
    wrote on last edited by
    #1

    Hi Everyone I am trying to compile my assignment but I am having some problem with compiling I believe that something about line 24-27 This is the error message --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Debug Error! Program: ...2015\Projects\OCC\IC20_AdamsLotApp\Debug\IC20_AdamsLotApp.exe abort() has been called (Press Retry to debug the application) --------------------------- Abort Retry Ignore ---------------------------

    L J 2 Replies Last reply
    0
    • U User 12001697

      Hi Everyone I am trying to compile my assignment but I am having some problem with compiling I believe that something about line 24-27 This is the error message --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Debug Error! Program: ...2015\Projects\OCC\IC20_AdamsLotApp\Debug\IC20_AdamsLotApp.exe abort() has been called (Press Retry to debug the application) --------------------------- Abort Retry Ignore ---------------------------

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You need to use the debugger to gather more information, especially about the content of the variables that may cause the error. Also please mark the lines where the error occurs.

      U 1 Reply Last reply
      0
      • L Lost User

        You need to use the debugger to gather more information, especially about the content of the variables that may cause the error. Also please mark the lines where the error occurs.

        U Offline
        U Offline
        User 12001697
        wrote on last edited by
        #3

        Please check out the image below http://i.imgur.com/NeaItgZ.jpg

        L 1 Reply Last reply
        0
        • U User 12001697

          Please check out the image below http://i.imgur.com/NeaItgZ.jpg

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Very interesting; what does it mean?

          U 2 Replies Last reply
          0
          • L Lost User

            Very interesting; what does it mean?

            U Offline
            U Offline
            User 12001697
            wrote on last edited by
            #5

            I couldn't find it :/

            L 1 Reply Last reply
            0
            • U User 12001697

              I couldn't find it :/

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              If you really want help with this issue then please do what I suggested in my first response.

              U 1 Reply Last reply
              0
              • L Lost User

                Very interesting; what does it mean?

                U Offline
                U Offline
                User 12001697
                wrote on last edited by
                #7

                I couldn't understand what do you mean ?

                1 Reply Last reply
                0
                • L Lost User

                  If you really want help with this issue then please do what I suggested in my first response.

                  U Offline
                  U Offline
                  User 12001697
                  wrote on last edited by
                  #8

                  I have attached the image please check out and let me know what you need

                  L 1 Reply Last reply
                  0
                  • U User 12001697

                    I have attached the image please check out and let me know what you need

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    I mean you need to run your program under the debugger to trap exactly where the error occurs, what the error is, and what variables, pointers etc. are possibly causing the fault. Without that information it is impossible to guess what may be going wrong.

                    U 1 Reply Last reply
                    0
                    • L Lost User

                      I mean you need to run your program under the debugger to trap exactly where the error occurs, what the error is, and what variables, pointers etc. are possibly causing the fault. Without that information it is impossible to guess what may be going wrong.

                      U Offline
                      U Offline
                      User 12001697
                      wrote on last edited by
                      #10

                      http://i.imgur.com/mkoBXWc.jpg please check out the image

                      L 1 Reply Last reply
                      0
                      • U User 12001697

                        http://i.imgur.com/mkoBXWc.jpg please check out the image

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        That is as a good as sending a picture of your care and saying "it won't start".

                        U 2 Replies Last reply
                        0
                        • L Lost User

                          That is as a good as sending a picture of your care and saying "it won't start".

                          U Offline
                          U Offline
                          User 12001697
                          wrote on last edited by
                          #12

                          http://i.imgur.com/vO4uFTL.jpg Look at this error message DO I have any mistake by using enum ? i guess ?

                          1 Reply Last reply
                          0
                          • L Lost User

                            That is as a good as sending a picture of your care and saying "it won't start".

                            U Offline
                            U Offline
                            User 12001697
                            wrote on last edited by
                            #13

                            Don't you have and compiler ? Why don't you just compile and debug the code ?

                            L 1 Reply Last reply
                            0
                            • U User 12001697

                              Don't you have and compiler ? Why don't you just compile and debug the code ?

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              Member 12035138 wrote:

                              Why don't you just compile and debug the code ?

                              Why don't you? Seriously, this site is here to help when you have problems, but it is up to you to gather the correct information. We cannot do everyone's work for them.

                              U 1 Reply Last reply
                              0
                              • L Lost User

                                Member 12035138 wrote:

                                Why don't you just compile and debug the code ?

                                Why don't you? Seriously, this site is here to help when you have problems, but it is up to you to gather the correct information. We cannot do everyone's work for them.

                                U Offline
                                U Offline
                                User 12001697
                                wrote on last edited by
                                #15

                                I shared the code and error message what else you need ? If you cant help just tell type here it's not big deal

                                L 1 Reply Last reply
                                0
                                • U User 12001697

                                  Hi Everyone I am trying to compile my assignment but I am having some problem with compiling I believe that something about line 24-27 This is the error message --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Debug Error! Program: ...2015\Projects\OCC\IC20_AdamsLotApp\Debug\IC20_AdamsLotApp.exe abort() has been called (Press Retry to debug the application) --------------------------- Abort Retry Ignore ---------------------------

                                  J Offline
                                  J Offline
                                  Jochen Arndt
                                  wrote on last edited by
                                  #16

                                  The error is probably here:

                                  uniform_int_distribution < int > passNumberDist(1000000, 99999);

                                  The first distribution parameter should be less than the second.

                                  U 1 Reply Last reply
                                  0
                                  • U User 12001697

                                    I shared the code and error message what else you need ? If you cant help just tell type here it's not big deal

                                    L Offline
                                    L Offline
                                    Lost User
                                    wrote on last edited by
                                    #17

                                    Member 12035138 wrote:

                                    what else you need ?

                                    I have told you more than once what we need. Create a proper debug version of your code, then run it in the debugger in order to gather proper information.

                                    1 Reply Last reply
                                    0
                                    • J Jochen Arndt

                                      The error is probably here:

                                      uniform_int_distribution < int > passNumberDist(1000000, 99999);

                                      The first distribution parameter should be less than the second.

                                      U Offline
                                      U Offline
                                      User 12001697
                                      wrote on last edited by
                                      #18

                                      Thank you I solved the compiler error !

                                      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