Search:

Type: Posts; User: newby01

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    8,368

    problems using memcpy

    hey, i have a problem trying to figure out what i'm doing wrong with memcpy,

    i get the following to errrors when i try to run this code.

    a4.c:222: error: incompatible type for argument 1 of...
  2. Thread: Strange Output

    by newby01
    Replies
    1
    Views
    1,350

    Strange Output

    When i run this programme i get the following output:

    0.6667
    0.666667

    How come the second printf statement does not use the "val" value?

    insert

    main(){
  3. Replies
    1
    Views
    2,484

    Displaying fractions simple problem

    i'm just starting to learn C and i have a problem with displaying fractions.

    My code:

    insert

    #include<stdio.h>
    main()
    {
    float num = 2/3;
Results 1 to 3 of 3