Search:

Type: Posts; User: hammer1234

Search: Search took 0.00 seconds.

  1. Replies
    23
    Views
    5,046

    I am fairly new to C as well. Although I now can...

    I am fairly new to C as well. Although I now can understand why pointers are used etc etc. I find that a lot of the books have a chapter called "Poiters" but they generally really never touch on what...
  2. Replies
    7
    Views
    1,236

    Totally from Memory VS 6.0 command to compile...

    Totally from Memory

    VS 6.0 command to compile in C is /TC
  3. Replies
    1
    Views
    764

    Visual C++ and C

    Hi

    I was wondering if it is possible to set the Visuall C++ 6 compiler to only allow .c compilation?

    I know that as it comes it can compile .c files but I would like it to only compile .c file...
  4. Replies
    3
    Views
    1,006

    I have that link already however i would like...

    I have that link already however i would like some further explanation if possible
  5. Replies
    3
    Views
    1,006

    K and R Excercies 2.4

    i have to write an alternative to squeeze that deleted each character in s1 that matches any character in string s2.

    Ok i have started to do this but i have made somesort of mistake with my loop...
  6. Replies
    14
    Views
    54,720

    Because Mr realnapster the person posting the...

    Because Mr realnapster the person posting the code said the array has a size of 5.
  7. Replies
    14
    Views
    54,720

    If you just to clear the array why can't you just...

    If you just to clear the array why can't you just reinitialise it to zero?



    anarray[5]={0,0,0,0,0};
  8. Thanks God of C. I was really more interested in...

    Thanks God of C. I was really more interested in just seeing how it all worked.

    Thanks for your help
  9. Using dev c++ sqrt definately doesn't return 0...

    Using dev c++ sqrt definately doesn't return 0 when negative values are passed. I notived in the gnu lib that i was told to download above that the sqrt function already had checks for negative...
  10. THanks I am just using Dev C++ because it is...

    THanks

    I am just using Dev C++ because it is easy and free
  11. Where to find the code that defines standard Functions?

    I am interested in editing the sqrt function from math.h so that it does not allow negative numbers to be passed to it. I am also interested in how these math functions work in C.

    Is there...
  12. Replies
    1
    Views
    5,103

    Misra Rule 11.2

    Hi

    I am not sure if many of you are aware of what the Misra C 2004 standards are but rule 11.2 states

    Rule 11.2 (required) Conversions shall not be performed between a pointer to object and any...
  13. Replies
    1
    Views
    5,613

    Overlapping Memory

    Hi

    I have to create a test case where one object is copied to the other when both of the objects have some overlapping memory.

    I have experimented with memmove and memcpy and the use of unions....
Results 1 to 13 of 13