473,698 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Building GUI with C

SORRY; I'M SURE IT'S THE WRONG FORUM; BUT I'M SURE Y'ALL WOULD KNOW THE
ANSWER!!!

Hi;

I was just wondering if you could build GUI's in C (original C). From
what I've seen, the programs made in C just run on DOS in it's command
prompt. I mean it doesn't pop out of DOS (like when you run IE) but all
programs are just command-line programs. But I'm sure you can build
programs with buttons and menus like you could with JAVA. Can you??
(with the original C)

ALSO; why do most say C (original) is the best language??

Cheers.

**What I mean by C is the original (NOT C# or C++)

Radith Silva

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
3 4098
> SORRY; I'M SURE IT'S THE WRONG FORUM; BUT I'M SURE Y'ALL WOULD KNOW THE
ANSWER!!! I don't think that there is a newsgroup for C discussion at
news://msnews.microsoft.com
discuses you question at
http://groups.google.com/groups?hl=e...up=comp.lang.c
I was just wondering if you could build GUI's in C (original C). Yes, using Win32 API for windows you can do it.
ALSO; why do most say C (original) is the best language?? In terms of the program execution performance C is the best. But there are
other factors like maintainability , rapid development etc. which in favor of
C++, C#
-Manish

"Radith Silva" <ra****@xtra.co .nz> wrote in message
news:e0******** ******@TK2MSFTN GP09.phx.gbl... SORRY; I'M SURE IT'S THE WRONG FORUM; BUT I'M SURE Y'ALL WOULD KNOW THE
ANSWER!!!

Hi;

I was just wondering if you could build GUI's in C (original C). From
what I've seen, the programs made in C just run on DOS in it's command
prompt. I mean it doesn't pop out of DOS (like when you run IE) but all
programs are just command-line programs. But I'm sure you can build
programs with buttons and menus like you could with JAVA. Can you??
(with the original C)

ALSO; why do most say C (original) is the best language??

Cheers.

**What I mean by C is the original (NOT C# or C++)

Radith Silva

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
Radith

absolutely - yes you can! But to do so means that you would be restricted
to programming at the Win32 API and Platform SDK level. For many, that
restriction is a small price to pay, given the flexibility to work with no
framework or externally imposed boundaries. \

You are confusing console apps with programming in C - and those two are not
related. In fact, one can create console apps in VC++, VC, C#, VB.Net, etc.
There is a flag in the exe that determines whether the app gets a console
window by default, or is assumed to be a Win32 GUI app. That said, there is
nothing to stop one from calling RegisterClassEx in a console app, then
calling CreateWindow, implementing the class WindProc method, and then
implementing the message pump with a while(1), GetMessage and
DispatchMessage -- all this done in a console app (what you referred to as a
DOS program) and written in straight C code.

regards
roy fine

p.s. DOS apps were 16 bit applications. console apps today are full-blown
Win32 applications.
rlf
"Radith Silva" <ra****@xtra.co .nz> wrote in message
news:e0******** ******@TK2MSFTN GP09.phx.gbl...
SORRY; I'M SURE IT'S THE WRONG FORUM; BUT I'M SURE Y'ALL WOULD KNOW THE
ANSWER!!!

Hi;

I was just wondering if you could build GUI's in C (original C). From
what I've seen, the programs made in C just run on DOS in it's command
prompt. I mean it doesn't pop out of DOS (like when you run IE) but all
programs are just command-line programs. But I'm sure you can build
programs with buttons and menus like you could with JAVA. Can you??
(with the original C)

ALSO; why do most say C (original) is the best language??

Cheers.

**What I mean by C is the original (NOT C# or C++)

Radith Silva

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3

"Manish Agarwal" <ma************ @mphasis.com> wrote in message
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. .
SORRY; I'M SURE IT'S THE WRONG FORUM; BUT I'M SURE Y'ALL WOULD KNOW THE
ANSWER!!! I don't think that there is a newsgroup for C discussion at
news://msnews.microsoft.com
discuses you question at
http://groups.google.com/groups?hl=e...up=comp.lang.c
I was just wondering if you could build GUI's in C (original C).

Yes, using Win32 API for windows you can do it.


Why you would ever want that pain is a mystery.
ALSO; why do most say C (original) is the best language??

I think very few people would say that actually.
In terms of the program execution performance C is the best. But there are
Not true at all. In general C++ is faster than C. Compare qsort against STL
sort, or printf against iostream.
other factors like maintainability , rapid development etc. which in favor of C++, C#
-Manish

"Radith Silva" <ra****@xtra.co .nz> wrote in message
news:e0******** ******@TK2MSFTN GP09.phx.gbl...
SORRY; I'M SURE IT'S THE WRONG FORUM; BUT I'M SURE Y'ALL WOULD KNOW THE
ANSWER!!!

Hi;

I was just wondering if you could build GUI's in C (original C). From
what I've seen, the programs made in C just run on DOS in it's command
prompt. I mean it doesn't pop out of DOS (like when you run IE) but all
programs are just command-line programs. But I'm sure you can build
programs with buttons and menus like you could with JAVA. Can you??
(with the original C)

ALSO; why do most say C (original) is the best language??

Cheers.

**What I mean by C is the original (NOT C# or C++)

Radith Silva

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1734
by: PatchFactory Support | last post by:
Description: Professional and easy-to-use patch building environment that can help you to create instant patch packages for software and file updating. Generated patch packages are small size self-extracting executable update programs in a famous installer style with adjustable user-friendly interface and multilingual support. Enhanced with features like easy-to-use interface including a Wizard mode, powerful patch engine, integrated...
9
2337
by: Jenta | last post by:
A World Beyond Capitalism 2005, An Annual International Multiracial Alliance Building Peace Conference Is Accepting Proposals... ...and Online Registration is now available if you plan to table and participate in the International Grassroots Exhibition: http://www.lfhniivaaaa.info/awbcgrassrootsofpeace We would greatly like some proposals from all people worldwide, especially
3
5510
by: DrSarang | last post by:
While building XmlSampleGenerator code from MSDN, I get missing XmlSchemaSet reference. Here is the screen dump, if needed. C:\Documents and Settings\Dr Sarang\My Documents\MSDN\XML Sample Generator>build Could Not Find C:\Documents and Settings\Dr Sarang\My Documents\MSDN\XML Sample Generator\XmlSampleGenerator.dll Could Not Find C:\Documents and Settings\Dr Sarang\My Documents\MSDN\XML
1
9239
by: Kelly B. | last post by:
Hello I've created a customer database for the company I work for. Now I've started on building a work order, which will be related to It. Basically, I need to build a form to accept shirt size quantities, subtotals and totals. To accept these orders I need about 12 rows and several columns of information. I tried using a spreadsheet in excel and the datasheet view in Access, but I keep getting just the names of the columns and one row....
17
2057
by: Nick | last post by:
I am doing some research into building web applications using Object Oriented techniques. I have found the excellent patterns section on the MSDN site, but other than that I cannot find any good, concrete examples. I know Microsoft are really pushing OO with the .NET Framework and C#, but for web stuff I am finding good examples sparse. Can anyone offer some links to articles, whitepapers, sites etc that maybe give a good overview of the...
3
1487
by: thomson | last post by:
Hi All, While Iam building my solution, the VS 2003 editor get stucked, for a few minutes and after sometimes it gets recovered, and the solution building done, While building i looked into the task manager entry, and it says the program is not responding, after building the solution it says the program is running. It takes good time for me to build the solution? What could be reason, please help
3
1747
by: tony | last post by:
Hello!! I use VS 2003 and C# for all class library except MeltPracCommon.dll which is C++.NET The problem is that I get these warnings when building the exe file and use my class libraries. See below for a detail description. Preparing resources...
2
2383
by: Gawel | last post by:
Hajo, I have soulutin with 7 library projects and 2 web projects. When I change something in one of the libraries and hit F5 it takes literally 1-2 minutes to start an application. I've noticed - looking at output window - that huge time of building takes web site validation. The output is like below:
0
1719
by: s | last post by:
I need to develop a multiuser database application to be used by four people(The number of users are not likely to increase). It is for storing records of different versions of particular papers. I am new to building such an application. I would like to know what would the requirements be for using Access as the means for building the multiuser database. Two of the four use Access 2000(running Windows 98) and other two use Access...
13
3109
by: treble54 | last post by:
I need to build PHP from source with the pdo_ibm extension and I am having an issue with it. Firstly, I am using Visual Studio .NET 2003 and I am building PHP from source through the Visual Studio Command Prompt. When I get to the nmake step, it gets through everything until it hits the zend_language_scanner.l file. Then I get these errors: zend_language_scanner.l(24) : warning C4005: 'yyleng' : macro redefinition...
0
9166
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.