thank you,,,
yes you r right i have to initialize the size first :)
Type: Posts; User: ladybird__86
thank you,,,
yes you r right i have to initialize the size first :)
i make the user who enter the strings it is much easier ;)
woooow :D
woooooooooooow lastly i did it :D
thank you all of you for helping me ;)
first of all thank you for helping me :)
second:
1) i didn't take std::string befor :/... so i have to keep it as char array :(
2) i correct it
3) you mean i need loop right !
4) i correct it ...
100 is the size of the stack ! is it wrong ! :s
hi all...
i have a weird compilation error... when i declared an object
|error: no matching function for call to `Stack::Stack()'| !!!!!!
this is the code!!
#include <iostream>
#include <iostream>
#include <string.h>
using namespace std;
#define SIZE 100
char C1='(';
char C2=')';
class stack {
private:
ok i will :)
my problem in how to read a string and push a character into a stack !!
also the balanced function... i really dont understand how to make it :(
and about the class i will try to correcr it....
in how can i read a string and push a character in a stack
it appears arror in what i made in the main function :(!!!
hi all
i have a question and plz i really need your help
the question is >>>>
A string of characters has balanced parenthesis if each right parentheses occurring in the string is matched...
oh OK i did not use C language, because that i don't know :)
thank you :)
U R Welcome ;)
I don't understand why u use #include<conio> ???
there is no such file called conio in the compiler which I use...!!
*to calculate the average:
in the first for loop sum+=score[i];
then in the end of the program
float Avg= sum/20;
cout<<"average = "<<Avg;
*for the lowest and highest:
declared a new...
correct your code ;)
this is for the first part
#include <iostream>
using namespace std;
i'm trying to post the code but it doesn't work!!! i will try again :(
Hi,,, i'm new here and i have a homework and really don't know how to solve it... i'm trying my best but there no luck :(
Please I need your help with node and singly linked list in C++...
it is...