Search:

Type: Posts; User: www.infysim.org

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Yes of course it is possible but as you said you...

    Yes of course it is possible but as you said you are new to C, you need to learn more of Operating System concepts than only you can write a Device Driver for a particular device.
    The question that...
  2. Sourceforge is a good place and also I think that...

    Sourceforge is a good place and also I think that you can look into GitHub and browse around for some projects of your interest.
  3. Replies
    4
    Views
    1,379

    Yes, as matticus said the operation involves...

    Yes, as matticus said the operation involves double and integer values. I think you need to convert the integer values to double by typecasting and see what happens.
  4. Replies
    3
    Views
    1,672

    Although I don't have any proof to validate my...

    Although I don't have any proof to validate my statement but I believe yes it is accepted in some compilers.
  5. Replies
    3
    Views
    540

    Remove the first statement inside for loop

    I think the int i in the first statement inside for loop is a problem.
    Also I think the second statement is i<1o. NOTE "1o" is "One and Alphabet 'o' ". Only Hexadecimal alphanumeric values are...
  6. Replies
    8
    Views
    769

    If I am not wrong, the serial data comes/goes a...

    If I am not wrong, the serial data comes/goes a character by character from/to the hardware. And the data is fetched on an interrupt from the device. I really don't see any kind of race to access the...
  7. You can check the return value of scanf() to make...

    You can check the return value of scanf() to make sure everything went well.

    If scanf() has returned 0 then there may be a problem (may be you have asked for int but user has entered a char) then...
  8. Looks like you have not placed the complete code...

    Looks like you have not placed the complete code here.

    You have passed (ST_DEV_CONNECTION_STATUS_NOTIFY *dev_info) to the function but you are accessing some values from struct SyncData (must be a...
  9. Replies
    8
    Views
    2,459

    Lets first concentrate on line# 17: result =...

    Lets first concentrate on line# 17:


    result = bit1 << bit2;

    The actual values will be:
    result =00000001 << 1000000 (All values are in decimal and not in binary)

    What exactly happens when...
  10. I am little bit confused here. If I do the same...

    I am little bit confused here.
    If I do the same thing with int and char it just works fine.

    Say I have taken an int with value 48 and read it as a char and you will see the ASCII value of the int...
  11. Replies
    8
    Views
    769

    Don't wait for people to say yes or no. What I...

    Don't wait for people to say yes or no.
    What I will suggest you to go ahead and make a program thinking that you can read and write at once on the serial port.

    If you face any problem after that...
  12. How does that matter? I can take an int variable...

    How does that matter?
    I can take an int variable with value of some 100 and print the variable as a float (I believe the compiler will typecast from int to float silently or with a warning).
    It...
  13. Can you just check once by replacing %3.3f with...

    Can you just check once by replacing %3.3f with %.3f and see if this makes any difference.
  14. Replies
    6
    Views
    1,573

    I thought it will be difficult to make someone...

    I thought it will be difficult to make someone understand especially in a forum where you have to choose your words carefully to convey what you really want to explain.
    I am glad that my explanation...
  15. Replies
    6
    Views
    1,573

    I had tried this many times and observed...

    I had tried this many times and observed different outputs on different kinds of compilers.
    But I am quite familiar with the GCC output and can explain what exactly has happened. See below points:...
  16. Can you check the below link from Windows support...

    Can you check the below link from Windows support if this works for you:
    Speaker settings in Windows Media Player
  17. Replies
    2
    Views
    607

    You are not storing the return value

    You are calling the function f() at line number 6 but you are not storing the returned value from f().

    If you change the line number 6 to the below then you will get an output of 5:


    i = ...
  18. Where are you calling PlayOneGame() and where are you storing the guess variable?

    Looks like you have not written this code. You have copied from somewhere or somebody and haven't understood it correctly yet.

    Copying is not bad thing but you must understand the code what have...
  19. Replies
    5
    Views
    1,896

    Looks like you have done some mistake somewhere

    Hi art6050, I have built the kernel from the source given at the provided link and did not face any issue.

    I doubt you have SKIPPED the following step:

    $ cd linux
    $ KERNEL=kernel
    $ make...
  20. Didived by zero is generated by FPU

    Yes, it is the responsibility of the programmer to handle this kind of things.

    The compiler catches any c statement that involves a zero in the denominator, for example:

    #include <stdio.h>
    ...
  21. Hi, Joaquim. I think the question is little bit...

    Hi, Joaquim. I think the question is little bit confusing.
    Can you explain what do you mean by "Predefined" ??? What are you saying as predefined ???

    If you can bring down the question to...
  22. Replies
    5
    Views
    1,896

    I am sorry. I should have seen the link provided...

    I am sorry. I should have seen the link provided by art6050.

    There are two include directories in the kernel:
    - ARCH specific
    - Kernel specific

    For the fatal error: linux/prefetch.h: No such...
  23. Replies
    29
    Views
    2,701

    I have update for one of my ASUS mobo. The BIOS...

    I have update for one of my ASUS mobo. The BIOS flashing does take more than few minutes. I believe you should be able to do that on your current 2.4GHz CPU which at least runs for an hour.

    Also,...
  24. Replies
    29
    Views
    2,701

    Are you sure that pin count and socket type of...

    Are you sure that pin count and socket type of the 2.4GHz and 3GHz processor are same?
    If they are not same then the Motherboard may not have support for both Socket types anyway.

    If you can tell...
  25. Replies
    3
    Views
    625

    Usually patents are well organized in terms of...

    Usually patents are well organized in terms of explanations but you need to have core knowledge on the particular topic to understand with more clarity.
Results 1 to 25 of 34
Page 1 of 2 1 2