Search:

Type: Posts; User: Blur

Search: Search took 0.00 seconds.

  1. Replies
    24
    Views
    3,748

    Well I'm just a newbie to c programming myself...

    Well I'm just a newbie to c programming myself but I have some remarks:

    1) You should enter the data without the commas I think, just use spaces

    2) The printf statement is wrong, should be more...
  2. Replies
    24
    Views
    3,748

    Maybe you should post the errors given by the...

    Maybe you should post the errors given by the compiler?! If any, or describe what does not work...
  3. Thread: Declare float

    by Blur
    Replies
    10
    Views
    1,844

    Thanks for the reply's, helped a lot! I'm sure I...

    Thanks for the reply's, helped a lot! I'm sure I can make my program work now. :D
  4. Thread: Declare float

    by Blur
    Replies
    10
    Views
    1,844

    I do not want to compare values but perform...

    I do not want to compare values but perform calculations with them...

    Ex: 0.1 - 0.1 = 0 but 0.1 - 0.100009 <> 0 or does c treats them the same? I tried this:



    float example_array[] = {0.2F,...
  5. Thread: Declare float

    by Blur
    Replies
    10
    Views
    1,844

    Declare float

    Hello,

    I declared a float array in my program as follows:



    float example_array[] = {0.2, 0.1};

    when I look at the debugger while running my program; it says that the array holds...
  6. Replies
    12
    Views
    2,669

    Do you mean... right click on the icon......

    Do you mean... right click on the icon... properties.... change icon? :rolleyes:
  7. Thread: K&R problem page

    by Blur
    Replies
    4
    Views
    3,042

    Ok, thanks guys... 1/ I retyped the code... (so...

    Ok, thanks guys...
    1/ I retyped the code... (so I get a better feel for it) I'm new to c... and clearly made an error using the assignment operator...
    2/ Didn't know about the EOF signaling :eek:
  8. Thread: K&R problem page

    by Blur
    Replies
    4
    Views
    3,042

    K&R problem page

    I've entered the program that is on page 29 of the K&R book. I use the Dev-cpp IDE on a Windows machine. The code compiles fine but I had to change a line in the code to get to program to work.
    ...
Results 1 to 8 of 9