Anyway work goes as normal on Engine. slow until works over but Iam trying to get some done. Still havent had time to actually tackle the coding of my event system. thinking about how exactly i want to do it. I think iam going to read through all of the SDL docs for events this weekend and then go from there. well take it easy eveyrone
Well work is tiring but I have started taking my C++ books to work and reading them on breaks. I have gotten to understand pointers a lot better which Iam glad for because i remember reading somewhere that passing pointers to functions instead of the actual type is faster cus it transfers 1byte instead of 4(for a int). Iam going to try and find that again and clarify it.
Anyway work goes as normal on Engine. slow until works over but Iam trying to get some done. Still havent had time to actually tackle the coding of my event system. thinking about how exactly i want to do it. I think iam going to read through all of the SDL docs for events this weekend and then go from there. well take it easy eveyrone
Anyway work goes as normal on Engine. slow until works over but Iam trying to get some done. Still havent had time to actually tackle the coding of my event system. thinking about how exactly i want to do it. I think iam going to read through all of the SDL docs for events this weekend and then go from there. well take it easy eveyrone
Previous Entry
Sleep!
Next Entry
I love finding something new
Advertisement
Latest Entries
In a time for math!
1267 views
A "finished" game!
1192 views
Moving forward
1499 views
Did I just get played?
2341 views
Pay attention to your math!
1956 views
The struggle continues.
1423 views
SWTOR, work, and programming.
1213 views
Life moves on.
1195 views
YES!
1062 views
Made it past the programming test
1648 views
Advertisement
Output:
4
8000
4
In C++, instead of passing by pointers, you'll probably want to use references.