C question? RRS feed

  • Question

  • how to print a word in C without using # and {} symbols?
    Friday, September 14, 2007 2:18 PM

All replies

  • What are you asking for ?
    I didnt get your question please explain briefly
    Friday, September 14, 2007 4:19 PM
  • u can do that operation using Resource Acquisition Is Initialization (RAII) technique.


    The RAII technique is often used for controlling thread locks in multi-threaded applications. Another typical example of RAII is file operations, e.g. the C++ standard library's file-streams. An input file stream is opened in the object's constructor, and it is closed upon destruction of the object. Since C++ allows objects to be allocated on the stack, C++'s scoping mechanism can be used to control file access. With RAII we can use for instance Class destructors to guarantee to clean up, similarly to functioning as finally keyword on other languages, doing automates the task and so avoids errors but gives the freedom not to use it.


    Friday, September 14, 2007 7:51 PM
  • Hey,sunil...i guess he was asking about C-language....and u talked about C++...But even with C++; i still dint understand how RAII would help in printing letters without using {} and # .....
    Saturday, September 15, 2007 2:13 AM

  • is print on screen or thru printer..???
    Monday, September 17, 2007 5:22 AM
  • wat`s u asking.

    plzz clear it.

    Monday, September 17, 2007 6:14 AM
  • use putc function...

    Monday, September 24, 2007 3:06 PM