• We've upgraded our forums. Please post any issues/requests in this thread.

Need to print some ascii art ina window with dev, how to?

Joined
May 19, 2007
Messages
7,662 (1.98/day)
Likes
536
Location
c:\programs\kitteh.exe
Processor C2Q6600 @ 1.6 GHz
Motherboard Anus PQ5
Cooling ACFPro
Memory GEiL2 x 1 GB PC2 6400
Video Card(s) MSi 4830 (RIP)
Storage Seagate Barracuda 7200.10 320 GB Perpendicular Recording
Display(s) Dell 17'
Case El Cheepo
Audio Device(s) 7.1 Onboard
Power Supply Corsair TX750
Software MCE2K5
#1
Code:
 _______           _______  _______  _______ 
(  ____ )|\     /|(  ____ )(  ____ \(  ____ \
| (    )|| )   ( || (    )|| (    \/| (    \/
| (____)|| |   | || (____)|| (_____ | (__    
|  _____)| |   | ||     __)(_____  )|  __)   
| (      | |   | || (\ (         ) || (      
| )      | (___) || ) \ \__/\____) || (____/\
|/       (_______)|/   \__/\_______)(_______/
                                             
 _______  _______  _______  _______  _______  _______  _______ 
(  ____ )(  ____ )(  ___  )(  ____ \(  ____ )(  ___  )(       )
| (    )|| (    )|| (   ) || (    \/| (    )|| (   ) || () () |
| (____)|| (____)|| |   | || |      | (____)|| (___) || || || |
|  _____)|     __)| |   | || | ____ |     __)|  ___  || |(_)| |
| (      | (\ (   | |   | || | \_  )| (\ (   | (   ) || |   | |
| )      | ) \ \__| (___) || (___) || ) \ \__| )   ( || )   ( |
|/       |/   \__/(_______)(_______)|/   \__/|/     \||/     \|
want to print that but apparently underscore is somethign reserved so i cant use cout ... what to do?
 
Joined
May 19, 2007
Messages
7,662 (1.98/day)
Likes
536
Location
c:\programs\kitteh.exe
Processor C2Q6600 @ 1.6 GHz
Motherboard Anus PQ5
Cooling ACFPro
Memory GEiL2 x 1 GB PC2 6400
Video Card(s) MSi 4830 (RIP)
Storage Seagate Barracuda 7200.10 320 GB Perpendicular Recording
Display(s) Dell 17'
Case El Cheepo
Audio Device(s) 7.1 Onboard
Power Supply Corsair TX750
Software MCE2K5
#3
i wish i could give you a kiss dan!
 
Joined
Jan 15, 2009
Messages
425 (0.13/day)
Likes
60
Location
Australia
System Name Krogoth
Processor Intel Core i5 3470 @ stock
Motherboard MSI Z77A-G45
Cooling Stock CPU cooler + 2x Intake 120mm @ 8v + 2x outtake 120mm @8v
Memory 16gb DDR3
Video Card(s) MSI Radeon R9 290 Gaming 4GB GDDR5
Storage 1x 2tb Samsung F2, 1x250gb Intel SSD
Display(s) 2x 23.5" IPS on swing arms. @1080p x2
Case Antec Solo II
Audio Device(s) Logitech X140
Power Supply I forgot.
Mouse Logitech mx518. Still going strong.
Keyboard Saitek POC. Not Mechanical.
Software Windows 7 64bit + Kasperky Internet Security
#4
be carefull of reserved characters... every programming language has them. (as far as i know) all programming languages use backslashes to escape them.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,906 (6.24/day)
Likes
10,000
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#5
C# supports adding a @ symble before the string to ignore escaped characters. For example, these two statements have the exact same result:
Code:
Console.WriteLine("C:\\WINDOWS\\system32\\notepad.exe");
Console.WriteLine(@"C:\WINDOWS\system32\notepad.exe");
Both point to notepad at C:\WINDOWS\system32\notepad.exe

A lot of languages have shortcuts like that.