General C++ Programming - January 2015 (Page 24)

suggestions for changing some bit of a number
 
hello I use miracle library to work with big numbers. I defined a number for example X with 192 bit. at first X= 0 ; I want to change for example 3 bit of ...
[1 reply] : You can use so called masks. //Binary number 10-bit X=0b0000000000; ... (by vlkon)
by vlkon
Program speed - variable size
 
Hello, when I was looking for a way how to convert char into numeric value for std::cout I found some old discussion with this statement: Operations on ...
[2 replies] Last: OK, thaks for a reply. That makes decisions easier. (by vlkon)
Using C++ to program EV3 LEGO
 
I have to write a code for my EV3 Kit that employ IR sensor to calculate the distance vector when it encounter any obstacle. Please help me how to start. thank...
[no replies]
float and double confusion
 
Heloow every1..... here's my question int main() { float x=0.1; if(x==0.1) cout<< "True"; else cout<< "False"; } what is the output and why....
[4 replies] Last: The simple answer is that 0.1 is not exactly represent-able within the... (by ShodanHo)
windows.h header file
 
hello every1 i am new here...and i want to know about dunctions in windows.h header file... i know some of it...like sleep() beep() etc plz provide me a c...
[2 replies] Last: sleep() isn't a Windows SDK call, it's a POSIX call; unless you mean S... (by kbw)
Operator overloading with matrices
 
So I have been creating a matrix class and I'm almost done with it. All I have left are the + - * operators (there is no matrix division). I already have += -= ...
[19 replies] Last: Thanks JLBorges. That was it. (by cmajor28)
Any recent SDL turotrials with CodeBlock?
 
I have recently tried LazyFoo's and this tutorial: https://www.youtube.com/watch?v=wWGtuc5uqF4 So I am using CodeBlock for this. I keep getting the same error...
[2 replies] Last: Does CodeBlock need ot be configured to 64-bit before it can compile... (by Avilius)
January 2015 Pages: 1... 222324
  Archived months: [dec2014] [feb2015]

This is an archived page. To post a new message, go to the current page.