Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!sics.se!fuug!news.funet.fi!tukki.jyu.fi!jyu.fi!suhonen From: suhonen@kunto.jyu.fi (Timo Suhonen) Newsgroups: comp.lang.c Subject: Re: Non-Portable pointer assignment? Message-ID: Date: 5 Jun 91 10:55:36 GMT References: Sender: news@jyu.fi (News articles) Organization: University of Jyvaskyla, Faculty of Sport and Health Sciences Lines: 11 In-Reply-To: lion@dat1hb.north.de's message of 3 Jun 91 11: 06:30 GMT Nntp-Posting-Host: kunto.jyu.fi lion@dat1hb.north.de (Daniel Tietze) writes: Try q=strchr(p,"x"); , this should work. If I'm not mistaken, TC uses 'x' to denote a string and "x" to denote a char. Sorry, you are mistaken. 'x' is a single char and "x" is a string. -- Timo "I am logged in, therefore I am" Suhonen suhonen@jyu.fi suhonen@euler.jyu.fi suhonen@kunto.jyu.fi suhonen@nic.funet.fi Opinions(?) are mine (if not stolen), NOT those of Univ. of Jyvaskyla.