Forum: C++ Apr 4th, 2005 |
| Replies: 1 Views: 1,164 i need help to rewrite this in infix to postfix using class. it was in a struct format at first, now i need to format this in a class version.
#include <iostream>
#include <cstring>
using... |
Forum: C++ Apr 1st, 2005 |
| Replies: 0 Views: 2,067 how do u rewrite the infix to postfix conversion using class. i have my code from struct stack type.
#include <iostream>
#include <cstring>
using namespace std;
const int SIZE = 20;
private:... |
Forum: C++ Feb 24th, 2005 |
| Replies: 2 Views: 2,642 #include <iostream>
using namespace std;
#include <string>
#include<cstring>
int main()
{
char list1[50][31],list2[50][31],list3[100][31];
int i, size1, size2, i1, i2, i3; |
Forum: C++ Feb 17th, 2005 |
| Replies: 2 Views: 1,690 #include <iostream>
#include <string>
#include <fstream>
using namespace std;
void main()
{
ifstream indata;
ofstream outdata;
char name [13][20];
float avg[20]; |
Forum: C++ Dec 8th, 2004 |
| Replies: 2 Views: 1,344 i am trying to do a program but i have two error and i don't know what they mean. can someone please help me.
this is the program
#include "stdafx.h"
#include <iostream>
using namespace std; |
Forum: C Dec 7th, 2004 |
| Replies: 3 Views: 1,621 this is the beginner again
how do u display one of three user-selected shapes, ('T'=triangle, 'D'=diamond, or 'R'=rectangle and 'X' to terminate). using a switch statement.
please help me with... |
Forum: C++ Dec 6th, 2004 |
| Replies: 4 Views: 1,862 i am trying to avg scores but i keep getting errors, can someone please help me.
#include "stdafx.h"
#include <iostream>
using namespace std;
const int SIZE =3; |
Forum: C++ Nov 16th, 2004 |
| Replies: 1 Views: 8,502 i don't know how to get some of the codes. how do u load an array
code
//C++ Program to demonstrate basic array function operations
#include<iostream.h>
const int ARRAY_SIZE = 5;
void... |
Forum: C Nov 16th, 2004 |
| Replies: 2 Views: 1,847 Write a program that will prompt a user to enter an integer between 2 and 999, inclusive.
As output, the program will display all prime integers between 2 and the user-input value.
This program... |
Forum: C Nov 14th, 2004 |
| Replies: 3 Views: 5,887 how do you convert to binary.
i have to write a program that will prompt the user to enter an unlimited(user defined) number positive intergers, the program will convert each positive... |
Forum: C++ Nov 10th, 2004 |
| Replies: 1 Views: 1,434 hi guys i ask for help but know one responded, so i figured i will ask again.
this is the first problem and why i can't print out a rectangle, triangle and diamond. i need know what am i... |
Forum: C++ Nov 10th, 2004 |
| Replies: 7 Views: 2,801 |
Forum: C++ Nov 10th, 2004 |
| Replies: 7 Views: 2,801 i am a beginner, and i have 4 questions but i will only ask 2,
1. i have an assignement that says, write a program that will display one of three user-selected shapes, ('T'=triangle, 'D'=diamond,... |