![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Reg expression For | Harikrishna | Shell Programming and Scripting | 2 | 05-07-2008 01:40 AM |
| nawk empty regular expression error | Rjkz | Shell Programming and Scripting | 6 | 12-21-2007 11:07 AM |
| OR expression | Rock | UNIX for Dummies Questions & Answers | 3 | 05-03-2007 08:50 AM |
| Regular Expression + Aritmetical Expression | Z0mby | Shell Programming and Scripting | 2 | 05-21-2002 10:59 AM |
| compound expression in unix | spalmer | UNIX for Dummies Questions & Answers | 3 | 10-19-2001 12:04 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I dont know why it has occured .........
but when I compiled my program again after some time taking ....having some modifications in my code i.e collecting a return value of a function in a variable then this problem disappears....and my code working correctly.... but today when I again not collecting the return value of a function then also its working correctly........... why so??????????? |
|
||||
|
We don't know what operating system, what programming language or what compiler you are using.
We have no idea what code it is you had that failed to compile, we have no idea what changes you made. So we're in more of the dark than you. |
|
||||
|
Operating system, --> Linux(Fedora 6)
Programming language or what compiler --> C++/g++ compiler What changes I had made.--> first of all I was calling my own made function and not collecting what it is returning.....then I simply taken a variable and collected a returned value from that function.......that compilation error then disappers. I am not using the concept of class here simply defining a function and calling it main. So I just only want to know that what that error means because I had never seen it before & what is compound expression????????? |
|
||||
|
Quote:
If you do a good for "error: initializer expression list treated as compound expression" there are many cases of people having that error. |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|