Search:

Type: Posts; User: Joshua138

Search: Search took 0.00 seconds.

  1. Structures and floating point variables (repost with code tags)

    I have a problem with floating point variables with structures. When I try to enter a floating point number, it seems to put it in the firstName string array. I don't know why, the code and output...
  2. Replies
    6
    Views
    1,630

    Oops... I made a typo in my initial code... it...

    Oops... I made a typo in my initial code...

    it was supposed to be Example* example.

    That's why I'm so bothered... because it crashes on a very simple application.

    Josh
  3. Replies
    6
    Views
    1,630

    Structures and floats

    I'm using an UNIX os, the schools, and I'm having trouble literally assigning a value to a structure variable.

    Here's the simple code...

    #include <stdio.h>

    structure example
    {
    float...
Results 1 to 3 of 4