Beginners - February 2012 (Page 24)

a number guessing game how to initialize number in an array??
 
a number guessing game. Your task is to crack a code which has been randomly created by the compute...
[4 replies] Last: "How to initialize 1, 2, 3, 4, 5, 6 in the array if the user input 6 o... (by timmyyyyy)
Optimiztion Assistance
 
Help with optimization is needed. #include <iostream> using namespace std; int Divisors(int); ...
[4 replies] Last: My mistake. Should've looked more closely. http://mathforum.org/l... (by cire)
Console loading bar?
 
How would I make something like... [= ] [== ] [=== ] [==== ] And ...
[4 replies] Last: ^ It's running in another thread (by ne555)
looping file read wont find eof
 
I'm trying to read in a large file containing voting data stored as candidate,precinct ex. B,4 and k...
[5 replies] Last: thank you Cubbi that fixed it. (by savan12986)
Help with my Magic Square C++ program
 
My assignment is to make a magic square based on an odd integer entered by the user. The number ente...
[3 replies] Last: the problem is that you are trying to create an array that has no size... (by oonej)
Dynamic Collision Detection help?
 
Hi there. I apologise for the two new threads, I'm pretty new to C++ and having quite a hard time wi...
[2 replies] Last: Basically, rather than testing to see if a moving sprite has collided ... (by ribenaman)
Question about refactoring code..
 
Hey all good people, I have a question.. I took some time learning C++ and now I'm starting to work ...
[6 replies] Last: void Game::setupRenderer( Ogre::root* r ) { r->loadPlugin("RenderSys... (by cire)
Class Memory Usage
 
If I do this: class first { first(void); ~first(void); class second { second(void); ~secon...
[3 replies] Last: You declare second in the scope of first, however, you are not using c... (by clanmjc)
how to cout symbols in specific shapes
 
I have to solve a problem which will help me with a more difficult one. I must write an algorithm th...
[7 replies] Last: There is no reason not to use '\n' "\n" or std::endl as you wish... (by cire)
by lql44
what is the meaning of "template<class T>"
 
as per subject thanks
[1 reply] : http://cplusplus.com/doc/tutorial/templates/ (by Disch)
20x20 Int Grid..Maximum product of 4 num's
 
Euler project help again! Problem 11 //euler prob_11 #include <iostream> using namespace std; in...
[3 replies] Last: UPDATE: the problem was that my reset of sum wasnt happening, due to i... (by jwroblewski)
by HoJo
Compiler Downloads
 
I have made several attempts to download a C++ compiler but not having any luck. If I would like to...
[1 reply] : What compiler have you tried to download? I don't understand your seco... (by Peter87)
by Smatik
Games in C++
 
We have to make games on c++ for our school project. We have been thought Loops,arrays,structure,bas...
[3 replies] Last: You can make tic toe fairly easily. The other two require some more st... (by ResidentBiscuit)
randomising?
 
Hi there. I've run into a bit of a problem using C++ in the sense that I am trying to draw a sprite ...
[2 replies] Last: The x position is part of a member variable for the Sprite, "m_pos". H... (by ribenaman)
function pointers
 
when i try assign a pointer globally why does the compiler gives me error? it works fine when i do t...
[3 replies] Last: Does this work? #include<stdio.h> int x=10,*p = &x; int main() { ... (by Stewbond)
Program scipping input
 
So I am working on this console game and so far I am still at the beginning of making everything. I...
[13 replies] Last: I stand corrected. :) (by Berzeger)
any solution for this? only basic c++
 
i need to make this work by using basic c++: #include <iostream> using namespace std; input()...
[1 reply] : get into the habit of fully qualifying function names. input() should... (by roberts)
Help with program (Arrays and data files)
 
Hi everyone. I'm having some trouble with my program involving arrays and data files. I have a tex...
[1 reply] : I just fixed the second issue of the program only saving 1 file. I'm ... (by Betray1st)
Looking to improve my programming
 
Hi everyone, I have just started out with C++ programming and am looking for some advice from you...
[3 replies] Last: Thank you for your replies. I will check out the Professional C++ book... (by Bararuloke)
array
 
Correct the following code so that it correctly initializes and outputs the elements of the array. ...
[8 replies] Last: Oh yes, sorry I din't see that. Grey Wolf and Athar are very true. Als... (by closed account 2NywAqkS)
February 2012 Pages: 1... 2223242526... 64
  Archived months: [jan2012] [mar2012]

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