- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
hello to all, i am learning c++ and while looking at some code, i came upon this: *(float*) and *(DWORD*). for example [ICODE]#define adress_1 0x00AA8B20 *(float*) adress_1 = 5000000; [/ICODE] so can you explain what the *(float*) and *(DWORD*) do. and i did try and search on google but didnt … | |
hey guys, i need help with understandind this code-actually just some parts of it. can you explain to me what the purpose of this is: *(float*) variable = 34; i can understand the variable = 34 part just not the *(float*) part. what does it do? also what is the … | |
hello all, I am reading a book on c++. It talks about pointers and how to use them. I dont understand what the point of pointers is. Mainly, why would someone need them and what can a programmer do with them. Please be as detailed as possible as i am … | |
hello all, i am trying to make a program using nested for loops that outputs a triangle made of *. so far i have part of the triangle, but am having diffuculty finishing it. my code so far: [CODE] #include<iostream> #include<conio.h> using namespace std void main() { int n = … | |
i am trying to make a program where a user inputs two numbers. the first number needs to be less then the second. then the program needs to add all the numbers together that fall between those two numbers including the two numbers. for example number1 = 1, number 2= … | |
hello all, i am new to c++ and just started learning about 1 week ago. i wrote a (console) program that does simple math, it asks you to enter couple numbers and will output an average. i want to know how to write and if statement where it will say … |