Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!yale!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Quick Question - Strings Message-ID: <14700@smoke.brl.mil> Date: 10 Dec 90 19:58:51 GMT References: <12677@milton.u.washington.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 12 In article <12677@milton.u.washington.edu> mm@blake.u.washington.edu (Eric Gorr) writes: >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... The problem with such a question is that it betrays a lack of training in the C language. Rather than asking out-of-context detailed technical questions like this, you should be concerned with how you can learn to program effectively in C. Start with Kernighan & Ritchie's "The C Programming Language", second edition if possible, which explains all you need to know about handling strings in C.