| ??? 12/19/09 19:02 Read: times |
#171776 - but Responding to: ???'s previous message |
Hi,Per,
1)i asked about !='0' vs !=0 . In topic context i think only second is proper. 2)You letter is very interesting (these sintax rules are known for me, but i never have thinked seriously about compiler side). I suppose original C implementation or ANSI standard defines what will compiler do with expression : " while ((a=b)!=0) .....". Is it true - that every C compiler will make assingment , and USE ASSIGNED value for comprasion ? regards |
| Topic | Author | Date |
| Some help with copying strings in C (again) | 01/01/70 00:00 | |
| Blast. | 01/01/70 00:00 | |
| ? | 01/01/70 00:00 | |
| Crunched function | 01/01/70 00:00 | |
| maybe | 01/01/70 00:00 | |
| = vs == | 01/01/70 00:00 | |
| ok | 01/01/70 00:00 | |
| '\0' | 01/01/70 00:00 | |
| just for record | 01/01/70 00:00 | |
| Both are ok. | 01/01/70 00:00 | |
| A warning - not an error | 01/01/70 00:00 | |
| Yes. Should have said "warning" | 01/01/70 00:00 | |
| but | 01/01/70 00:00 | |
Assign always spreads to the left, but mind the data type | 01/01/70 00:00 |



