Hello,
I have downloaded targa2.c and tried to compile it with gcc compiler under cygwin (CYGWIN_NT-5.1). I checked all the header files, and everything is fine.
targa2.c can be found here:...
Type: Posts; User: Moony
Hello,
I have downloaded targa2.c and tried to compile it with gcc compiler under cygwin (CYGWIN_NT-5.1). I checked all the header files, and everything is fine.
targa2.c can be found here:...
Well, I was looking for a way enabling me to execute .bat file when clicking on an image, i.e. appending .bat file underneath the image. I thought that I can do this using C programming, since I did...
Hello all,
Can I have DOS commands inside an image file, perhaps using C programming?
Whenever the image is opened the DOS commands are executed.
FYI: I know that I can use system function to...
Hello,
I was working on a problem for generating the binary combination of x digits, as input. E.g. for x = 2, I have 2^2-1:
0--> 00
1--> 01
2--> 10
3--> 11
My program solves this by...
You are right, there should be no number with leftmost zeros, thus, there would be only one solution. Thanks all.
Hello,
Few days ago I was thinking about finding algorithm for the following problem, and I got some ideas, but still not covering all the cases:
The algorithm takes as input:
100234190 =...
Oh, I got where is the mistake.
Thanks Salem.
Yeah, I run it with 2 args:
$ ./mul.exe 2 3
As I changed the printf() to gmp_printf(), but with no changes
Hi all,
I have this code:
#include <stdio.h>
#include <gmp.h>
int main (int argc, char* argv[])
What do you mean by very different?
Hi,
increasing or decreasing for loop?
i = i+1
or
i++;
or
I think that the best and most quick responses would be found in:
http://forum.java.sun.com/forum.jspa?forumID=31
Why including \n in : printf("Enter your name: \n") did not flush the output?
That solved the issue. But, using gcc ver. 3.4.4 it compiles fine without fflush(). Can you give any reason of why and what is the cause of this?
Hi all,
I just installed CDT tool for C programming under Eclipse, but when compiling the first simple program:
#include<stdio.h>
int main(){
char name[30];
It should be int main() since it returned 0, right?
Eclipse is good for students. I used to program C in any editor under Cygwin like vim, but for me, Eclipse works great in notifing any writting-error e.g fpoen() will be notified directly by eclipse...
Hi all,
I want to configure Eclipse for C programming. I searched the net and found CDT for such purpose. But, I don't know which one is the best for the version that I have. Also, I don't know...
try ip without *.
I think the problem with *ip here is the mistake
Is this a sarcastic sentence!! Please be more clear if there is any libraries (for playing/creating/manipulating..etc)
Hi all,
I searched the net for any MIDI libraries and I did not find any useful results :( Does C language support audio/midi programming?
Hi,
I read that C programming language doesn't support mutlithread. Are there any libraries implemented for such purpose? And, what is the difference between process and thread?
Can anybody provide me with some examples of using:
1. SHGetKnownFolderIDList
2. UnDeleteFile
I have read the documentation and I think for any newbie in win-programming it will not be enough.
okay, how this can be done for "win" ? The second " can be added using strcat, but what about the first " ?