Olası çoğaltmaları:
C variable declarations after function heading in definition
What is useful about this C syntax?Bu garip C sözdizimi bu mu?
Bazı C kodu anlamaya çalışan ve değişkenler fonksiyonun kafası ve birinci destek arasındaki Burada, bildirilen bu rastladı.
Bu değişkenlerin ne olduğu hakkında bir fikrin var mı?
Yerel mi yoksa global mi?
Yazar burada ne yapmak niyetinde?
void someFunction (m_ptr, n_ptr, params, err)
integer *m_ptr; /* pointer to number of points to fit */
integer *n_ptr; /* pointer to number of parameters */
doublereal *params; /* vector of parameters */
doublereal *err; /* vector of error from data */
{
//some variables declared here
int i;
...
...
//body of the function here
}
: gibi "modern" C'de
, o görünürdü. Ayrıntıları okumak için K & R'ın bir kopyasını alın. – linuxuser27
Bkz. Http://stackoverflow.com/questions/1630631/what-is-useful-about-this-c-syntax – kennytm