Search found 7 matches
- Tue May 12, 2009 4:39 am
- Forum: Beginning OS Development
- Topic: Totorial 20
- Replies: 13
- Views: 61971
Re: Totorial 20
Thanks Mike! I've been spending some time adding to the demo for tutorial 19 lately and I managed to develop a very simple text-based GUI. I think it's pretty neat. Here's some of the interaction with it: http://img9.imageshack.us/img9/9012/88905102.png Very basic, but I did it all using classes so ...
- Sun May 10, 2009 9:48 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 106754
Re: Irritating Error...

The working product! Thanks for the help!

- Sun May 10, 2009 9:23 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 106754
Re: Irritating Error...
Wow good thing I posted that here... My computer just froze and the source file got corrupted
. I'd hate to write that whole thing out again... It definitely isn't easy on the eyes.

- Sun May 10, 2009 9:11 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 106754
Re: Irritating Error...
Ya, just figured that out. It didn't work the first time I did that because I mistakenly put thin = '176'; med = '177'; thick = '178'; which of course just printed a bunch of 6's, 7's, and 8's :P. Just a bit of a brain fart. As for your question about strings over 75 chars, it causes Bochs to triple...
- Sun May 10, 2009 8:59 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 106754
Re: Irritating Error...
The _i variables were there because I know what the block (filled square) characters are as an integer (176, 177, 178) but I don't know how to initialize a char to a value that will result in the block being displayed. So, basically, the _i's are just there to be converted into chars...
- Sun May 10, 2009 8:31 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 106754
Re: Irritating Error...
error LNK2019: unresolved external symbol _memset referenced in function "void __cdecl Title(char *)" (?Title@@YAXPAD@Z)
A:\KRNL32.EXE : fatal error LNK1120: 1 unresolved externals
A:\KRNL32.EXE : fatal error LNK1120: 1 unresolved externals
- Sun May 10, 2009 8:10 pm
- Forum: C and C++
- Topic: Irritating Error...
- Replies: 11
- Views: 106754
Irritating Error...
I created a function that draws a title box out of characters and tested it and it worked fine. Then, I put it into the latest version of the OSDev series demo, but every time I try to compile, I get an error from the linker! However, the code works fine if I just stick it in run(). It only generate...