Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!seismo!ukma!wuarchive!uwm.edu!ogicse!milton!blake.u.washington.edu!mm From: mm@blake.u.washington.edu (Eric Gorr) Newsgroups: comp.lang.c Subject: Quick Question - Strings Message-ID: <12677@milton.u.washington.edu> Date: 10 Dec 90 03:12:56 GMT Sender: news@milton.u.washington.edu Distribution: usa Organization: University of Washington, Seattle Lines: 25 Well, here it is for all you C experts: In BASIC, you can write the simple, one line instruction: TEST = "Hello" What I want to know is how to do this in C after the code where I declared the varables. Please provide some sample code... Please Respond through E-mail. Thanx for your help.....!! ------------------------------------------------------------------------------ Mystery_Man ! All warfare is based on deception - Sun Tzu ! Diplomacy is the art of letting someone else have mm@ ! your war - Danielle Vare' blake.u.washington.edu! He who knows when he can fight and when he cannot will ! be victorious - Sun Tzu IBM - I Bought ! Alway mystify, mislead, and surprise the enemy Macintosh ! - Stonewall Jackson ------------------------------------------------------------------------------ PS: If it matters, I am programming on a MAC with Lightspeed C..but I don't think it should..