hi
This is Harika. Now iam using perl with swig interface to test c modules manually. Would you please tell me something about packet generator in perl to test my c modules completely in all the corners.
In detail: Using perl with swig i will give input to c api and those will pass through module and produce the output. Now meanwhile i have to generate some packets of ethernet or ip over ethernet or valn etc. So far...
User Profile
Collapse
-
perl with swig to test c files
hi everybody,
Iam writing perl scripts with swig to test c modules. I want t o tell you that the required files (included .h and .c files) are put in different folders and in different paths, then how do perl scripts identifies functions which are called in the module. But those functions are hold in different folders. could you please help me in this regards. [how to include directory structure in swig]
Thank you -
testing c module using python with swig
hi everybody
Iam learning python. I have to write test scripts for c files. I did using swig and python. Using python i give input to a function and gets the output and shown using python script itself. If i take comeplete module. Different files will be at different directories, in that case how can i test a module using python & swig.
For now iam putting all the files in one directory and writing script to test the module.... -
automation testing for c using tcl/tk
hi all,
I want to do automation testing using tcl/tk for the complete code of c. I have to automate the complete control flow of the project based on c. The project is basically have strong relationship with structures pointers, buffers, double pointers. I know the tcl/tk some what. But i dont know how to do automation with it. let me know th requirements for it. Inform me the merits and demerits of tcl/tk.
... -
c program usind bitwise operators
Hi all
Any one of you would give me small c program using bitwise operators to below given statement.
A function setbits(x,p,n,y ) that returns x with the n bits that begin at position p set to the rightmost n bits of an unsigned char variable y (leaving other bits unchanged).
For ex:
if x = 10101010 (170 decimal) and y = 10100111 (167 decimal) and n = 3 and p = 6 say then... -
How to assign memory for a member in a structure at run time
Hi all,
I want to make a structure in c but its members should not get memory. Depending on, one of members memory should be assigned according to other member when ever i requires. -
hi Banfa,
Thanks for ur best reply. But it doesnot works in linux. I need header files which is included in linux. Would u help me pls.......Leave a comment:
-
hi,
Actually now i prepared java file having smail pics at left. when i make right click on any of the image i should open a jsp file having tree structure.
I mean i have to call jsp file when i make right click on image.
would u help me pls.Leave a comment:
-
hi,
Actually now i prepared java file having smail pics at left. when i make right click on any of the image i should open a jsp file having tree structure.
I mean i have to call jsp file when i make right click on image.
would u help me pls....Leave a comment:
-
hi,
Actually now i prepared java file having smail pics at left. when i make right click on any of the image i should open a jsp file having tree structure.
I mean i have to call jsp file when i make right click on image.
would u help me pls....Leave a comment:
-
JApplet implementation
Hi all,
I want to write a java program to get a image. When i click on that image i should get a frame right of that window. we have taken Japplet but there is something required to make it finish.
I hope any of u can help me.
Thank you. -
Hi Banfa,
Actually we want to count current time in milliseconds and then has to show such a way that hr/min/sec/msec.
Would u tell me the header files and functions in c required or else an example c program.
Thank you....Leave a comment:
-
Getting current time with milliseconds
hi all,
I want to take current time with milli seconds in C. Does it have any header file to include to produce time in milli seconds.
Please mail me if any of u know.
Thank you. -
Can any of you tel me about the header files and functions needed to the above task....Leave a comment:
-
Dear sir,
This is Harika. Thank you sir with your compatible reply i have solved my problem with putting new line character in scanf() function is shown below.
#include<stdio. h>
main()
{
char...Leave a comment:
-
Operating Keyboard using C
Dear sir/madam,
Would you tell me the header files and functions required to operate keyboard, i.e when i click a button A in the key board i must get the letter B simultaneously anf if i click the button ENTER key it must work as similar to SHIFT key and vice versa.
I will be so glad if u show some example C program accordingly.
Thank you. -
Good evening sir,
Actually i have taken sufficient memory to store the string.
consider the below example as u told,
~
#include<stdio. h>
main()
{
...Leave a comment:
-
Dear pukur,
Thanks for ur reply. Iam so glad with ur reply. But iam getting segmentation fault which u sent the program. I have got that when we put getchar() functions twice concurently. It executes succesfully without putting any fflush. What do u say of it.
for ex:
#include<stdio. h>
...Leave a comment:
-
Query
Dear sir/madam,
This is Harika. I have a doubt about a function called getchar().
Why it doesnot work after reading a string using scanf() function.
For ex:
printf("Enter the string");
scanf("%s",a);
b=getchar();
putchar(b);
I hope u would give me compatible solution....
No activity results to display
Show More
Leave a comment: