General C++ Programming (Page 51)

Exponent calculator
Hello! I am working on an exponent calculator and It is not working correctly. Please Help! #includ...
[3 replies] Last: which header does pow come from? (by jasonwynn10)
Magic numbers program
Hey, I modified this program from another persons post. Is there any way to make this any better tha...
[4 replies] Last: Thanks for the help! (by jasonwynn10)
by Kinani
Opening files in Hex mode to compress file size
I have an idea which i will try to implement in C++,I want to compress file size through making my o...
[6 replies] Last: You unknowingly just came up with the primary technique used in all co... (by Krisando)
by tmason
Visual C++ - 'uint64_t' : redefinition; different basic types
Hello, I have a Visual C++ project that compiles fine as a 64bit platform but I get a boatload of...
[1 reply] : uint64_t is a common typedef for a 64-bit unsigned integer. The error ... (by helios)
by manojg
Passing an array of variables by reference
Hi, I define an integer variable and pass it by reference to a function. int func(int &x) { ...
[7 replies] Last: dhayden, thanks it works. (by manojg)
opencv 2.4.8 android
Hello I am new here... I am currently studying grabcut image segmentation algorithm on c++ What I ...
[no replies]
by xwilx
lvalue reference bind to a rvalue object
Hello, Trying to understand the lvalue and rvalue references, and come up with some strange codes...
[5 replies] Last: Hi Cubbi, So it looks like I am making the example more complicated b... (by xwilx)
How can shorten this code
How can shorten this code I need to save 8739 blocks. as shorten ofstream and classes. as is a repea...
[1 reply] : You can remove line 1 and 3 and save 300k bytes in the exe. (by SamuelAdams)
Program takes longer in Parallel
hi, i made my mandlebrot parallel with OpenMP i used QT here's .pro to make it work: #------------...
[10 replies] Last: im sorry if am annoying you by not understanding :( i actually think ... (by kam hagh)
C++11 Lambda capture ref vs value
I am fairly certain I know the answer to this question, but I seem to have 2 different compilers giv...
[6 replies] Last: Thank you (by digitalsynapses)
Leap Motion C++ Virtual Piano
Hi, I currently have a project that requires me to build a leap motion Virtual Piano. I am using...
[1 reply] : Are you going to use some sort of GUI to visualize the keyboard and wh... (by giblit)
by Emkor
Help stuck
Can't seem to get this program working, any ideas? #include <iostream> #include <iomanip> using na...
[3 replies] Last: Please use code tags when posting code, to make it readable: http://w... (by MikeyBoy)
cout and char*
i am really confused and do not understand why it was working yesterday and i woke up today and it i...
[3 replies] Last: no this is the code i am running and it is generating that output. ... (by Disch)
Hello Guyz I need help
It is pretty simple I have device called Logitech g27 the same driver for it is from here http://...
[2 replies] Last: well the driver for g27 it has API's ,. but to be sure i have no idea ... (by yahya1asfari)
Program with fixed notation help
This is the program I am working on: Write a program that will input the amount of chairs sold for ...
[1 reply] : have you tried: (by mutexe)
World Class
I have been making a game but my mind has drawn a blank and i can't remember what to put in the worl...
[13 replies] Last: Thank you for all your responses. I have figured out what i am going t... (by Cronnoc)
by sebz92
store text to array until text is over.
hello all, this is part of my code. what i wanna know is if there is a way to fill this array unti...
[1 reply] : Yes! What you are describing is called a vector. Just #include <vecto... (by Yay295)
by sbas10
Reading from file one int a time..
I want to read this file to read each temperature and have it tell me if one of the substances liste...
[2 replies] Last: Makes plenty of sense. Thank You! (by sbas10)
by sebz92
input value get index
hello all, im trying to get the index of a value by inputting the value: for example if i have ...
[3 replies] Last: If you refuse to use existing algorithms and insist on reinventing the... (by LB)
Converting a 4 digit number into a BCD number?
Hi I'm having trouble converting a 4 digit number into a BCD number, in the program I did below I wa...
[2 replies] Last: I'm sorry that I did not use the code tags when in my previous post it... (by puffybear123)
Pages: 1... 4950515253... 60
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.