Question
What are using directives?

Answers

Whenever we want to make all the members of a namespace visible within a given program, we use a using directive. This gives a direction to the compiler that it has to look into this namespace for name resolution.
using namespace MySpace;
void main(){
cin >>FileName;
}
Here all the data members of the namespace MySpace are visible within the program.   Your Comment






Search
Can you Answer!!
  • Q Column heights in HTML/excel mode are too big even when the cells do not contain enough data. Can you apply autofit to contents?
  • Q Once an object is garbage collected can it become reachable again?
  • Q How would you sort words in a large file?
  • Q How can you set image source dynamically from c# application to"test.png" file?
  • Q Explain what is torque
  • Q Why don't fish freeze?
  • Q An IS auditor has just completed a review of an organization that has a mainframe and a client-server environment where all production data reside. Which of the following weaknesses would be considered the MOST serious? A. The security officer also serves as the database administrator (DBA.) B. Password controls are not administered over the client/server environment. C. There is no business continuity plan for the mainframe system’s non-critical applications. D. Most LANs do not back up file server fixed disks regularly.
  • Q Reply What are the authentication modes in SQL Server?
  • Q Give two examples of computer languages which are interpreted instead of compiled.
  • Q How climate does the Veld grassland of south Africa experience?
  • Q Who was the first American to receive the Nobel Literature prize