473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 4080
> 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**************@TK2MSFTNGP09.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**************@TK2MSFTNGP09.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***************@TK2MSFTNGP10.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**************@TK2MSFTNGP09.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
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...
9
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...
3
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...
1
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...
17
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,...
3
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...
3
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....
2
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...
0
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...
13
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.