Beginners - March 2012 (Page 32)

My program exits immediatly.
 
When i build and execute my program and it does what its supposed to do it just shuts down. What do ...
[2 replies] Last: ask for input before you exit your main loop int wait; cin >> wait; ... (by jorz)
tic tac toe program review
 
Hi, I recently wrote this tic tac toe program, and it does everything I want it to do, but I was ...
[no replies]
I need a little help with a C++ program
 
I have a multi class program that manually inputs information from users. However it currently store...
[no replies]
vector iterators
 
I have the following program: #include <iostream> #include <iterator> #include <fstream> #i...
[1 reply] : Probably because the push_back in the first case caused an internal ... (by shacktar)
What's wrong with my function?
 
Can someone tell me what I'm doing wrong with this program. I can't see why it doesn't like this lin...
[2 replies] Last: It may be the lazy way out but I've been wracking my brain too long on... (by pstchnt)
by cdf
expected primary-expression before 'char'
 
EDITED: I am getting the error expected primary-expression before "]" token for this constr...
[2 replies] Last: Instead, you should have this: con::con(char data ){ do ( data );} /... (by shacktar)
Mode of an array
 
Hello, i have to create an array and then find the mode, fairly simple it would seem xD this code...
[8 replies] Last: #include <iostream> int main() { const int SIZE = 100 ; in... (by cire)
Text file loader bytes to readable chars
 
Hi I wrote long time ago a CSV file loader which basically reads each line in text file and splits t...
[no replies]
Finding files going through a loop
 
Hi, I have set up a loop which I think should output the file each time it is found. E.g usin...
[no replies]
by Nexus
Hello all.
 
Write a program that a C++ program that can be used to determine grades at the end of the semester. ...
[3 replies] Last: I am not majoring in C++ I shoulda majored in C++ :( Anywho, all ... (by ResidentBiscuit)
Changing the Color of text
 
Hello, I'm currently doing a project and I need a way to color my console text temporarily, I...
[1 reply] : call GetConsoleWindow() to get a handle to the console then call SetCo... (by Texan40)
I'm not sure how to export my code.
 
Hey i just started learning c++ and I'm currently useing codeblocks i recently wrote this code and b...
[2 replies] Last: Ok thanks just found itX) (by hulibarri)
The mind behind the logic?
 
I am a straight A student with the exception of this c++ class. I would like to resolve this. I on...
[9 replies] Last: I've found if I get hung up on a logical issue for awhile, I'll go tak... (by ResidentBiscuit)
Can't load project
 
I am running Windows 7 64 and I am use Visual C++ 2010 Express and when I try and load a project I g...
[6 replies] Last: After a quick google search, I've ran into many possible causes and so... (by ResidentBiscuit)
how to approach this problem?
 
does anyone know how to approach this problem? One of the principal stumbling blocks in the early...
[14 replies] Last: you need a variable to be the total of the roman numerals, so it would... (by ui uiho)
Enumeration
 
I can't get, why this can be useful. Because, you can't use Strings. You just adding titles for numb...
[1 reply] : It really just makes your code more readable, and removes the "magic n... (by ResidentBiscuit)
unordered_set requierments
 
What operators my classes should have for this container? Ok.I added == operator: #include <iostr...
[1 reply] : You have to provide a hash function. struct HashFoo { std::size_t o... (by Peter87)
Looking for a SFML tutorial site or book.
 
Im trying to learn SFML, but the tutorials on the site teach very little, and i cant seem to find an...
[10 replies] Last: This tutorial ( http://www.gamefromscratch.com/page/Game-From-Scratch-... (by Serapth)
by zeion
How to instantiate objects from within another class constructor?
 
Hi, I'm trying to instantiate an object from the constructor of another object, but keep getting ...
[3 replies] Last: What if I need to instantiate multiple objects in the constructor? edi... (by zeion)
by DeitY
Help
 
Hello,i have an project called "podbot" ,they are bot players for counter strike 1.6.problem is that...
[no replies]
March 2012 Pages: 1... 3031323334... 71
  Archived months: [feb2012] [apr2012]

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