Title: Do you also find answers this way?
dr voodoo - June 29, 2003 05:29 PM (GMT)
Now it seems that if I have a question about C++ and I click on New topic to ask it here and finished typing it out I know the answer (before I post it) :blink: .
Does this also happen to you?
If I remember well it was the same when I was learning GM/GML.
ih8censorship - June 29, 2003 05:34 PM (GMT)
not real often with c++ but i remember it happening TONS of times with gm. i think its the process of typing the problem that gets your mind working. i think the reason i havent done it much with c++ is because im only still in the 3rd chapter of my c++ book and dont know a whole lot.
Dark_Sonic - June 29, 2003 05:35 PM (GMT)
Sometimes... When I'm just typing code, I might see whats wrong with it... It is weird...
dr voodoo - June 29, 2003 05:51 PM (GMT)
It already happend twice today.
- This morning I didn't know what was wrong with:
| CODE |
| #include Menu_ID 100 |
and I realized that that should be
The second time I wanted to wanted to use the command-lines in the windows CALLBACK function and I realized that I only needed a global LPSTR and assine it in the main windows function.
Shadow of the Moon - June 29, 2003 08:12 PM (GMT)
With code, the retyping is what does it. I'm always missing syntax errors because my mind sees it as what I think I put there instead of what I nessecerily did put there.
Try reading your code backwards, it helps sometimes :)
dr voodoo - June 29, 2003 08:18 PM (GMT)
But the good thing about it is that you (at least I) don't make the same error twice :)
ih8censorship - June 29, 2003 08:51 PM (GMT)
well if you made the same error twice you would know where to look for your error and it would debug faster.... i think.. course i have been wrong... mainly most of my bugs are caused by my horrible spelkling.
Dragon - July 2, 2003 05:46 PM (GMT)
I sometimes make silly mistakes, like leaving off a parenthesis somewhere. Then I rewrite it and I leave it off again. :blink:
Finally I would catch the mistake and realize that all that re-writing was not necessary! :o