Forum: C 22 Days Ago |
| Replies: 1 Views: 237 You can just
fopen("file", "w");
to create the file if it doesn't exist.
You can also try checking if a file exists using dirent.h on *nix, check this out:... |
Forum: C 22 Days Ago |
| Replies: 2 Views: 196 I once made a small kernel just for pure fun. It was very poor and I can really advise you on just one part of it.
> Memory management
You can use parts (or whole) code from this site: ... |
Forum: C 25 Days Ago |
| Replies: 1 Views: 379 I had once held a small project for Linux but that was a few months ago, and I hardly remember anything since it was my last project which I wrote for Linux. I mostly program for Windows now, but I'm... |
Forum: C 25 Days Ago |
| Replies: 2 Views: 279 In my opinion, creating merging the arrays and then sorting the merged array isn't a bad idea because it's simple. But that depends on what you seek - performance or simplicity. Everything is... |
Forum: C 27 Days Ago |
| Replies: 9 Views: 408 Can you paste the errors you get? And possibly more code?
By the first look I can advise to use pointers instead of int seat[][][][]. |
Forum: C Mar 14th, 2009 |
| Replies: 11 Views: 879 There are several ways to develop key loggers on Windows. I'll list them in order worst to best:
1. You could GetAsyncKeyState() from W32 API in a loop, but I guess most of the anti-viruses would... |
Forum: C Jan 24th, 2009 |
| Replies: 3 Views: 402 Yes, I expected to get an error, but didn't get one.
What I'm trying to accomplish:
"What I'm trying to do is to prevent some code using functions in a header."
It may be lacking something like... |
Forum: C Jan 23rd, 2009 |
| Replies: 3 Views: 402 Hello,
I had no idea which title I should have chosen. Anyway, I'll try to explain my problem.
What I'm trying to do is to prevent some code using functions in a header. This problem causes... |
Forum: C Jan 5th, 2009 |
| Replies: 2 Views: 773 It worked! I can't believe it was so simple :)
Output:
wrapper
wrapper zakonczyl dzialanie!
Thanks a lot! |
Forum: C Jan 5th, 2009 |
| Replies: 2 Views: 773 Hello,
I'm quite new here, but there's a problem that needs solution. I think the title says exactly what I want to do. I need to use C for a reason I don't think is this important to mention. I... |