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...
Type: Posts; User: cbalu
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...
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...
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
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...
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...
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...
Thanks JohnGraham and grumpy
I agree on the point
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...
@seemaxie, i guess for should be
for(i=0; i<=50 && c!='\0'; i++)
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...
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++) {
...
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
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...
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...
jimtuv, what you had is correct only i didn't noticed that part in your code. :)
By the way, looks like the link which you pointed out was written by you, great explanation.
Thanks for making it crystal clear.
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...
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?
Hi all,
I have two doubts relating to the following code.
#include <stdio.h>
int main(void)
{
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....
tabstop thanks for your explanation.
Thanks EVOEx, but some of my friends suggest that extern functions act like function pointers. Any idea on that?
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...
% 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...
Never know this one. That was a excellent point.