No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi. . can any one help me in converting infix to postfix. . i do not know what is wrong in my code. . help!!!plz [code] #include<iostream> #include<string> #include<conio.h> #include<stdio.h> using namespace std; void main() { char stack[10]; char input[10]; char output[10]; char plusminus,multdiv; int a; cout<<"\tInput an infix expression:"; … |
|
Re:
i created this program and it works perfictly but how do i make it so all the numbers,that this loop prints out, add together? heres the code[CODE]#include<iostream> using namespace std; int main() { int i,n,a,b; b=1; n=1; i=100; a=100; while (n<=i){ cout<<n*26*n<<endl; n=n+1; } system ("pause"); }[/CODE] |
|
Re:
Hi, I want to know about C++, How do I declare a constant (like C++ const) in Java(tm) and how do I declare enums (like C enum) in Java(tm).if any one knows about this reply me Thanks in advance |
|
Re:
hey, i read that in C++ some programmers consider using break and continue statements as a violation of structured programming practise....... and usually avooid using them except in switch statements..., i will like to know how to use the structured equivalent of these statements..... i want to know the statement … |
|
Re:
:( please help me in my laboratory exams in c++ programming... please give me a source code and .exe file on the following program: FOR STRINGS Write a program that inputs 4 string that represent integers, converts the strings into integers, sums the values and prints the total of the … |
|
Re:
ok i got my loop to work but i need to make it where the user has to enter a grade between 0 and 100, I tried by using [CODE] int grade(0<100);[/CODE] but it doesnt work. what do i need to do? also how do i get the program to … |
|
Re:
Hello everyone, I am having trouble fine tuning my code. I like to have all the bulky parts of my main in functions, and I can not seem to figure out how to write this code as a function. Anyone tell me where to start? [code=c++] int main() { int … |