Thread: GUI in c

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    3

    Post GUI in c

    I am creating my thesis project in c using dev c++ but i came to know that it is impossible to creat a GUI in c using dev c++. is there any way to creat gui in c??? if so plz guid me what and how to do. it is very important for me because i have completed all programing but now the problem is to hav a GUI of it. please guid me what to do?

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I am creating my thesis project in c using dev c++ but i came to know that it is impossible to creat a GUI in c using dev c++.
    You don't know that; you can't know that. That isn't a thing can be known. The statement is wrong.

    is there any way to creat gui in c?
    Let Me Google That For You. I'm not actually going to search for you, but you should get what I'm saying.

    Soma

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,663
    > but i came to know that it is impossible to creat a GUI in c using dev c++.
    What sort of rubbish have you been reading?

    Win32 is a 'C' API, therefore you can create a GUI using C.

    Fair enough, it will be a LOT of work compared to some pre-rolled C++ GUI class libraries out there, but a level of difficulty is far short of impossible.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Leaving this for reference: creating a pi chart

  5. #5
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    If you want to create a UI in C, use GTK .

  6. #6
    C Fanatic ehitam's Avatar
    Join Date
    Jun 2012
    Posts
    22
    GTK is best idea when you want GUI in C.
    GTK+ programming tutorial

  7. #7
    Registered User
    Join Date
    May 2012
    Posts
    505
    Quote Originally Posted by Salem View Post
    > but i came to know that it is impossible to creat a GUI in c using dev c++.
    What sort of rubbish have you been reading?

    Win32 is a 'C' API, therefore you can create a GUI using C.

    Fair enough, it will be a LOT of work compared to some pre-rolled C++ GUI class libraries out there, but a level of difficulty is far short of impossible.
    it depends what you want to do. If you just need a few buttons, an edit box, maybe a dialogue for th user to enter a filename, then C won't be much work. If you needl all singing, all dancing dockable toolbars, resizeable controls, the realistically you'll have to use an high-level library.

  8. #8
    C Fanatic ehitam's Avatar
    Join Date
    Jun 2012
    Posts
    22
    Quote Originally Posted by rags_to_riches View Post
    Leaving this for reference: creating a pi chart
    lol. But his name is not Indian native, but Islamic. Either he is a Saudi or UAE (They really never do there work by themselves ) or a Pakistani. Worst of all cases if he is from Iran :P.

    And... IMPOSSIBLE TO CREATE GUI IN C *facepalm*

  9. #9
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by ehitam View Post
    lol. But his name is not Indian native, but Islamic. Either he is a Saudi or UAE (They really never do there work by themselves ) or a Pakistani. Worst of all cases if he is from Iran :P.
    Sometimes true (in my experience) , but better to keep these kinds of opinions out of international message boards.

  10. #10
    C Fanatic ehitam's Avatar
    Join Date
    Jun 2012
    Posts
    22
    Quote Originally Posted by manasij7479 View Post
    Sometimes true (in my experience) , but better to keep these kinds of opinions out of international message boards.
    I agree... Srry if it hurt somebody...

Popular pages Recent additions subscribe to a feed