|
From: | madhav_bansal |
Subject: | [task #15317] Concatenate two or more tables |
Date: | Wed, 11 Mar 2020 02:37:58 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 |
Follow-up Comment #2, task #15317 (project gnuastro): does it seems right to you for adding columns to existing rows static void concat_along_row(gal_data_t *first_table,gal_data_t *second_table){ gal_data_t *tmp=first_table; //traversing to the end column of the first table while(tmp->next!=NULL){ tmp=tmp->next; } //connecting the last column of first table to first column of second table tmp->next=second_table; } I have just connected the last column of the first table to the first column of second table please give suggestions? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/task/?15317> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |