代码搜索:scope
找到约 10,000 项符合「scope」的源代码
代码结果 10,000
www.eeworm.com/read/355030/10300391
cpp scope.cpp
//: C03:Scope.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// How variables are scoped
int main
www.eeworm.com/read/161772/10376290
c scope.c
/* Illustrates variable scope. */
#include
int x = 999;
void print_value(void);
int main( void )
{
printf("%d\n", x);
print_value();
return 0;
}
void print_
www.eeworm.com/read/161772/10376292
exe scope.exe
www.eeworm.com/read/425160/10376403
cpp scope.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/160819/10495910
cpp scope.cpp
#include
using namespace std;
// illustrates scope
int main()
{
int first = 2;
int second = 0;
while (first < 20)
{ int second = first * 2; // shadows pr
www.eeworm.com/read/278590/10526954
h scope.h
#if !defined(AFX_SCOPE1_H__20373609_0B81_493C_8F94_B4644298A84F__INCLUDED_)
#define AFX_SCOPE1_H__20373609_0B81_493C_8F94_B4644298A84F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_
www.eeworm.com/read/278590/10526984
cpp scope.cpp
// Scope1.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "Scope.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
www.eeworm.com/read/160346/10540889
class scope.class
www.eeworm.com/read/160346/10540891
java scope.java
//Scope.java
//Java中变量的作用域
public class Scope
{
public static void main(String args[])
{
int x = 25;
System.out.println("x="+x);//只有x 有效
{
int y = 36;
Syste
www.eeworm.com/read/351896/10598394
cpp scope.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that