J'essaille de me remettre au C++, mais je crois que j'ai tout oublier...  
alos quand je compile, j'ai ca :
Citation :
 
 florian@r2d2:~/tagtool$ g++ id3Read.cpp -o test
 /tmp/ccbVa8Tc.o: In function `main':
 id3Read.cpp: (.text+0x7a): undefined reference to `ID3_Tag::ID3_Tag(char const*)'
 id3Read.cpp: (.text+0xc0): undefined reference to `ID3_Tag::Link(char const*, unsigned short)'
 id3Read.cpp: (.text+0x153): undefined reference to `ID3_Tag::~ID3_Tag()'
 id3Read.cpp: (.text+0x18d): undefined reference to `ID3_Tag::~ID3_Tag()'
 collect2: ld returned 1 exit status
 
   | 
 
et voila, le code...
 
Code :
 - #include <id3/tag.h>
 - #include <iostream>
 - #include <string>
 - using namespace std;
 - int main(int argc, char *argv[])
 - {
 - 	ID3_Tag info;
 - 	string nomFichier(*argv);
 - 	info.Link(nomFichier.c_str());
 - 	return 0;
 - }
 
  | 
A l'aide  
 
Message édité par 174flo le 12-10-2008 à 19:43:34
 ---------------
			
Le site des blagues les plus drôles :D