Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

C/++/# WxDev C++ and Console outputting

  1. May 5, 2016 #1
    So I ran into a problem with my Python implementation and have decided to rewrite my program in wxC++ instead of wxPython.

    Starting to make some progress (I keep forgetting to put ;'s at the end of lines DAMN YOU PYTHON!!!)

    ANyone know how I can output to a console? I was using LiClipse for the python dev and any prints went to the console in the IDE.

    I'm now using DEV C++ but if I do printf's or cout's I don't see the outputs.
    Anyone have any ideas??

    Thanks!
     
  2. jcsd
  3. May 5, 2016 #2
  4. May 5, 2016 #3
    Why are you combining wxWidgets and a console? The way to show the console is somewhere in the project file, but usually the point of the wxWIdget is to see only your main window. Can you simply log your output somewhere?
     
  5. May 5, 2016 #4
    I used the console to output debugging information. Its nice to be able to output information in an easy format when building stuff.

    @256bits Thanks I'll look into that.


    What I've done as a quick workaround is built a little object that writes to a file, which I just monitor using tail
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: WxDev C++ and Console outputting
  1. C++ console help (Replies: 9)

Loading...