?
Solved

NewBie complex

Posted on 2003-03-28
8
Medium Priority
?
205 Views
Last Modified: 2010-04-15
Hi,
i'm relatively new to programming in C, but i think i have some basic knowledge about arrays,pointers,structures,File I/O etc. One would say that I have just finished reading those "learn-C-in-14-lessons" books. Every newbie /or at least when it comes up to me/ suffers with feeling that he/she should create something "really" usefull. But why do I bother you?
I would like to know how to create some simple program with GUI under win32 platform. Is there any understandable tutorial which would guide me step by step through? /web page, book etc/ I'm asking becouse when programming under JAVA, you need not to care about many things, simple GUI is created so fast. But in C, i simply tried to copy one program from a book by Herbert Schildt about C. But it crashed . I would really like to know the basics about it. I downloaded Borland C++ 5.5 command line tools which include compiler etc.  
0
Comment
Question by:fobos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 5

Expert Comment

by:burtdav
ID: 8224082
Here's an excellent starter for BCC55; the 3 references at the bottom of the page are excellent, too:
http://www.codeproject.com/cpp/usingbcc.asp

I'm not certain; I'm not yet experienced with this stuff, but, unfortunately, it's going to be quite difficult to build a GUI using it. You can get simple source code fairly easily (maybe try some of Nullsoft's small programs for example).

But for Windows development, you want MS VC++ or C# even, maybe.

C is more commonly used for command-line programming, especially on UN*X platforms.
0
 

Expert Comment

by:adija
ID: 8224086
If you want just the GUI, VB is good and easy to learn. Java is also good but takes some time.
 In C, you can use graphics.h, and write the statement

initgraph(<parameters>)

The last parameter is the path to bgi file, e.g. c:\\tc\\bgi

and you can very fast create simple graphics, and menu buttons using the help. This was in TurboC. I hope it's also in Borland.
0
 

Expert Comment

by:adija
ID: 8224092
If you want just the GUI, VB is good and easy to learn. Java is also good but takes some time.
 In C, you can use graphics.h, and write the statement

initgraph(<parameters>)

The last parameter is the path to bgi file, e.g. c:\\tc\\bgi

and you can very fast create simple graphics, and menu buttons using the help. This was in TurboC. I hope it's also in Borland.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:burtdav
ID: 8224094
What's the purpose of your post? You want to learn C, or to build Windows apps?
0
 

Author Comment

by:fobos
ID: 8224250
I'd like to learn building windows apps
0
 
LVL 5

Accepted Solution

by:
burtdav earned 200 total points
ID: 8224368
VB or Delphi will probably be easier to pick up (and get useful results out of) than C++, but if you want to go with C++, MS VC++ is good. Borland also has a Windows IDE (for developing Windows apps), but I don't think you can get it free.

These tutorials look good (courtesy of google (windows gui tutorial "C++")):
http://sunlightd.virtualave.net/Windows/GUI/
http://www.winprog.org/tutorial/

And if you need a bit more grounding in C++ itself, try "Thinking in C++" is good and you can download it in PDF for free, if you can find it.

Good luck!
0
 
LVL 5

Expert Comment

by:burtdav
ID: 8224507
The definitive download site for Bruce Eckel's excellent books (inc. "Thinking in C++", Word format) is http://64.78.49.204/
0
 

Author Comment

by:fobos
ID: 8224612
I'd like to learn building windows apps
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question