- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
I'm doing some homework for a computer systems class and all is well except this one problem that I can't seem to find a solution to due to the limitations. The problem requires me to write a function that performs addition on 32-bit signed integers but saturates the result to …
I recently made a switch to SDL as a cross platform alternative to directly accessing DirectX or OpenGL. In an attempt to port a section of my game framework, I encounter logic errors that (to me) make absolutely no sense. In this snippet, a sprite is simply a wrapper class …
Arrays are structures of information that can be accessed by index. Declaring an array; [CODE] int numbers[10]; [/CODE] This declares an int array with 10 indices. They have not been assigned values yet, so it's necessary to access one index and assign a value; [CODE] numbers[0] = 1; [/CODE] This …
empror9, You really should consider reading about psuedocode, practicing writing simple programs. When trying to write code, you should know how to convert said code into english to some extent. Let's analyze some code and convert it into english. [CODE] #include <iostream.h> int main(){ cout << "This is text displayed …
Think of your entire program as a blueprint. The blueprint describes what and when something is suppose to happen. Functions are a way to extend the functionality(behavior) of your program. You could think of them as the extra pages on a blueprint. Every function in modern programming languages has this …
I'm an experienced programmer of 5 years in Java & C#, but recently I decided to program in C++ as well. I'm familiar with proper code syntax and advanced programming techniques, but this compiler error i'm getting just stumps me beyond recognition, I've analyzed my code for syntax errors a …
The End.
batchprogram