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!