also, try setting up your half variable as an array with the same value as x in your character array
half[x] = (int)message[x] // etc...
Type: Posts; User: cid666
also, try setting up your half variable as an array with the same value as x in your character array
half[x] = (int)message[x] // etc...
try sliding all of the ascii bits to the right, then typecasting the result as an integer. you will always lose the LSD, but it will only matter if it's a 1
Windows never uses the same addresses for anything, they always re-allocate and write unused stuff to the hard drive, there has to be an api call that allows me to write to the display. Ideally i...
Why don't you do
(7-1) - 6
Then it will have to cycle thru a whole day before your output = 1
you mean 2.996
is your life just one big syntax error?
mine is.
I don't really know what to use.
i'm trying to make a constant display with formatted info, display it on the screen and position the cursor wher I want it, maybe, even type stuff and based upon...
you could use
getline(cin,string,'.')
and the read would end at the decimal
then you could check the string length and use an if statement if i's too short.
you can put most of that stuff in your header file.
also, you should use } to close your constructor.
I can't figure out the syntax for directly changing a value in the screen buffer for a console application, it's a very weird function that takes a weird argument,
any suggestions?
--Cid666
I am trying to run a standard win32 console application, e.g. simple "Hello World" style app just to test this stupid "bug" or whatever it is.
Does anyone know how to use the cin >> statement to...