Search Results

Showing results 1 to 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: stephen84s ; Forum: C and child forums
Forum: C Dec 23rd, 2008
Replies: 2
Views: 339
Posted By stephen84s
Simple read the "Starting C" (http://www.daniweb.com/forums/thread50370.html) thread at the top of the forum
Forum: C Dec 3rd, 2008
Replies: 5
Views: 564
Posted By stephen84s
Although I have never tried it, I have read the manual pages of both resolv.conf and resolver, and I found the following line which would interest you :-
This is from the resolv.conf manual page.
...
Forum: C Dec 2nd, 2008
Replies: 5
Views: 564
Posted By stephen84s
resolv.conf stores the DNS Servers your system should use, in plain text. Why would you want a special library to read it ???
Forum: C Dec 1st, 2008
Replies: 4
Views: 716
Posted By stephen84s
Now consider your code:-

if (nummer[i] < 0 && nummer[i] > 9){


Now according to me since this is a char array, you numbers will be stored as chars and hence you will need to check for their...
Forum: C Sep 27th, 2008
Replies: 6
Views: 11,188
Posted By stephen84s
Which platform are you running this on ?

When I was running Eclipse 3.3 on Ubuntu 7.10, I remember encountering a similar error (for a Linux GCC toolchain based project), So I had to install the...
Forum: C Jul 26th, 2008
Replies: 4
Views: 471
Posted By stephen84s
Ok got a solution to your problem here (https://answers.launchpad.net/ubuntu/+question/764) with just a little googling.

It says to install the libc6-dev package.
Forum: C Jul 26th, 2008
Replies: 4
Views: 471
Posted By stephen84s
Well can you tell us what you are trying to achieve here actually, I don't have much to go on from what you have posted !!
crt1.o looks to be an object file and it seems like your linker (ld) can't...
Forum: C Jul 26th, 2008
Replies: 3
Views: 443
Posted By stephen84s
You must be joking, you are not mentioning what errors you are getting , what sort of an application this is (console or gui), what you have tried to solve those errors, ... in fact you have not even...
Forum: C Jul 26th, 2008
Replies: 3
Views: 476
Posted By stephen84s
So your time is precious .... and not ours !!!!
Forum: C Jun 30th, 2008
Replies: 9
Views: 741
Posted By stephen84s
If an int variable is set to "1", the very last bit is set to 1 and rest all bits are 0, 1 << (8 * sizeof(int) - 1) moves that 1 bit to the very start of memory location of that int variable, so it...
Forum: C Jun 30th, 2008
Replies: 9
Views: 741
Posted By stephen84s
From the code I get the hint you are checking the sign bit here,
this solution would not always work,
For example consider the situation where
a = MAX_INT_VALUE; and b=MIN_INT_VALUE;
In such a...
Forum: C Jun 30th, 2008
Replies: 9
Views: 741
Posted By stephen84s
yes I do, but can I see what you have tried, cause this looks like one of those questions with little practical application and mostly for academic use only ?
Forum: C Jun 30th, 2008
Replies: 9
Views: 871
Posted By stephen84s
I had the same belief before, but some time ago Radical Edward had informed me in a different thread that (char * and char[]) are equivalent only when used in function declarations (eg void foo(char...
Forum: C Jun 29th, 2008
Replies: 9
Views: 871
Posted By stephen84s
When you declare a "char" array as char *abc="alpha", the string is not editable i.e. readonly,
You need to declare it as char abc[]="alpha";, if you wish to edit by using the abc[index]=''; method,...
Forum: C Jun 28th, 2008
Replies: 3
Views: 905
Posted By stephen84s
In your Hardy just hit
sudo apt-get install libsdl-sound1.2-dev

in your terminal, and try compiling your code.
Also in case the problem does not get solved, hit the following command in your...
Forum: C Jun 28th, 2008
Replies: 3
Views: 905
Posted By stephen84s
Which Distro of Linux are u using, Accordingly you will need to install the SDL development package for that platform,
You seem to be working with the sound library of SDL, on Ubuntu the package...
Forum: C Jun 24th, 2008
Replies: 6
Views: 685
Posted By stephen84s
No wonder your program doesn't work as you don't have a clue what you are doing.
....Anyways I wasnt the one begging via PM for help
Forum: C Jun 24th, 2008
Replies: 6
Views: 685
Posted By stephen84s
Haven't you ever heard of code indentation ?????

How can you free "ptr", ptr points to the node preceding the node to be deleted, you do not free "ptr", you free the node after "ptr"

Please...
Forum: C Jun 23rd, 2008
Replies: 6
Views: 685
Posted By stephen84s
Well you can make our task a lot easier by INDENTING your code


Anyway thanks to Eclipse I could indent your code directly.
Now lets look at your "delet" function

void delet(struct student...
Forum: C Jun 21st, 2008
Replies: 1
Views: 505
Posted By stephen84s
Try looking at sem_init (http://www.opengroup.org/onlinepubs/007908775/xsh/sem_init.html) ,
I think it seems to be what you are looking for.
Forum: C Jun 11th, 2008
Replies: 3
Views: 1,237
Posted By stephen84s
Yep the cURL API will make ur job more easier by handling lower level tasks
Showing results 1 to 21 of 21

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC