is this possible ?

This is a discussion on is this possible ? within the C++ Programming forums, part of the General Programming Boards category; hi, im planning to write a very simple computer emulator as an assignment of Deitels C++ how to program . ...

  1. #1
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    493

    is this possible ?

    hi, im planning to write a very simple computer emulator as an assignment of Deitels C++ how to program .
    well in the book th exercise itself is a console application , i wonder if it is possible to make that code (which is also coded according to the latest C\C++ standards)
    have a gui using wxwidgets.
    i have no idea about wxwidgets programming , i just need a bunch of windows and dialog boxes and you know menus !

    how many changes does it need ?
    is it probable that i should rewrite the whole code again from scratch using wxWidgest?
    ( the assignment is a part of 8th chapter , using pointers /arrays , exercises of Deitel & deitels C++ how to program 5th edition )

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479
    Logically yes it is possible, the very fact they have used console is to make in clearer an easier to understand rather than adding all the complex gui code.

    Are you reading the part of "bulid your own computer"?

    I remember that book - its very good.

    As for the acutal creation of it in gui I know very little but its not beyond the scope of other people on this board, I am sure other people can help you - but I do like the ambition, nice idea.
    I'm just trying to be a better person - My Name Is Earl

  3. #3
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    493
    Quote Originally Posted by swgh View Post
    Logically yes it is possible, the very fact they have used console is to make in clearer an easier to understand rather than adding all the complex gui code.

    Are you reading the part of "bulid your own computer"?

    I remember that book - its very good.

    As for the acutal creation of it in gui I know very little but its not beyond the scope of other people on this board, I am sure other people can help you - but I do like the ambition, nice idea.
    tanx , yes thats it.
    any other help ? !
    Last edited by Masterx; 09-20-2008 at 05:16 AM.

  4. #4
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    493
    i gave it search , but no luck , as it seems , i have to write my whole program in wxwidgets style !
    again i went after wxwidgets tuts, but found a book named cross platform gui programming (printice hall i think )by julian smart . all i found was very complex and indeed confusing!
    you may ask why?! because when i downloaded and installed wxwidgets 2.8.8( i think) and went through installation and other compiling stuff ,i tried to see and play with the new environment a little! i found it pretty similar to Microsoft Visual c++ IDE ! , but this one differs somehow!.

    anyway,i know about vb and vc++ plus C# ( a little) i can at least compile a simple calculator in it, or show a message ( trying to imply that i can do such primitive jobs without knowing much of stuff concerning the programming language ide and just buy using the visual tools provided by ide (such as buttons chechbox & etc...i am able to do such things and say program! ) but in wxwidget i couldnt even make heads or tails of anything!
    you know its not like MS VS . that you could simply drag a button and a textbox and clicking on the button you could easily write your code for execution , and then compiling it!
    all i found was complex statements and tutorials on how to achieve ( or implement ) lets say a textbox or a butto in your program manually !!
    there isnt any tutorial on how to work with "visual aspect of wxwidgets" and this is the problem cuz all of them want me to write tons on codes to gain a simple task thats is provided visualy! thats nonsens!
    can anyone explain this to me
    im really confused and frustrated by this wxwidgets stuff!
    Last edited by Masterx; 09-21-2008 at 02:02 AM.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21