how to break this down into more lines?

Hello,
How can I break this down into more lines?
It's too long but if I go "new line" anywhere throughout, it will give me errors..

 
frequencies.push_back( atom[ site[ site[ findSiteWithAtom( 0 ) ].getNeighbour( i ) ].getAtomID() ].getFrequency() );
1
2
3
4
5
6
7
8
frequencies.push_back( 
    atom[ 
        site[ 
            site[ 
                findSiteWithAtom( 0 ) 
            ].getNeighbour( i ) 
        ].getAtomID() 
    ].getFrequency() );
Remove not needed newlines
Last edited on
it worked! thank you so much.
Topic archived. No new replies allowed.