- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 15
- Upvoting Members
- 13
- Downvotes Received
- 11
- Posts with Downvotes
- 7
- Downvoting Members
- 8
- Interests
- Coding Coding Coding ...
- PC Specs
- Ubuntu Windows Xp
69 Posted Topics
Re: If want sm help to start up .. use a counter and start counting with the first word, when SPACE detected word ends so temperoraly tht word has longest length store that length in a variable thn start counting length for next word, Compare word length for both. Depending on … | |
Re: You want to show how to shutdown ?????????????????????? | |
Re: U using older borland compiler may be .. It worked totally fine @ me .. I compiled in Dev-C++ it worked fine but not working in borland .. | |
Re: Here is another Turbo-C car racing game .. [URL="http://bit.ly/iefllI"]http://bit.ly/iefllI[/URL] | |
Re: use a for loop with a count start with i=1 thn have a MAX value .. inside loop go on printing count (i) numbers of stars U will get this * ** *** **** .... | |
Re: [B]I guess[/B] first you print [CODE]echo $oldpassworddb."<br>";[/CODE] which printing [B]123456[/B] means you [B]not using md5()[/B] while storing password into database .. | |
Hey friends .. Can anyone give me idea on how to Create a button similar to like button of facebook .. I think they use complicated API n all .. I want it to be simple but useful .. Can anyone help me with this please .. | |
how do i make the textbox automatically scroll down all the way to the bottom? thanx in advance | |
I am new to SQL .. [code]SELECT status FROM statuses ORDER BY date;[/code] I know this will order by date but i want to alter the table and rearrange them by datestamp.. Is it possible to alter like that ? | |
Re: If you have to read numbers of all 20 students thr is no need of scanning student_num. So remove that line and initialise student_num to 0. [CODE]student_num = 0;[/CODE] and better to read all numbers in one loop than use another loop to print them all at once.. And if … | |
Re: Yup ... [CODE] if (file = fopen(file_name, "r")) { printf("Exists"); fclose(file); } [/CODE] Merry Christmas to u too ... | |
Hi friends .. I have a mailing_list file .. I wanted to check whether the visitor entered Email already exists in file? Is there any standard function for it ? | |
Re: Apache 2.2.11 PHP 5.3.0 MySQL 5.1.36 [URL="http://www.wampserver.com/en/download.php"]http://www.wampserver.com/en/download.php[/URL] | |
Re: @Trentacle He casting to int directly dude how he will get correct int value?? @Vedro You can do like this, (with some Portability issues ;) ) [CODE] n = getchar()-'0'; [/CODE] Something good will come out ;) :D | |
Re: NULL is a macro defined in <stddef.h> for the null pointer. Its not '/0' its '\0' '\0' is defined to be a null character, a character with all bits set to zero.Used as end of string. | |
Hello friends .. I wanted a feedback form for my small site... Its pure HTML and i dont know anything about PHP .. I got a script which mails the form contents to the admin.. Here is the code [CODE] mail( "$webmaster_email", "Feedback Form Results", $comments, "From: $email_address" ); [/CODE] … | |
Re: But we have both char = char and char = int lines ... Is it not better if he uses both char and than convert to int wherever necessary .. [CODE] struct read_file { char first[100]; char second[100]; } var; fscanf(fp, "%s = %s", var.first, var.second); [/CODE] | |
Re: pointer is not initialized .. Following code ay help .. [CODE] #define MAX 100 data first; data *fp; first.name = malloc(MAX); fp = &first; scanf("%s",first.name); printf("fp is %s\n",fp->name); [/CODE] | |
Re: I got this [URL="http://www.portaudio.com/download.html"]http://www.portaudio.com/download.html[/URL] [URL="http://www.daniweb.com/code/showthread.php?t=216360"]http://www.daniweb.com/code/showthread.php?t=216360[/URL] | |
Re: I think K&R is best book to read after learning basics of C, I read BalaguruSwamy .. An indian author .. Heard about this book but not read .. [b]C Programming: A Modern Approach by K. N. King [/b] | |
Re: [B][COLOR="Red"]Toooooooooo Cool .. Super cool...[/COLOR][/B] [COLOR="Red"]Mera[/COLOR] Bharath [COLOR="Green"]Mahan[/COLOR] :) :) :) :) | |
Hello everyone .. Im learning PHP on my own .. I installed Apache on Windows XP and trying install PHP, tried both installer and manual way but its not working :( PHP scrips getting downloaded .. Can any one give me a good link for step by step installation ? | |
Re: I think you checking even new line char '\n'.. Try to trim newline char and than check for palidrome .. | |
Re: Its possible may be.. I dont know in C but i saw a similar program in C++ .. though didnt understood ;-) | |
Re: B4 posting it want to say im student and if any mistake im sorry May be like manually how we do ... Assign first term of p4 to p5 and then go on checking if same exponent term exists, If exists add thr coefficinents and if not than add that … | |
Re: @Colin mac . They are different functions used to get user inputs similar to scanf and getche() which your sir suggested.. U can google to know more about functions like getchar() getch() fgets() .. | |
Re: I not getting what help you expecting from all?????? see your code [CODE] while(1) { printf("\ntype 'ls' to see your whats in your current directory or press x to continue "); scanf("%c", &input); if(input[0] == "ls") { system(input); continue; } else { if (input[0] != "ls") break; } [/CODE] You … | |
Re: May be getc() wont return unless enter hit so use getch() which returns key pressed and neither echo it to the screen.. [CODE]if ((answer = getch()) == 'x')[/CODE] | |
![]() | Re: First of all, when you scanning float u should use %f [CODE] scanf("%f", &num); [/CODE] I think u need an int operand to to use with %.. so cast the float to int with (int) [CODE]rightdigit = (int)num % 10;[/CODE] |
Re: I dont think following lines are required in your your program [CODE] *nextRow = &row; *nextColumn = &column; [/CODE] When you call function with appropriate parameters, nextRow and nextColumn will be initialized . I am not getting why u changing there values again and making them point to other. may … | |
Re: String ends at space so it wont scan countinued name after space.. [CODE] fscanf(pt,"%d %[^,]s ",&num,surname); fgetc(pt); fscanf(pt,"%[^\n]s",name); [/CODE] | |
Re: Post your code .. We will help to solve probs .. | |
Re: Answer is 3 .. First 3*3*3 gives 27 thn modulus operator gives remainder of 27%4 Hence ans is 3.. I got your doubt U thinking 3*3*3%4 = 3*3*(3%4) = 3*3*3 = 27 but its wrong .. U need to refer operator precedence in C [COLOR="Red"]* / % Multiplication/division/modulus left-to-right[/COLOR] so … | |
Re: Learn OpenGL dude .. Check this out [URL="http://www.cs.uccs.edu/~semwal/indexGLTutorial.html"]http://www.cs.uccs.edu/~semwal/indexGLTutorial.html[/URL] | |
Re: Multiples of 3 gives 27 the remainder of the operation is given by modulus operator(%) so . 27%4 = 3 which is remainder obtained by division .. | |
| |
![]() | Re: @Dragon I think he is opening two different files .. One is familyin.txt and familyout.txt.. Whr you talking about those two??? |
Re: Copying multiple files into one?? may be cat command you are saying abt? | |
Re: Both are right .. and U cant use array names on left of the "=" .. Its actually address of the first momory location allocated for the array not a variable name so u cant change that address .. Thats why the Lvalue error .. | |
Re: U are on the way but need more efforts .. Check this may help As you know fib series is obtained by adding previous numbers, You want recursion so function must call itself repeated to get serious Here is function which does that [CODE] fib (int x, int y, int … | |
Re: Those are not formula .. U need to understand program flow, how actually program runs and how decisions are made in its way .. Hope Vinit 'll agree with me ... | |
Re: [URL="http://www.cprogramming.com/tutorial/lesson16.html"]Recursion[/URL] | |
Re: You can start with linus torvalds original linux with is small and easy to understand .. and later you can go on adding few features to that.. Google you can download those codes for free .. | |
It counts upper lower and digits in a file .. |
The End.