No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
I have made a singly linked list that holds an integer & a string. The creation of the list works fine but deletion of a node is giving an error. Previously I was not adding a string to my list(only adding int)& at that time the code was working. please … |
|
Re:
Hi guys. I cannot figure out how to do next thing. for example i have a little progie like this: [CODE]int myfunction(int argc, char *argv[]){ int i; for(i=0;i<argc;i++) unlink(argv[i]); } int main(int argc, char *argv[]){ myfunction(argc,argv); }[/CODE] works fine, but i'm trying to do that: [CODE]int myfunction(int argc, char *argv[]){ … |
|
Re:
Hi I am new to scripting.... i want to write a simple script file that executes the following command `java -version`.... i have to read the output given by this command inside my script.... [code] var_name=`java -version` echo $var_name [/code] just displays java -version i want the output of java … |
|
Re:
Hi, I'm trying to get two small programs that use macro to work but neither of them is doing so the first macro selects the least significant bit from an unsigned char [code] #include <stdio.h> #define LBIT(X) (((X)&1)?1:0) int main() { unsigned char a; printf("Enter a character:\n"); scanf("&c",a); printf("Least signficant … |
|
Re:
What does the following code do when the input is 56789 1234 45a72 int i; float f; char name[50]; scanf("%2 %f %*d %2s",&i,&f1,&name); When I ran the code in the compiler and used printf to check the results i got 56 789.000000 45a72 I understand that it didn't 1234 because … |
|
Re:
Hi, everybody. This is my first day here. And I create a new account because I hope to learn more from you. Here is the my task. I have a text file, it contains a DNA sequence. I want to fragment it into sequences with a definitive length into a … |