1. How do I convert variables...

I am writing a program that asks a user for numerical input and
performs calculations on this input. How would I write code to do
this? I use gets() to get the data, but then it gives me an error
about incompatible data types. Obviously it doesn't read in the
numbers as integers. Any suggestions?

         Joseph Martin
     joe at cyber-wizard.com

new topic     » topic index » view message » categorize


Quick Links

User menu

Not signed in.

Misc Menu