Search Results

Search: Posts Made By: showkat161
Forum: Programming 06-17-2010
12,384
Posted By showkat161
My last code makes it generalized- Don't you...
My last code makes it generalized- Don't you think so?
Forum: Programming 06-15-2010
5,834
Posted By showkat161
This looks Odd
Can you try pressing delete at the end of the file, so that the cursor does not move further( I mean delete all blank lines)... Please let me know if it resolves the issue.

---------- Post updated...
Forum: Programming 06-14-2010
12,384
Posted By showkat161
yes you are right.. So if I include the statement...
yes you are right.. So if I include the statement that you used to get the count of n then combination of you and me will make this program even better- right?

# include <stdio.h>
# include...
Forum: Programming 06-14-2010
5,834
Posted By showkat161
One more way would be
int main( int argc, char *argv[] )
{
FILE *fp;
char word[100];
int lp_cnt=0,w_cnt=0;

if ( argc!=2 ) {
printf("Usage Wrong\n");
exit(1);
}

if...
Forum: Programming 06-14-2010
12,384
Posted By showkat161
I would do it this way
# include <stdio.h>
# include <string.h>
int main(void)
{
char *s[] = {
"We will teach you how to..",
"Move a mountain",
"Level a building",
"Erase the past",
"Make a million",
"....all...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy