.


:




:

































 

 

 

 


.




:

1) ,

2)

:

.1

3) ,

if (str1==str2)

, , .

:

If (Regex.IsMMatch(^\d {5}$, str))

// ^ - , 5 ,

//good

Else

// bad

: 12345 , 1234 ,

36. .

. , inf .

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/event log/Application/My Application

Using namespace System.Diagnostics;

.

EventLogEntryType type=EventLogEntryType.Error;

EventLog myLog=new EventLog(Application);

myLog.Source = My Application;

.

myLog.WriteEntry(Exception:+Message,type,eventide,category);

 

37. .

6.3.9 DoS (Denial of Service)

dos :

1) ,

2) , . :

3) ,

4) ,

38. : .

5.4

5.4.1

#define

#ifdef

#ifndef

#else

#endif

#define FULLVERSION

#ifdef FULLVERSION

/* */

#else

/* -*/

#endif

:

1) ,

2) , .

3) . :

39. : .

5.4.2 inf

.

1) :

2) ,

3)

4) ,

 

40. : .

5.4.3

:

1) : ,

2) : . : ,

3)

4)

41. : .

, . , , . .

:

1) .

2)

5.5

:

1) (, )

2) .

3)





:


: 2017-02-25; !; : 552 |


:

:

- - , .
==> ...

1641 - | 1600 -


© 2015-2024 lektsii.org - -

: 0.009 .