Search:

Type: Posts; User: Fdisk

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    3,184

    So how do I check the return value of scanf? ...

    So how do I check the return value of scanf? Would I need to use %s or %1c instead of %i or is there something else I can do? I don't really care if I can't distinguish between a legitimate zero...
  2. Replies
    8
    Views
    3,184

    How to determine if input is numerical

    I'm writing a program to work with complex numbers. It actually works well for what I need it for but there is a problem I would like to solve. Here is the code in question:


    int option;
    ...
  3. Making a series of Booleans act as a string of numbers

    Hello! I recently started programming in C and right now I am programming a robot using a PIC32 microcontroller. There are six input sensors and right now I have separate variables set to each of...
Results 1 to 3 of 3