- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
Re: Put it out on your lawn with a 'for sale' sign on it. ;) | |
Re: Have you tried anything at all? Post some code first, (an honest attempt - not just something thrown together) as nobody wants to do all your work for you. | |
Re: [CODE]while ((len = getline(line, MAXLINE))>0) { WS++; } while(WS>1)[/CODE] What is the value of WS here? I mean, before you do the increment? | |
Re: Well, you call getline, but as far as the compiler is concerned, the only place getline exists is where you called it... Is that dramatically wrong enough for you? Edit: By the way, you really ought to turn the warnings for your compiler on. They are there to be used, … | |
Re: You could [url="http://totally-out-of-ideas.blogspot.com/2009/02/getting-simple-directory-listing-in.html"]roll your own[/url]. | |
Re: First of all, try something like this: [CODE]gcc -Wall -Wextra -o exe3test exe3test.c uniform.c -lm[/CODE] The -Wall & -Wextra switches will give you a little more info about what you have done wrong in your code, and where. As you can see, I added the uniform.c file to the compile … | |
Re: How about you post some code from your best attempt? Lots of people here are more than qualified to help you, but they are not going to do all of the work for you. | |
Re: [QUOTE=Narue] Because it's useless trivia. Questions like this are basically like tricky riddles: unless you already know it, you probably won't figure it out on your own. You also won't use it in the real world. Even the smallest embedded system will have enough spare memory for a temporary variable, … | |
Re: Is there any way we could have a look at the source, or is it private? ~/ |
The End.