Dear zmbd,
This is not a homework question, I am an employee working in a software Organization. Actually i am preparing for the entrance of my masters(MTECH in india), while i was going through the concept of operator precedance while parenthesizing an equation, so that i can convert it into the infix form, generate a binary tree so that i can convert it into prefix and postfix form basing on binary tree traversal
I am really...
User Profile
Collapse
-
Thanks a lot for your replies..:)
I am using Windows 7 64bit right now, it works perfectly with my hardware configurationLeave a comment:
-
Siddarth777 started a topic Algorithm for Parenthesizing equation and finding the Operator precedancein AlgorithmsAlgorithm for Parenthesizing equation and finding the Operator precedance
Hi,
I have a problem, when an equation given to you, for instance,
a*b+c/d*e-f, how do you find the operator precedance in the equation and parenthesize it accordingly?
Is there any algorithm or such thing, which can help me do that
Please help me
Thanks in advance
Siddarth777 -
Siddarth777 started a topic what is the difference between serialized bean and a non serialized bean?in Javawhat is the difference between serialized bean and a non serialized bean?
Hi,
I have gone through the concept of serialization in java very recently, i understood what serialization means in java,
but why serialization is required in beans?
as i have done some research on net, i found that persistence can be achieved, i did not not understand how persistence can be achieved by using serialization.
can some one please shed some light on this?
with an example... -
Sorry for not making this clear, actually i was referring to the code in incapp_svr.c the first print statement in the function, which is not getting printedLeave a comment:
-
Dear Banfa, Thanks a lot for replying,
why is my PRINT STATEMENT not getting printed then, and can you please suggest me the solution for the problem?
Siddarth777Leave a comment:
-
Why Garbage value is getting printed???
I have written a simple RPC program for a simple increment operation on an integer using RPCGEN.
Code is getting compiled fine without any errors, when i call the client after starting the server, the method which i wrote for server is not getting called even after writing a small print statement to check whether the remote method is being called or not, i have no idea where i am going wrong
Here are the codes which... -
Prototype Declaration Error in RPC
Hi,
I am writing a sample RPC program in C language using RPCGEN tool in my UBUNTU 12.04, when i have finished writing my client and server codes, and when i compile the complete project using a makefile i get error in my server code
i encounter the following errors
gcc -c -o svc_proc.o -g -Wall svc_proc.c
svc_proc.c: In function ‘greetings_1_sv c’:
svc_proc.c:4:1: error: number of arguments... -
Unable to install windows xp
Hi,
I am facing a problem, recently i have upgraded my system with
1. AMD FX 4100 PROCESSOR
2. GIGABYTE 880T MOTHERBOARD
3. NVIDIA GT 520 GPU
4.Dynet RAM 4GB DDR3
but i am using the old harddisk of 160GB, when i try to reinstall windows, using the live CD, after the checking of system configuration i get this error
stating that
YOU WINDOWS HAVE ENCOUNTERED... -
actually in the above program, n means the size of the string, and for just the trial purpose i have used n+1 to test whether the complete string will be printed or not......so where i am going wrong
please helpLeave a comment:
-
johny10151981
thanks a lot for your reply but no luck
when i do as you say
a new error message pops up, saying
UNRESOLVED COMPILER ERROR
i am unable to understand where i went wrongLeave a comment:
-
Is there any way to instantiate the System class?
hi, am a newbie java programmer
as we know that when we want to print anything on console
System.out.prin tln is used
but i want to instantiate the system class such that i can write the code as
System.obj1.pri ntln("hello world")
is there any way to do that
i wrote a sample code but it is not working
Code:class helloworld {
-
why the complete string is not getting printed?
Code:#include<stdio.h> #include<stdlib.h> int main() { char *ptr; int n,i,count=0; printf("How many characters do you want:"); scanf("%d",&n); ptr=(char*)malloc(n*1); if(ptr==NULL) { printf("memory allocation error"); exit(1); } for(i=0;i<n;i++)
-
Dipen Mehta
thanks for replying, as i've already mentioned that am using UBUNTU along with windows, internet is working perfectly fine over there, without any problem, in case if am having any problem in PC or MODEM, the internet shouldnt work in ubuntu, but unfortunately it is working, so unable to figure out what exactly the problem is
please helpLeave a comment:
-
Internet problem in WINDOWS XP SP2
am suffering with a peculiar problem, i have UBUNTU and WINDOWS installed in my harddisk, internet in ubuntu just seems to work fine, but when it comes to windows internet is not working, and a peculiar thing i have observed is, that the LED for LAN on the modem is also not glowing.
At first i thought it might be the ETHERNET drivers problem so, i uninstalled and reinstalled the ETHERNET drivers but no use.........
... -
Thanks a lot for all,who helped me in my code development
i have figured a way to return the complete array it is working
heres the code i am posting
any enhancements needed?
please let me know
here is my code:
Code:#include<stdio.h> //#include<conio.h> int siddu(int *x) { int i; int a[20];
Leave a comment:
-
thanks a lot everyone for your valuable replies
especially DONBOCK thanks a lot for your explanation of the warnings
but it did not help
am unable to get the output, i.e to print the complete array
am not getting any errors or warnings
this is the code
Code:#include<stdio.h> int* arr(int *n) { int a[20],i,*add; //'add' is for storing the address of the first
Leave a comment:
-
thanks a lot for ur reply.......... ..........
but the problem is,it is not even printing the first valueLeave a comment:
-
how to return an array from the function
i have written the code below which should print the value int the first array location
<CODE>
#include<stdio. h>
int arr(int *n)
{
int a[20],i;
printf("ENTER THE ELEMENTS OF ARRAY:");
for(i=0;i<*n;i+ +)
scanf("%d",&a[i]);
return a;
}
main()
{
int a[50],i,s,*val;
printf("ENTER THE SIZE OF THE ARRAY:");... -
Siddarth777 replied to Will my linux become vulnerable to virus threats by installing wine software?in Securitythanks a lot for replying:)
Even if any virus specific for WINE can damage linux?
but linux wont open a gateway for malicious code to enter into the system..is that right?Leave a comment:
No activity results to display
Show More
Leave a comment: