Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

NewBie complex

Posted on 2003-03-28
8
Medium Priority
?
206 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
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

572 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