£ = 0x9C or 0xA3, depending on codepage
ú = 0xA3 or 0xFA, depending on codepage
0xA3 is "ú" under the CP437 (DOS), and "£" under CP1252 (Windows Latin-1). For Windows console I/O, you'll may need to get all "layers" to agree on the same codepage:
This code is explained in the thread I linked to in post #2. You may also need to change the font used by cmd.exe to "Lucida Console" instead of "Raster Fonts".