1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

adding a visual interface to a C program

Discussion in 'C' started by Yundi, Jul 3, 2011.

  1. Yundi

    Yundi New Member

    Joined:
    Jul 3, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I made a sudoku solver program using C.
    But I need to add a visual interface to my program.
    My question is:
    What is the easiest way to make it usable by any user ?

    How can I create a visual interface instead of printing on the black and white screen:

    S[ 1 ][ 6 ] =

    and scanning this value....

    I know some visual basic programming ( as a beginner ) and until now I found
    that I should use also C++ to make my program as a dll file and call it in a visual basic program.

    Is there any easier way to do that?

    Thanks,
     
  2. eriyer

    eriyer New Member

    Joined:
    Jan 22, 2011
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    0
    Doing it in VB will be the easiest but then this will not be the appropriate forum for discussing that (VB).

    You can do it in VC++ using a DialogBox (which allows easy drag and drop of controls) as your main window but you have to be familiar with the Windows Message / Event driven model.

    You can put your console window in graphics mode (you have functions like initgraph() and so on in Turbo C) and use colours - there are books like Zen of Graphics, Graphics Black Book both by Michael Abrash - and the content is Turbo C oriented.
     

Share This Page