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 do u find bugs in MFC programs?

How do u find bugs in MFC programs?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
4 Posts 4 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.
  • J Offline
    J Offline
    John Cruz
    wrote on last edited by
    #1

    hello, for the past week ive been building a tictactoe program and while building it, i have encountered alot of bugs and errors. is there any technique i can use to find bugs besides usings assert statement. well, anyways, thank you for ur help... :)

    N M 2 Replies Last reply
    0
    • J John Cruz

      hello, for the past week ive been building a tictactoe program and while building it, i have encountered alot of bugs and errors. is there any technique i can use to find bugs besides usings assert statement. well, anyways, thank you for ur help... :)

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      Put break points in your code and walk through the code line by line. That often helps. Nish My most recent CP article :- A newbie's elementary guide to spawning processes www.busterboy.org

      1 Reply Last reply
      0
      • J John Cruz

        hello, for the past week ive been building a tictactoe program and while building it, i have encountered alot of bugs and errors. is there any technique i can use to find bugs besides usings assert statement. well, anyways, thank you for ur help... :)

        M Offline
        M Offline
        Mukkie
        wrote on last edited by
        #3

        Hi! Write slow, even if You can write fast, double check functions/methods/algos. Review code You have recently wrote, test often (from user point of view - use release version), etc. It is better to write 50% slower and generate less errors, than write fast generate many errors, and then spend huge amount of time on corrections. (of course, those are my opinions) Mukkie

        T 1 Reply Last reply
        0
        • M Mukkie

          Hi! Write slow, even if You can write fast, double check functions/methods/algos. Review code You have recently wrote, test often (from user point of view - use release version), etc. It is better to write 50% slower and generate less errors, than write fast generate many errors, and then spend huge amount of time on corrections. (of course, those are my opinions) Mukkie

          T Offline
          T Offline
          Tim Smith
          wrote on last edited by
          #4

          It is better to write 50% slower and generate less errors, than write fast generate many errors, and then spend huge amount of time on corrections. (of course, those are my opinions) But very valid ones. Bugs are can be very expensive to fix. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

          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