944,157 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 41420
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 6th, 2007
0

how to use windows.h

Expand Post »
Can some one give me some code on how to use windows.h..... im making my project, about ATM, i want to make it look good so i need some code on how the use windows header. I saw this person using a goto(x,y) code... and I saw his exe file. and there were textbox images in there.. So can anybody help this noob dev c user.....
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sean108 is offline Offline
5 posts
since Oct 2007
Oct 6th, 2007
0

Re: how to use windows.h

>Can some one give me some code on how to use windows.h....
windows.h is one of the headers you use for the Win32 API. It's not something you can learn with just a bit of sample code. This is a good start, though.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 6th, 2007
0

ummm...

do u have a less complicated website??? DO have other recommendation that was a GUI.. do u know a website just makes lines, or txtbox something on just the exe, not on a GUI form....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sean108 is offline Offline
5 posts
since Oct 2007
Oct 6th, 2007
0

Re: how to use windows.h

what compiler do you have ? You can get some old MS-DOS stuff here. They are not tutorials but actual working example programs.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,963 posts
since Aug 2005
Oct 6th, 2007
0

Re: how to use windows.h

>do u have a less complicated website???
That's about as simple as it gets. You're asking to do a complicated task, why would you expect the API to be simple?

>do u know a website just makes lines, or txtbox something on just the exe, not on a GUI form....
You have text (as in console text), and graphics. Pick one. There are no other options, you can't just say you want to draw a line without first creating a canvas and then using a graphics API to do the drawing[1]. You can open a message box from a console program, but lines require GDI, and GDI requires more than a console.

[1] Well, you can, but that involves basically riding the hardware.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 6th, 2007
0

Re: how to use windows.h

We can draw straight lines and boxes with simple c or c++ console programs because MS-DOS supports the Extended Ascii character set (characters above 127 decimal). But forget doing circles, curves or anything more complicated with standard console programs.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,963 posts
since Aug 2005
Oct 6th, 2007
0

Re: how to use windows.h

Im using Dev C++ compiler..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sean108 is offline Offline
5 posts
since Oct 2007
Oct 6th, 2007
0

Re: how to use windows.h

Do you know some codes just to make my project look cool.... To make my presentation look nice.. Im making a ATM project, its just basic File I/O.... i have the color code.. do u have other suggestions??? Pls dont make it complicated...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sean108 is offline Offline
5 posts
since Oct 2007
Oct 6th, 2007
0

Re: how to use windows.h

Reputation Points: 1159
Solved Threads: 285
Posting Virtuoso
vijayan121 is offline Offline
1,606 posts
since Dec 2006
Oct 6th, 2007
0

Re: how to use windows.h

im having a problem on how to use the NCURSES... I have problems on compiling it... Too many errors... How should i deal with it?? help....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sean108 is offline Offline
5 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: ++ *** glibc detected *** free(): invalid pointer:
Next Thread in C++ Forum Timeline: help me





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC