Search:

Type: Posts; User: cbalu

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    7,631

    Thanks, I will see that code and try to figure...

    Thanks, I will see that code and try to figure out a way to write my own library. I thought may be someone would have already done this, it looks like everyone is using either wpa_cli (or) wpa_gui to...
  2. Replies
    2
    Views
    7,631

    C Library for wpa_supplicant

    Hi all,

    I have been working on adding wpa_supplicant to one of our custom made hardware under ARM linux with support for USB wifi adapter. So far I have been able to get wpa_supplicant running...
  3. Thread: nested loops

    by cbalu
    Replies
    5
    Views
    4,744

    Good start, lets refine your code whatever you...

    Good start, lets refine your code whatever you have already tried a little bit. Try changing the patter from

    2
    24
    246
    2468

    to

    24
  4. Replies
    11
    Views
    2,941

    There is nothing wrong in learning C programming...

    There is nothing wrong in learning C programming via TurboC (Provided you know the limitations it imposes). You can start learning in that environment itself and later on move to some modern...
  5. Replies
    11
    Views
    2,941

    There are many compiler available. I am aware of...

    There are many compiler available. I am aware of GCC as that is default in linux environment but setting it up in Windows requires more work (It is not suitable for the beginners). Whereas someone...
  6. Replies
    11
    Views
    2,941

    Yes you can perform the operation using simple...

    Yes you can perform the operation using simple loops. But, the point here is to learn how to use the dynamic memory allocation that is why your teacher has instructed you to use malloc



    From...
  7. Thread: C and Assembly

    by cbalu
    Replies
    4
    Views
    3,472

    Thanks JohnGraham and grumpy I agree on the...

    Thanks JohnGraham and grumpy

    I agree on the point
  8. Thread: C and Assembly

    by cbalu
    Replies
    4
    Views
    3,472

    C and Assembly

    Not sure whether this is the correct forum to post this query

    I am having a doubt regarding the presence of assembly code inside the linux kernel source code which mostly comprises of C code. Is...
  9. Replies
    17
    Views
    14,881

    @seemaxie, i guess for should be for(i=0;...

    @seemaxie, i guess for should be



    for(i=0; i<=50 && c!='\0'; i++)
  10. Replies
    3
    Views
    1,960

    As you are a new user have a look at the practice...

    As you are a new user have a look at the practice of using the code tags

    Code tags will make your program readable in the post itself instead of everyone doing the download from attachment and...
  11. Replies
    8
    Views
    1,365

    I can see two problem in your code 1. Why are...

    I can see two problem in your code

    1. Why are you appending '\0' after every byte assignment. It makes no sense


    for (int k=0;k<strlen(next_arg);k++, j++) {
    ...
  12. Replies
    3
    Views
    2,229

    In case of linux you can use either POSIX...

    In case of linux you can use either POSIX (pthread) or GDK (g_threads). Here is the link to get started

    1. POSIX
    2. GDK
  13. I love the way it just works, instead of making...

    I love the way it just works, instead of making so much polish and eat system resources in using something, i can go for powerful and fully capable editor like VIM.

    Ok i agree its a personal...
  14. I am a big fan of vim editor and i have turned...

    I am a big fan of vim editor and i have turned vim into a more powerful editor with the help of few plugins (Taglist and NERDTree most importantly) and with few tweaking in vimrc file i can able to...
  15. Replies
    8
    Views
    4,115

    jimtuv, what you had is correct only i didn't...

    jimtuv, what you had is correct only i didn't noticed that part in your code. :)
  16. Replies
    8
    Views
    1,766

    By the way, looks like the link which you pointed...

    By the way, looks like the link which you pointed out was written by you, great explanation.

    Thanks for making it crystal clear.
  17. Replies
    8
    Views
    1,766

    MK27 thanks for your thoughts i will look at the...

    MK27 thanks for your thoughts i will look at the link which you posted.



    Ofcourse it was non other than me. I was trying some other thing and landed with this problem so started searching for...
  18. Replies
    8
    Views
    1,766

    So in this case, if i want to come up with a...

    So in this case, if i want to come up with a standard as well as portable code then what shall i use in the place of fpurge() function. Any clues?
  19. Replies
    8
    Views
    1,766

    Problem with input stream

    Hi all,

    I have two doubts relating to the following code.



    #include <stdio.h>

    int main(void)
    {
  20. Replies
    8
    Views
    4,115

    jimtuv, one thing is that you don't need to use...

    jimtuv, one thing is that you don't need to use the single quote( ' ) in your case statement, as you are dealing with integers. When you are using characters then you need to use the single quotes....
  21. Thread: extern issue

    by cbalu
    Replies
    4
    Views
    2,068

    tabstop thanks for your explanation.

    tabstop thanks for your explanation.
  22. Thread: extern issue

    by cbalu
    Replies
    4
    Views
    2,068

    Thanks EVOEx, but some of my friends suggest that...

    Thanks EVOEx, but some of my friends suggest that extern functions act like function pointers. Any idea on that?
  23. Thread: extern issue

    by cbalu
    Replies
    4
    Views
    2,068

    extern issue

    Hi all,

    I have worked with extern variable(s) a little. But, how does the extern function(s) work. Here is a sample code which i recently saw. Can anyone tell me why the compiler is not...
  24. Thread: %(Modulus)

    by cbalu
    Replies
    19
    Views
    104,000

    % is a modulus operator which falls under...

    % is a modulus operator which falls under Arithmetic Operator category. This operator is used to find the remainder. Here is the simple example which uses modulus operator to find the given number is...
  25. Replies
    4
    Views
    1,836

    Never know this one. That was a excellent point.

    Never know this one. That was a excellent point.
Results 1 to 25 of 43
Page 1 of 2 1 2