General C++ Programming - July 2012 (Page 24)

Inside C++
 
Hello all, for a long while i had used assembler and some C++ and had some questions. When classe...
[1 reply] : Global variables are stored in a static region of memory. They take u... (by Telion)
question on multiple inputs
 
How can you use multiple inputs? For example, Iam doing a simple q and a game. I want to do a hint...
[3 replies] Last: If some late nighter can help, I'm up (by LovestoCpp)
Concantenation Help?
 
So, I'm trying to complete some beginner challenges. And I have hit a problem. Here it is.. both...
[5 replies] Last: You need to convert your "int" to a string or c-string as there is no ... (by closed account o1vk4iN6)
Help installing GLUT
 
http://forums.codeblocks.org/index.php/topic,16561.new.html#new Please help!
[no replies]
initializing a const struct of months
 
I am finishing a date class with validity checking for a C++ class. Class has covered structs, class...
[12 replies] Last: Thanks, SGH. I'm going to call this one 'solved'. ER (by erandall)
[ACM] 3625 Rounders
 
I just finished 3625 Rounders problem I got run time error issue. I have no idea where do i...
[1 reply] : //line 59 if( (jegop(10,num) % i)== 0 && (jegop(10,num)... (by ne555)
Convertion in c++
 
How can I convert floating point to fraction value in c++ ? ie.input is 1.5 output is 3/2. please...
[5 replies] Last: until you reach an integer Until you reach something close enough to... (by Moschops)
by GulHK
Reading file data and manipulating it
 
Hello All Could anyone please help me with solving the problem below? File Data format A,A A...
[1 reply] : Could you please explain again (by Script Coder)
ACM time limit
 
sometimes i saw acm time solved as 0.000 seconds how this possible? ps: and how people post ...
[1 reply] : What is ACM time? and use code tags, when you are posting, look for th... (by Script Coder)
Palindrome program using stacks and queues
 
Palindrome is a string that reads the same forward and backwards, disregarding punctuation and the d...
[1 reply] : Are you expecting someone to code this for you??? (by Script Coder)
difficulties in playing a beep in my MFC application
 
Hi guys i am making a radar simulator, i have made radar-specific interface in openGL and then embed...
[1 reply] : Give the beep function a thread of its own to run in. (by Moschops)
Pancake Sort
 
I understand the basic algorithm, but apparently there is a faster one, that is the one I do not und...
[2 replies] Last: this is the site that sparked the question: http://www.maa.org/mathtou... (by Script Coder)
x86 modrm byte parameters displacement errors?
 
I'm making an emulator, but somehow the modr/m byte won't work correctly. As far as I've noticed,...
[no replies]
(ACM)3600 root of the problem
 
#include <iostream> #include <vector> using namespace std; int jegop(int a, int b) { ...
[1 reply] : Your code #include <iostream> #include <vector> using namespace std; ... (by ne555)
pipe() and fork() not standard?
 
I am not able to use pipe() and fork() on windows. Aren't functions like pipe() and fork() part of S...
[9 replies] Last: Windows is a different OS, and it does not fork (). (Sometimes it can... (by Duthomhas)
splitting for loop into separate threads to increase CPU usage
 
Hello, in particular my task is to accelerate saving an AVI file with OpenCV. Inside the for loop...
[2 replies] Last: I've tried OpenMP already and I got a message that told me that some t... (by dudewhatsup)
Math expression evaluator
 
While debugging in Visual C++, I really like the watch windows. Whenever I enter a variable or an ex...
[4 replies] Last: I made my own program with help from some books from the library. It's... (by eklavya sharma 2)
Makro in Pascal
 
Hi, I need to Runexport from DB to specific file im my network, no problem. When i search there is...
[3 replies] Last: Perhaps you ought to spend some time learning Delphi before you contin... (by Duthomhas)
Plane from 3 Points
 
I've got two classes: class vector3d{ double x; double y; double z; }; class plane{ doubl...
[13 replies] Last: I call it `normal' because it's perpendicular to the other two. ¿whi... (by ne555)
by viliml
classes vs structs (1,2)
 
What is the difference between classes and structs (except of course the acces level), and is there ...
[24 replies] Last: Disch got it (by ResidentBiscuit)
July 2012 Pages: 1... 2223242526... 30
  Archived months: [jun2012] [aug2012]

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