- Author:? Maimarco-- Published: 2004-11-1019: 51: 01-- wrong do not understand !!!! // sd.cpp: Defines the entry point for the console application.// # INCLUDE "stdafx.h" #include
- Author: nearwate-- Published: 2004-11-1021: 23: 59-- because classd is not the default data type, so you can not use that as an ordinary assignment = char type, can only use the strcpy function, class1. Name = bb; it should be changed to: strcpy (class1.name, bb); but you have to add a header file #include