|
-
Apr 2nd, 2002, 06:31 AM
#1
Thread Starter
Hyperactive Member
MSDN is useless
Here is an example of how useful MSDN isn't:
Compiler Error C2106
'operator' : left operand must be l-value
The left operand of the given operator was not an l-value.
Like I said in another post - MSDN assumes a full understanding of C++ before you start, which defeats the entire purpose of having it.
I'm sorry, but this kind of crap makes my blood boil.
"Today's mighty oak is just yesterday's nut,
that held its ground."
-
Apr 2nd, 2002, 07:12 AM
#2
transcendental analytic
that probably means you are assigning something that isn't assignable, post the line that it complains about
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 2nd, 2002, 11:55 AM
#3
Monday Morning Lunatic
Re: MSDN is useless
Originally posted by Alan777
Here is an example of how useful MSDN isn't:
Like I said in another post - MSDN assumes a full understanding of C++ before you start, which defeats the entire purpose of having it.
I'm sorry, but this kind of crap makes my blood boil.
No, MSDN is for API documentation. It does not teach you how to program, there are other tutorials for that.
PS: An l-value is something that can appear on the left of an expression, i.e. you can assign something to it, like Ked says.
An r-value is something that can appear on the right (which is most things).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 2nd, 2002, 02:00 PM
#4
You have two misunderstandings here:
a) Your problem has nothing to do with MSDN. It's a simple C++ syntax error.
b) (like parksie said) MSDN is a reference, not a tutorial. Of course it assumes that you can program.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|