C programming

Welcome to the C programming page...

I just set this up recently to discuss basically everything in C...from its applications for windows platforms, kennels to its embedded usages (simple applications)...but if you really want more detailed microcontroller and embedded stuffs..visit the Microcontroller page on this blog...
...remember it is more like a forum than a monologue....

You can check out the chat rooms on our website here or you can just point your browser to this address http://gigafrequency.webs.com/apps/forums/ 

Browse through the collection of chat rooms, join whichever ones you have an interest for, start a discussion, ask a question or just generally comment on people's posts/topics/responses. Some chat rooms require that you register on the site before you can join them...

Thanks,
Giga Frequency...

13 comments:

  1. C language is very widely used in electronics and software development as well as in the development of Operating Systems(OS) e.g Linux....
    Mostly used in resource allocation to various applications running on the OS....
    ...I think C is soooo cooool....

    ReplyDelete
  2. hi , i'm using miracle c compiler and everytime i write a program it runs but it does not display the desired output....could you please help me out....thanks...

    ReplyDelete
  3. @learner, i have not used miracle C compiler before so i do not know how to troubleshoot it, or what the problem might be...
    [ce][im]http://digsys.upc.es/ed/CSD/units/Ch4/U4_06/img/UnitatMCU3.jpg[/im][/ce]
    The problem could come from a mistake in writing ur code, or a semi colon you forget to type in or a bracket you forget to close.....
    you have to be more specific in defining the problem you are experiencing with the compiler...
    i personally will want you to use another compiler (dev C++).[im]http://images.br.sftcdn.net/br/scrn/8000/8765/dev-c-15.jpg[/im] i am more used to that one...it is also a free software...check it out here [si="3"][co="green"]http://www.bloodshed.net/dev/[/co][/si]

    ReplyDelete
  4. thanks i have dumped miracle c compiler devc++ is working like hell coding like mad.......

    ReplyDelete
  5. i have started using dev c++ but i noticed that anytime i use double for my input my output is usually incorrect....for example
    #include
    #define KMS_PER_MILE 1.609

    int main(void)
    { double miles ,
    kms ;

    printf("Enter tthe distance in miles >");
    scanf("%If" , &miles);

    kms = KMS-PER_MILE * miles ;

    printf("THAT equals %f kilometers.\n" , kms);

    return (0);
    }

    ReplyDelete
    Replies
    1. Hi learner, i have looked at your code above and i don't think there is anything wrong with it... it runs perfectly on my machine. If you think it doesn't work, try changing the variable " miles " data type to float and adjust the scanf() statement to scanf("%f", &miles), that should do the trick....
      Check out the modification below... it pretty much the same thing...

      #include
      #define KMS_PER_MILE 1.609

      int main(void)
      {
      double kms;
      float miles; /* i changed the data type from double to float */

      printf("Enter the distance in miles >");
      scanf("%lf" , &miles);

      kms = KMS_PER_MILE * miles; /* your #define variable was wrong, i guess it was a typographical error */

      printf("THAT equals %f kilometers.\n" , kms);

      return (0);
      }

      i hope that solves the problem

      Delete
    2. Hi guys,

      I agree with techguy. Also, you should be careful when defining data types like int, float and double. Finally, always check that your equations are correct if you run into trouble.

      Delete
  6. thanks...do you know stuff on operatng systems like unix and linux

    ReplyDelete
    Replies
    1. yea, a little though.... but i will be glad to help out with my little knowledge on them, i.e the unix and linux OS. And one more thing, thanks for visiting my blog i really appreciate it, it is people like you -my blog visitor/user- that give me motivation to continue posting...

      Delete
  7. okay lets start with unix...

    ReplyDelete
  8. please do you know any good books on information theory, telecommunication principles , computer graphics ,energy transmisson and digital computer network........thanks

    ReplyDelete
    Replies
    1. Hi, sorry for taking long to respond to your comment... i know quite a lot of books on the topics you listed above... will post them here soon...

      Regards,
      Tech guy.

      Delete
  9. wow menh i thnk you should be checkng you blogs regular so people can be enthusiastic about it.....

    ReplyDelete