Try this, Add the following line in your add.h file. Like, #ifndef ADD1_H #define ADD1_H #include "add.c" int addnum(int a, int b); #endif...
Hi suin, You mentioned that "it doesn't help me while using loop".Can you give me what you tried.If the numbers are not consecutive looping is...
Tell me what is problem in your code. Whether I need to change your algorithm?
You can also use the following script. $str=~s/&(\w+)/{$1}/g print $str
Your script is working fine. I have checked with some input file which containing more than 2 sprintf(buf,"%s", sourcestring) line also.
I'm trying to figure out how to automatically list all the modules used by a particular program. Try this, foreach (sort keys %INC) {print...
After opening the file you need to read the file contents by fgets() function. fgets will read line by line from the file. While reading the file...
After opening the file you need to read the file by fgets() function. fgets will read line by line from the file. While reading the file itself...
Separate names with a comma.