代码搜索结果
找到约 34,281 项符合
A 的代码
a.src
[Files]
a.c
[Headers]
[Documents]
a.mak
CC = iccavr
CFLAGS = -ID:\icc\include\ -e -l -g -Wa-W
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LD:\icc\lib\ -g -Wl-W -bfunc_lit:0.0x2000 -dram_end:0x25f -bdata:0x60.0x25f -dhwstk_size:16 -fihx_coff
a.htm
s
a.h
// a.h,类A、B和C的定义及实现
#include
using namespace std;
class A
{
public:
void Display() {
cout
a.cpp
//测试a.h中定义的类
#include
#include "a.h"
using namespace std;
void foo( A * obj)
{
obj->Display();
}
int main()
{
A a;
B b;
C c;
foo( &a );
foo( &b );
foo( &c );
a.cpp
//测试a.h中定义的类
#include
#include "a.h"
using namespace std;
void foo( A *obj)
{
obj->Display();
}
int main()
{
A a;
B b;
C c;
foo( &a );
foo( &b );
foo( &c );
r
a.h
//a.h,定义并实现类A、类B和类C,其中A是B的基类,B又是C的基类
#include
using namespace std;
class A
{
public:
virtual void Display() //声明为虚函数,关键字virtual不能少
{
cout
a.cpp
//测试a.h中定义的类
#include
#include "a.h"
using namespace std;
void foo( A* obj)
{
obj->Display();
}
int main()
{
A a;
B b;
C c;
foo( &a );
foo( &b );
foo( &c );
r
a.out.h
/* a.out.h
Copyright 1997, 1998, 1999, 2001 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the fil
a.vbw
A = 0, 0, 0, 0, C, 22, 29, 433, 370, C