No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
Can any body tell me the difference between file descriptor and filepointer in C on linux? and when to use what? | |
Re: [QUOTE=p3_tib2001;607927]Help! Now I study about NAT (Network Address Translator), it is a new way about translate IP local to public. Ok, the point is when I want to install NAT in LINUX, i got error messages like below. I think this is about coding in nat.h. What should I do … | |
Hi.. I have created a shared object by developing and compiling it on RHEL 5. Than I tried to use same shared object on RHEL 4 and SuSe 10.0.But it didn t work.Error message shown was " Floating point exception". Machine architecture was same for all the three distos. So … | |
Re: You can use do while loop. for eg: char ch; do { stuff to be done . . . printf("Do u want to continue(y/n):"); scanf("%c",&ch); }while(ch!='n'); . . . remaining stufff.... | |
Re: [QUOTE=web_master;603691][CODE] #include<stdio.h> int main() { int i ,j ,a[5]; for(i=0;i<=4;i++) { printf("\n\tEnter the %dst value of the array: ", i+1); scanf("%d", &a[i]); } j = a[0]; printf("\n\tOriginal array entered by the user: "); for(i=0;i<=4;i++) { printf(" %d ", a[i]); if(a[i]<a[i+1]) { j = a[i+1]; } } printf("\n\n\tGreatest no. from the … | |
Hi.. I have written a C++ program to compress and decompress jp2k files. But when I am executing this program the CPU usage is 100%... Can any one tell me : why is it so and how to reduce CPU usage? I have compiled same code on windows and Linux … | |
Hi... I am using RHEL 5. But I am not able to view jp2 files on it... I have searched on net to find some plugin to do so.. Got one but it worked only once... So anybody can please tell me what to use and from where I can … | |
I have created a shared library in some directory and Copied it to /usr/lib path. Now when I execute my program by just specifying name of the program with g++ compiler, I am getting error undefined reference to 'printhello' .. Print hello is the function which I have defined in … | |
hi... I have been assigned a task of porting Windows DLL on Linux... DLL is being created using C++ and IPP (Integrated performance Primitives,set of libraries). VC++ IDE has been used for wring the DLL... I know that in Linux Shared Object is being used in place of DLL... But … | |
When I execute this code ,it accepts 2 nos,prints the msg enter your choice and terminates.. [code=c] #include<stdio.h> int main() { char ch; int a,b; printf("enter 2 nos :"); scanf("%d %d",&a,&b); printf("\nenter your choice:"); ch=getchar(); printf("%c",ch); switch(ch) { case '1': printf("sum : %f",a+b); break; case '2': printf("diff : %f",a-b); break; … |
The End.