The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pro*c compilation error satvd High Level Programming 0 05-21-2008 02:04 AM
Compilation error : Please help jagan_kalluri High Level Programming 1 05-20-2008 01:48 PM
compilation error mannam srinivas HP-UX 2 04-18-2008 10:52 AM
compilation error smanu High Level Programming 2 12-29-2006 06:11 AM
compilation error in gcc ls1429 High Level Programming 9 06-21-2006 08:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-08-2006
Registered User
 

Join Date: Nov 2005
Posts: 9
Stumble this Post!
Regarding compilation error.

Hi All,
I facing the following compilation error; when I implementing the following logic.

ostrstream ostr;
ostr << (( scAxsm.getRecord( i ).getField( 2 ).getShort())%12)!=0?(( scAxsm.getRecord( i ).getField( 2 ).getShort())/12+1)
: (( scAxsm.getRecord( i ).getField( 2 ).getShort())/12) << ends;

The Error is

line 196: Error: The operation "int << unsafe_ostream&(*)(unsafe_ostream&)" is illegal.

Please help me out from this issue.

Thanks
Sweta.

Last edited by sweta; 12-08-2006 at 03:51 AM. Reason: For more clarity
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-10-2006
Registered User
 

Join Date: Feb 2005
Posts: 52
Stumble this Post!
Hi,

Hard to say what is the problem...
Try to isolate problem in simpler program and send comlete version.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0