how to use windows.h

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2007
Posts: 5
Reputation: sean108 is an unknown quantity at this point 
Solved Threads: 0
sean108 sean108 is offline Offline
Newbie Poster

how to use windows.h

 
0
  #1
Oct 6th, 2007
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.....
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,771
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 743
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: how to use windows.h

 
0
  #2
Oct 6th, 2007
>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.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 5
Reputation: sean108 is an unknown quantity at this point 
Solved Threads: 0
sean108 sean108 is offline Offline
Newbie Poster

ummm...

 
0
  #3
Oct 6th, 2007
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....
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,484
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: how to use windows.h

 
0
  #4
Oct 6th, 2007
what compiler do you have ? You can get some old MS-DOS stuff here. They are not tutorials but actual working example programs.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,771
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 743
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: how to use windows.h

 
0
  #5
Oct 6th, 2007
>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.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,484
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: how to use windows.h

 
0
  #6
Oct 6th, 2007
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 5
Reputation: sean108 is an unknown quantity at this point 
Solved Threads: 0
sean108 sean108 is offline Offline
Newbie Poster

Re: how to use windows.h

 
0
  #7
Oct 6th, 2007
Im using Dev C++ compiler..
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 5
Reputation: sean108 is an unknown quantity at this point 
Solved Threads: 0
sean108 sean108 is offline Offline
Newbie Poster

Re: how to use windows.h

 
0
  #8
Oct 6th, 2007
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...
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster

Re: how to use windows.h

 
0
  #9
Oct 6th, 2007
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 5
Reputation: sean108 is an unknown quantity at this point 
Solved Threads: 0
sean108 sean108 is offline Offline
Newbie Poster

Re: how to use windows.h

 
0
  #10
Oct 6th, 2007
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....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC