cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
strange syntax
strange syntax
Mar 5, 2011 at 12:02am UTC
oldnewbie
(112)
Does this have a meaning?
*++dest++=
' '
;
.If I use it like this compiler complains but I wonder if it has since it is compiled when I use like:
*(++dest)++
Mar 5, 2011 at 12:19am UTC
Duthomhas
(13206)
The expressions are not valid.
Just suck it up and use two or three statements.
1
2
3
++dest; *dest =
' '
; ++dest;
1
2
++dest; *dest++ =
' '
;
Hope this helps.
Mar 5, 2011 at 1:07am UTC
oldnewbie
(112)
Thanks.
Topic archived. No new replies allowed.