Forum: C 24 Days Ago |
| Replies: 8 Views: 1,810 This is the implementation, firstly you can't do this in one line, and even if you could nobody would care. |
Forum: C 31 Days Ago |
| Replies: 1 Views: 234 We wont give you a free solution to what's probably homework, have you even tried it yet? |
Forum: C Oct 6th, 2009 |
| Replies: 3 Views: 226 They can also be very helpful outside structures, for example in this snippet I made some time ago. [link] (http://www.daniweb.com/code/snippet217147.html)
I used it in the main scope as a structure... |
Forum: C Oct 6th, 2009 |
| Replies: 4 Views: 198 Capital letters go at the start of a sentence, not the end. :icon_lol: |
Forum: C Oct 6th, 2009 |
| Replies: 7 Views: 270 Great, after three threads of being told to post the code, you don't use code-tags :icon_confused:
Please, read the rules too. |
Forum: C Oct 5th, 2009 |
| Replies: 9 Views: 799 Because, I like it, it's a simple function which has one purpose, to convert an integer to string (with a radix). If anybody complained that they couldn't compile my code on a crap compiler, I... |
Forum: C Oct 5th, 2009 |
| Replies: 1 Views: 350 |
Forum: C Jun 24th, 2009 |
| Replies: 9 Views: 660 Cheesey, how about this. I know the exact problem you're facing, but I don't think I want to help you anymore.
Seems your attitude here isn't getting you anywhere. |
Forum: C Jun 23rd, 2009 |
| Replies: 11 Views: 559 It's not an official rule that you're not allowed to give away free solutions, so if he wants to give them away, he has that choice. He wont be given any warnings by a moderator.
On the other... |
Forum: C Jun 2nd, 2009 |
| Replies: 22 Views: 934 Shouldn't it be a & and not a &&? Otherwise the && # is pointless. |
Forum: C Jun 2nd, 2009 |
| Replies: 22 Views: 934 >William, regarding your post (#11): I think that int main( void ) is the preferred way in C
I think we're looking into things far too much here. It works now, so let's just leave it at that, OK?... |
Forum: C May 23rd, 2009 |
| Replies: 10 Views: 1,315 Your ungratefulness to people who are trying to help you is getting you nowhere, just follow a few simple rules and then we're all happy. |
Forum: C Apr 26th, 2009 |
| Replies: 1 Views: 230 >Help me with suitable code...
We don't give away code.
Start by posting code you wrote to show us that you've put some effort in, and explain your problem more clearly. |
Forum: C Apr 26th, 2009 |
| Replies: 6 Views: 595 Well depending on how you're outputting those values, this can be done in a few different ways. But if the values are c-strings before you output them, passing them to a simple function like this... |
Forum: C Feb 24th, 2009 |
| Replies: 8 Views: 16,271 Go ahead then, tell us how to do it in one line. |
Forum: C Feb 20th, 2009 |
| Replies: 10 Views: 885 In future, remember to use code tags (http://www.daniweb.com/forums/announcement8-3.html).
Here is the code how I would have formatted it, after cleaning it up a little for you.#include <stdio.h>... |
Forum: C Feb 19th, 2009 |
| Replies: 2 Views: 1,057 >plz help its urgent...
Not for us.
>i actually want to read the raw file(CR2 file) of jpeg image using turbo C...
You shouldn't be using Turbo C in the first place, you should get yourself a... |
Forum: C Feb 7th, 2009 |
| Replies: 3 Views: 835 This question has been asked many times. There's a few ways to do this, an easy way is to simply fill up the array with unique integers, then shuffle it like this:#include <stdio.h>
int main() {
... |