Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~946 People Reached
Favorite Forums
Favorite Tags
c++ x 15
Member Avatar for mani_singh

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 …

Member Avatar for strmstn
0
105
Member Avatar for mani_singh

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 …

Member Avatar for nezachem
0
238
Member Avatar for mani_singh

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 …

Member Avatar for kunal kislay
0
155
Member Avatar for mani_singh

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 = …

Member Avatar for Galf
0
113
Member Avatar for mani_singh

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= …

Member Avatar for WaltP
0
252
Member Avatar for mani_singh

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 …

Member Avatar for Dave Sinkula
0
83