www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/07/16:57:44

From: keane AT earthsun DOT umd DOT edu (Christopher Matthews Keane)
Date: Thu, 7 Jan 1993 16:12:32 -0500
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: RE: scanf problems

The problem in you code is that scanf expects the address of a variable.
Try: scanf("%f", &amount);
Should work - did for me!  I just have problems with gets() working
correctly! :-)
Cheers
Christopher Keane
keane AT earthsun DOT umd DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019