Search:

Type: Posts; User: Roaring_Tiger

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds; generated 28 minute(s) ago.

  1. Replies
    6
    Views
    5,290

    Typecasting -- Good or Bad

    Hello All,

    I have been writing C programs since 5 years. Just wondering, what happens when we typecast any variable.?

    I would appreciate your comments.

    Thanks,
  2. Replies
    7
    Views
    3,738

    Yes the seed is dynamic in nature.

    Yes the seed is dynamic in nature.
  3. Replies
    7
    Views
    3,738

    Can I use WinZip to compress?

    Can I use WinZip to compress?
  4. Replies
    7
    Views
    3,738

    Testing Random Number Generator

    Hello All,

    I have code that generates 32 bytes random numbers taking input as 32 bit value. i.e 2^32 possible inputs.

    Now I passed 1-2^32 numbers to generate the random number 2^32 random...
  5. Replies
    2
    Views
    1,105

    #define and #undef

    I have following code in .h file


    #define ABC 1

    #define PQR 1

    #if (ABC == 1)
    #define PQR 0
    #endif
  6. Replies
    3
    Views
    1,758

    Comment using // or /* &&& */

    Hello All,

    As per I know, C support two types of code commenting techniques.

    Block comment
    /* */

    and line comment
    //
  7. Replies
    2
    Views
    3,905

    Platform independent C code

    Hello All,

    We are developing 186 based embedded C code for small memory model. And in future we are planning on using same C code for ARM processor under no OS.

    At this moment, we are putting...
  8. Replies
    4
    Views
    2,422

    I was under impression that compilers which do...

    I was under impression that compilers which do maximum optimization are the good compilers.

    But if this is the case, how do we classify a good compiler?

    Thanx
  9. Replies
    0
    Views
    1,055

    Constant pointer function

    Hello All,

    I would like to make a few set of functions to reside at some constant address locations. I am building the code for 186 processor using small model.

    e.g. function abc whose start...
  10. Replies
    4
    Views
    2,422

    Optimization settings

    We are using Paradigm C compiler to build embedded C application under small memory model and for 186 processor. Paradigm offers set of optmizations bits. like optimization by speed, by size, loop...
  11. Replies
    3
    Views
    1,408

    Thanks

    Thanks
  12. Replies
    3
    Views
    1,408

    How to typedef and use it.

    Hello All,

    I have to declare an array of function pointer return char and accepting nothing.


    UCHAR(*s[12])(void) = {abc, def, ghi, klm,xyz,
    ...
  13. Replies
    4
    Views
    3,791

    Since it is time critical, we are planning to...

    Since it is time critical, we are planning to restict number of parameters to max 3 and pass parameters thro' registers. If we use stack then we have to change the assembly code which already exists....
  14. Replies
    4
    Views
    3,791

    The assembly routine may be called from another...

    The assembly routine may be called from another assembly module too. Will that be possible?

    I am not getting how to implement the function pointer part of the solution that I discussed. Can...
  15. Replies
    4
    Views
    3,791

    C to assembly interface

    I have bunch of C and assembly files. C module makes call to routine in assembly and vice versa. But assembly language platform can change from one processor to another but we would like to keep C...
  16. Replies
    5
    Views
    8,034

    Yes Thantos, I am trying to understand your...

    Yes Thantos,

    I am trying to understand your idea. But here is what want to do. Any suggestion about this from you people are most appreciated.

    Like finding the memory leak in the application. I...
  17. Replies
    5
    Views
    8,034

    Ok, its deadlock. How do you develop test...

    Ok, its deadlock.

    How do you develop test condition that will say for sure that hung condition is because of deadlock and is because of these variable?
  18. Replies
    5
    Views
    8,034

    Race condition

    Hello All,

    I have two threads sharing two resources. I use two mutexes to synchronise them. They are running at differenct prority.


    In first thread,

    Acquire A

    Acquire B
  19. Replies
    6
    Views
    1,435

    If you want to cmpile list of files then better...

    If you want to cmpile list of files then better write makefile..
  20. Replies
    2
    Views
    1,665

    Compile time decision...

    I have two function foo_good and foo_critically_good. Both the function does conceptually the same thing. Meaning, the code (some fixes in critically_good function) and parameters passed are the...
  21. "Array name is pointers in C" First class of...

    "Array name is pointers in C"

    First class of array in your school.
  22. #include Not required..

    #include <iostream.h>


    Not required..
  23. Replies
    0
    Views
    2,931

    Board Bring up

    Hello,

    Can anybody tell me good tutorial(I know, I came dry after googling), book and any pointer on board bring up?

    Basically, I want to know, how board bring up starts, How to do hardware...
  24. Replies
    11
    Views
    1,427

    -lm means link with math library. Hope that...

    -lm means link with math library.

    Hope that helps..
  25. Replies
    11
    Views
    1,427

    Can you do gcc /? or gcc -help ?

    Can you do gcc /? or gcc -help ?
Results 1 to 25 of 174
Page 1 of 7 1 2 3 4