MAN WHY DO I HAVE TO BE HERE SITTING TRYING TO FIGURE THIS OUT can't someone just say how to do this bloody hell!!! frick sake im sooo sick of reading books and tutorials and them not working or not been explained properly can not wait till i know how to do this stuff gunna do my own tutorials that will be simplfied !¬ the amount of crap people present is unbareablly stupidly driven by lazyiness in high quantitys! then you get people with there silly perceptive ideas describing it and always saying this and that or may say something different rather then sitting there screaming about how i did whateva figure it out and help me so i can learn from you and figure it out for myself when i do it on my own again because ill have a basis to work from and know what too do then
screw the rules there just to be annoying and require more effort that isn't really needed honestly
this is how i see this when i use a tool i expect that it actually make sense that it actually has a purpose and a benefit and also how to use it and work with it if i don't have any of those things then its poor in its present ability everyone can aggree on this
the problem with coding?
The code you posted was incomplete. You still need to create a window that you can click on. The reason you get no output could be because you never flush stdout. Try putting fflush(stdout); after the fprintf. Fixing these things and you should get some output
rip-off posted a good example. Learn from it!
rip-off posted a good example. Learn from it!
PGSCreativeDirector, drop the attitude now.
People are giving your their free time to try to help you out, if you can't be respectful enough of this and present yourself in a manner befitting someone who wants help, including putting effort in to explaining your problem clearly and what you have tried to fix it yourself, then you will find yourself not only not getting help here but removed from the community itself.
Your choice.
People are giving your their free time to try to help you out, if you can't be respectful enough of this and present yourself in a manner befitting someone who wants help, including putting effort in to explaining your problem clearly and what you have tried to fix it yourself, then you will find yourself not only not getting help here but removed from the community itself.
Your choice.
? so for asking for simplified presentablity in the sdl tutorials means ill get banned??? and for the factor of which i expressed my emotion ???
and if this is about what i said it was a general truthfull point so i don't know why i should get banned for that?
so this hole factor is one sided opinionated standard ?
and i spoke good anuff that me and anyone i know could read that so i don't know how speaking more clearly will help its just a general semi detailed statement of wording? whats hard of that in which to understand
oh yea and about not wanting to read 5minutes worth of text i would do it if it meant helping someone so im sure others will just saying
do you want me to speak shakespeare old english maybe that might help ?
and if this is about what i said it was a general truthfull point so i don't know why i should get banned for that?
so this hole factor is one sided opinionated standard ?
and i spoke good anuff that me and anyone i know could read that so i don't know how speaking more clearly will help its just a general semi detailed statement of wording? whats hard of that in which to understand
oh yea and about not wanting to read 5minutes worth of text i would do it if it meant helping someone so im sure others will just saying
do you want me to speak shakespeare old english maybe that might help ?
If you have a problem with the presentation of a set of tutorials, you should email the author. Complaining to us about it won't change anything, we didn't write them. You are correct, many tutorials are awful.
You do realise that you complain about the laziness of tutorial writers who will not explain things properly, and yet excuse yourself from the very same thing when asked.
As for your code:
Don't compare "fprintf" with false. fprintf is a function pointer, and non-zero. This comparison is always false. Also, you have a semicolon after the if condition, which terminates the if expression. Your code is equivalent to this:
There could be other errors in the surrounding code, this is why I asked you prepare an actual program that will demonstrate the errant behaviour.
You do realise that you complain about the laziness of tutorial writers who will not explain things properly, and yet excuse yourself from the very same thing when asked.
As for your code:
if (fprintf == false);
{
fprintf(stdout,"Not Working");
}
Don't compare "fprintf" with false. fprintf is a function pointer, and non-zero. This comparison is always false. Also, you have a semicolon after the if condition, which terminates the if expression. Your code is equivalent to this:
// Does nothing
if (false) { ; }
// Unconditional
{
fprintf(stdout,"Not Working");
}
There could be other errors in the surrounding code, this is why I asked you prepare an actual program that will demonstrate the errant behaviour.
The OP's problem is he doesn't know how to program. He doesn't understand the very basics. And, he's trying to understand how SDL Events work with a moving mouse.
OP, go back to step 1. Start at "hello world" and go from there. If you don't have the patience to learn for yourself, we won't have the patience to try and help you.
OP, go back to step 1. Start at "hello world" and go from there. If you don't have the patience to learn for yourself, we won't have the patience to try and help you.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement