how to implement this ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi:

  how to implement this assignment by MACRO?
  int a,b,c ;
  
  ((a==0)?b:c)=8;

  if use this sentence ,gcc will tell :error: lvalue required as left operand of assignment

  is there s implementation for this with  macro  define?

  is there suggestion ?

  
  thanks!


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux