actually , I mean there should be a ";".
Type: Posts; User: wxjeacen
actually , I mean there should be a ";".
struct a{
string k;
int count;
}
maybe you should change it like this.
struct a{
string k;
understand....
give my deepest thank to all of you .
would you please type the codes.....
however, how can i change the codes to pass these warnings?
hi :
while compiling ,i confronted a problem in template.
here is the code ,very short.
The codes can be compiled through,however there are warnings .
i was confused by these warnings.
thank you very much!!!
i recorrect the code ,and it works..
i have changed <iostream.h> to <iostream>
but it does not work as well...
and when i use <iostream.h> to compile other programmes,all of which can been done..
the follow code can not be...
hi ,
while was programming , i confronted a problem.
#include<iostream.h>
class sample
{
int x,y;
public:
sample(int a,int b)
however, i have had defined the array str1[50] and d[50],how can they be overflowed?
Thanks very much ,masters.
I have learned a lot from your replies.
however ,there is still something wrong with my algorithm,
maybe ,the algorithm of permuting strings is not perfect.
I am trying to append a single character there
so ,how can I correct this mistake?
errors are follow:
In function "insort"
warning: passing argument 2 of ‘strcat’ makes pointer from integer without a cast.
/*This program is to permute some letters of alphabet.
However i can not compile it .
There are always many errors.
your help will be appreciated deeply.
I am a new guy in Ubuntu .*/
...