gcc 4.4
Type: Posts; User: Jeren
gcc 4.4
and what can be wrong with my compiler? I am using gcc for ubuntu ! any suggestion?
thanks for the answer
I didnt get what I should do ! can you tell me where to change?
hi all , I have writen a set.h file ! but I keep receiving these errors :
Set.h: In member function ‘void Set<T>::add(const T&)’:
Set.h:29: error: expected ‘;’ before ‘result’
Set.h:33: error:...
u know what makes me confused? I do not have to include set library and have to implement the methods myself !!!!! :(
errors I get are :
t.cpp: In member function ‘void set<T>::add(T) [with T = int]’:
t.cpp:57: instantiated from here
t.cpp:29: error: invalid conversion from ‘int’ to ‘int*’
t.cpp:29: error: ...
how about this? I used vector in this one
using namespace std;
#include <iostream>
#include <vector>
By true I just ment "ADD" part of the code ! I know I have not meet the most parts of the assignment ! I dont waste your time with my mind in standby mode ! sorry for being here
can this be true ?
template <class T> class set
{
public:
set()
{ length=0; list=0;}
Sir
I dont want you to do my homework , just asked for helping me do this !!!!!!! I am new here , yes !
I dont know how to start it , where to write it from ! I am confused ! I can handle it...
hello , can anybody help me write this program?
I am expected to create the following classes:
• Set<T>: Set.h
“Set” is a template class that represents a set in mathematics. A set in...