Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/04/2011, 21:29
Avatar de suta123
suta123
 
Fecha de Ingreso: octubre-2010
Mensajes: 47
Antigüedad: 13 años, 6 meses
Puntos: 0
Pregunta warning: extra tokens at end of #include directive

Estoy empezando en C++ y me esta costando más de lo que esperaba... :(

La clase Estudiante tiene un atributo de tipo Curso.

Entonces al inicio de Estudiante.h coloco
Código:
#ifndef CURSO_H_
#define CURSO_H_

#include "Curso.h";
...y a la hora de compilar, me muestra:
Código:
warning: extra tokens at end of #include directive
..y un error en mi atributo de tipo Curso
Código:
‘Curso’ was not declared in this scope
AYUDA POR FAVOR.

Última edición por suta123; 03/04/2011 a las 23:03