473,503 Members | 2,059 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GUIs and Compilers.. <help>

OK, here's the deal, if anyone could help me with a link or two, I'd
be delighted.
I'm just learning C (I learned over the summer, so a few months), and
I was wondering what (*free*) compilers are any good. I currently use
a stable version of Bloodshed's Dev-C++, but I was wondering if
anything *free* is better? Easier to use? Just C, and not C++?

Also, I was wondering how to make a GUI for my apps? They currently
run in DOS. What do I need to do this? Is it possible? Helpful links?
Anyway, thanks.

- Vexyn
Nov 13 '05 #1
2 1940
"V e X y N" <fi*************@hotmail.com> wrote in message
news:af**************************@posting.google.c om...
| OK, here's the deal, if anyone could help me with a link or two, I'd
| be delighted.
| I'm just learning C (I learned over the summer, so a few months), and
| I was wondering what (*free*) compilers are any good. I currently use
| a stable version of Bloodshed's Dev-C++, but I was wondering if
| anything *free* is better? Easier to use? Just C, and not C++?

The compiler that comes with Dev-C++ is among the best there is. It is
MinGW(Minimalist GNU GCC for windows), it is the primary *NIX/Linux
compiler.

This is MinGW:
http://www.mingw.org/

If you don't like MinGW, there are many other options to choose. You said
you want a free compiler, that is just C, but there are few compilers that
do not currently support C++.

Borland is one option:
http://www.borland.com/products/down...cbuilder.html# (click on
Compiler under downloads on right: requires registration(free))

My personal favorite is Digital Mars:
www.digitalmars.com (They have their own newsgroup which I am actively
involved in).

| Also, I was wondering how to make a GUI for my apps? They currently
| run in DOS. What do I need to do this? Is it possible? Helpful links?

Making a graphical user interface is very difficult for beginning
developers. Microsoft provides their platform sdk (which is a pain in the
ass to code with natively):
http://www.microsoft.com/msdownload/...sdk/sdkupdate/

There is a wrapper called MFC (Microsoft Foundation Classes [uses C++]) that
eases the pain of native win32 coding.

I would not suggest you looking GUI programming *AT ALL* until you are
extremely comfortable with programming in C.

There is a cross-platform GUI library (that will run on windows/Linux/etc)
called wxWindows. Though I have not used this, I hear that it is extremely
easy and an excellent abstraction layer to the base windowing system on the
OS's:
http://www.wxwindows.org/

One that I currently use for Linux and win32 GUI's is GTK+ (GIMP Toolkit).
It requires some runtimes files to be installed on windows to work (as it is
not a Windows-native library):
www.gtk.org

If you believe that your current skills are sufficient to ignore my warning
and start coding GUI apps then you should look to a book, no single (or
group of) tutorial will explain it clearly enough. I assume you want to do
Windows programming, which is way off-topic here (as this is the Standard C
newsgroup, you may want comp.os.ms-windows.programmer.win32), but since you
are new and do not know where to look, here are the "bibles" for programming
Win32 apps:

Programming Windows (Petzold). I know most of what is covered in this book,
but it even throws me off sometimes due to its high prose:
http://www.amazon.com/exec/obidos/AS...862621-6513633

Programming Windows with MFC (Prosise). Haven't read this as MFC is a rather
easy-to-begin-with library. If you have some steel balls (and a self-assured
attitude), you can just use the
MSDN(http://msdn.microsoft.com/library/default.asp):
http://www.amazon.com/exec/obidos/tg...glance&s=books

I again strongly suggest you learn all the major functions, routines,
syntax, tricks, logic, etc of C before trying to program non-standard
(GUI's) code. It can be enough to drive a man mad with fury and hatred for
programming if they are not yet fit to handle it.

Good luck,
Greg P.
Nov 13 '05 #2
I forgot to point you toward this newsgroup's FAQ (frequently asked
questions). This FAQ is like a bag of gems for beginning developers. Before
you ask any further questions here you should take a look at it.

http://www.eskimo.com/~scs/C-faq/faq.html
Nov 13 '05 #3

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

Similar topics

31
14285
by: da Vinci | last post by:
OK, this has got to be a simple one and yet I cannot find the answer in my textbook. How can I get a simple pause after an output line, that simply waits for any key to be pressed to move on? ...
4
1680
by: Chuck | last post by:
Hello, I have an Access XP database that has several fields. One of the fields is a text field and has an account number that is preceeded by a text character, like: F102354. Every account...
1
719
by: Chuck | last post by:
I have a query that uses the query with the critera set to . We I run the query the msgbox pops up asking for the name information to be entered, but on the top (blue background) of the message box...
2
309
by: Chuck | last post by:
I am trying to retrive one field from the "company info" table that contains several fields but I want the "company name" field. There is only one record in this table. When I entered the code...
1
2927
by: Chuck | last post by:
I appreciate any help!!! I have an application that has 4 different forms that display the same information except for the fact that they are fed from 4 different parameter queries. The 4...
1
1480
by: WØCBF | last post by:
I have an Access application that was written in ver 2002. I have distributed the application to our other offices using the Developers Toolkit and installed a runtime version of Access. At that...
3
2067
by: WØCBF | last post by:
I know this code has worked before but now appears to get a compile error. The code it seems to choke on line 12. I receive the following message and it highlights the "rst!" statement. Error...
1
1557
by: WØCBF | last post by:
Greetings, I have a form that is bound to a table that has about 15 fields in it and all of the fields are displayed on the main form. I have 4 fields that will be updated and I want to write...
2
1829
by: WØCBF | last post by:
I am trying to copy the information from a form into a table. I have tried running the sql code from a macro by using the command : This works and writes the work 'test' into the field name...
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
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,...
0
7342
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7464
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...
0
3171
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...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
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...

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.