Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by PSManju

  1. PSManju

    printf tip

    This is not the behaviour of printf(). It is the pointer arthematic you are doing. the format string passed is "const char *" type and when you add 3+"abcdef" like that the pointer is incremented. As it is a char pointer type it will be incremented by 3 chars. Hence...
  2. PSManju

    Help with *&

    Dear Morris, Try declaring as follows in your module Extract from MyModule.cpp //---------------------------------------------------------- BOOL CDataPackageHandler::ExtractSymbolNameFromeObject(const CCATPACKET& Packet) { // Old Code // PACKET_FIELD *pPF = new PACKET_FIELD; // New Code...
  3. PSManju

    Get Time of Day Function - is there one?

    Hi Shilpa and Tom, Try using the function, gettimeofday(). This obtains the current time, expressed as seconds and microseconds since 00:00 Coordinated Universal Time (UTC). I think this will helpful than function time(). cheers, Manjunath P S <p>P S Manjunath<br><a...

Part and Inventory Search

Back
Top