Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #14.9K
Ranked #2K
~3K People Reached
Favorite Tags
c x 11
c++ x 2
unix x 2

9 Posted Topics

Member Avatar for Mahen
Member Avatar for peter_budo
0
280
Member Avatar for Gchan

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.

Member Avatar for mrnutty
0
75
Member Avatar for Ineedhelpplz

[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?

Member Avatar for Ineedhelpplz
-1
529
Member Avatar for Ineedhelpplz

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, …

Member Avatar for Ineedhelpplz
0
988
Member Avatar for jen140
Re: LS

You could [url="http://totally-out-of-ideas.blogspot.com/2009/02/getting-simple-directory-listing-in.html"]roll your own[/url].

Member Avatar for jen140
0
126
Member Avatar for Samyx

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 …

Member Avatar for Samyx
0
175
Member Avatar for adhetola

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.

Member Avatar for WaltP
0
85
Member Avatar for sara.rythm

[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, …

Member Avatar for Dave Sinkula
0
943
Member Avatar for biozero

The End.