User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 402,935 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,879 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Contribute Code
My first experience with pointers. Learned how to spell a string foreward and backward using pointers. I hope you can learn too! (View Snippet)
A console application to multiply two matrix of float numbers and print result on console. Some memory checks are done as it is allocating memory dynamicaly. May give error and exit when short of memory. (View Snippet)
this code is to find the factorial of a number by the recursion principle. trace the control flow in this program very carefully. (View Snippet)
This snippet shows one way to count the number of lines in a file. It will count the last line of a file even if the last line does not end in a newline. Usage: C:\>linecnt linecnt.c lines = 32 (View Snippet)
This program was created by Gavindu Nuwan Dileepa and using this program you can add data to the stack , delete data and also you can view data from it... for more information contact gavindu123@gmail.com.. thanks (View Snippet)
Many times strtok is recommended for parsing a string; I don't care for strtok. Why? It modifies the incoming string, so it cannot be used with string literals or other constant strings. The identity of the delimiting character is lost. It uses a static buffer while parsing, so it's not... (View Snippet)
How might I write an implementation in C of the standard library function strcmp? Here's how I might. See also Strings: Comparing, Case-Insensitive. (View Snippet)
How might I write an implementation in C of the standard library function strcpy? Here's how I might. (View Snippet)
How might I write an implementation in C of the standard library function strstr? Here's how I might. What if I need it to be case-insensitive? (View Snippet)
How might I write an implementation in C a case-insensitive version of the standard library function strstr? Here's how I might. But I need it to be case-sensitive? (View Snippet)
Contribute Code
All times are GMT -4. The time now is 5:31 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC