how can i "command" the DOS window to go full screen??
(i know the easy way is to tell the user to press alt+enter)
i have seen it done years ago when someone went through the API and also...
Type: Posts; User: mik
how can i "command" the DOS window to go full screen??
(i know the easy way is to tell the user to press alt+enter)
i have seen it done years ago when someone went through the API and also...
#include <iostream.h>
#include <time.h>
#include <iostream.h>
void main()
{
time_t hold_time;
hold_time=time(NULL);
cout<<ctime(&hold_time);
you'r right i meant conio.h
after i learned to spell i checked msc++ help and would you beleive there it was.
thanx anyway
what does this header file do connio.h ?
can't find it in help or faq
how do I seperate my program into functions to simplify it for other programmers?
e.g. is this right?
#include....
int....
float....
void main()
I think it has something to do with...
status[index]..................somewhere it seems to be going wrong!
this program works fine untill I tried to include functions to "simplify" it......DOH!
why wont it work......please try the first program below to see what I would like to happen, then the second,...
it works this end tae.
somebuddy once said....
no, try not.
Do or do not
there is no try.
you did.....cheers.
p.s.
msc++ being used, don't know if it makes a difference?
you missunderstand the function of the program...
here, copy this then run to see the required layout....
i.e. the printout at the end of the program is designed to show quickly any...
thanks but it doesn't fix the errors
still sobbing!
looking for the razor blades.....
heavy sobbing
2 errors
cannot convert const char const to float on these lines
status[index]=pressurecodes[1];
status[index]=pressurecodes[0];
...
still doesn't work
please try it
/********************************************************************
THIS IS MY PRESSURE CONTROL PROGRAM
DESIGNED TO ALERT THE USER TO ANY
PROBLEMS...
how can I includ the words :ok and warning int my index?
look...
if(pressure[index]>=699)
{
status[index]=ok;
}//end if
else
{
how can I (if possible) accept the user pressing return to give a default reading to the prompt below
/********************************************************************
ERASES the...