Beginners - November 2011 (Page 5)

Tic Tac Toe Game
 
I'm in the process of making a Tic Tac Toe game, and decided to do a huge loop, or basically to make as simple as possible to make it. But I want to make it sim...
[3 replies] Last: @carebearboy : Sir, How can I turn console app to win32 app ? example ... (by hentaiw)
by sch518
Why does this print out more than once?
 
I have this code: do{ cout << "How many people are in the party? "; cin >> size; if(size > 0 && size <= 500) { correctSize = ...
[2 replies] Last: Thanks so much!!! Works great now (by sch518)
Square or Triangle? (1,2)
 
Hey guys :) I'm suppose to write a C++ code that computes and displays the area of a square or a triangle after prompting its user to type in the first lette...
[21 replies] Last: What do you mean ? (by hentaiw)
having trouble with while loops
 
I'm doing a text based adventure game and I'm trying to do it the simplest way possible. cout << "Well then, its kind of dark in the brig, I need to get a be...
[9 replies] Last: I think the problem is when you read one word like this cin >> tempora... (by Peter87)
Need help displaying a stack
 
I know i've been asking a lot help lately displaying STL's but I have a couple assignments due tomorrow and apparently my book doesnt contain a chapter STL's an...
[1 reply] : Not all people consider STL to be part of the standard library. Are yo... (by Peter87)
by miftil
rock paper scissors problem!
 
hi everyone... i know there were a lot of RPS related topics, but non of them seems to be having the problems i'm having. my problems are : 1- the program co...
[19 replies] Last: http://cplusplus.com/forum/beginner/56020/#msg301269 (by Mathhead200)
Need help displaying a List using an iterator
 
So far I have #include<list> #include <iostream> using namespace std; int main() { list<double> numList; //add the values 12.7, 9.65, 8.7...
[4 replies] Last: thank you, probably would have been easier had I used the pop_back() f... (by nomdaweb)
passing information from one program to another
 
I have two programs right now..I'd like to take the output of one program, and use it as the input for the other program. At this time, the two programs are com...
[6 replies] Last: If you've only got that many files, I would just link them all (C and ... (by andywestken)
Check a variable's type ?
 
char ch = 'a'; How to check ch is a char variable ? I mean how can we check the number of memory reserved for ch ?
[7 replies] Last: But the number of bit depend on the machine ? I have heard of ISCII i... (by hentaiw)
reading text file into vectors
 
hi, I'm new to C++. your answer will be very much appreciated. I have a text file of about 15 lines. Each line is comprised of string,string, char, int, doubl...
[no replies]
Need basic C++ compiler/ide for mac. Any advice?
 
I am taking a introduction c++ course at my local community college. Their computer lab has borland c++ 4.52. I mostly do my work at the computer lab, but the l...
[8 replies] Last: bump (by shywolf91)
How to make a welcome screen
 
I've been searching through and looking at other programmer's knowledge but... i don't have the slightest clue on how to start it out. If anyone can give out ho...
[no replies]
by forums
password console
 
hi ive just made my password console application but i cant get it to work can someone help me this is the code #include <iostream> #include <string>...
[11 replies] Last: thanks a lot peter87 you are the BEST (by forums)
by moot1
code::blocks users
 
hi code::blocks users. i need help. whenever i make a project lets say an empty project and lets say i name it calculator.when it compiles it is called calculat...
[1 reply] : Usually, the project creation wizard asks you whether you want the pro... (by closed account zb0S216C)
switch statement errors??
 
hiya Why am i getting these errors around this function? Why does it keep saying these stuffs? 1>------ Build started: Project: makealine, Configurati...
[4 replies] Last: Or put { } around the declarations (by Peter87)
fwrite problem
 
Hello I have three courses files which are eng101.txt fiz101.txt and mat101.txt Every file includes the student names who are attending these courses: For ex: ...
[3 replies] Last: hmm... (by whocares21)
Weak Game/app Structure
 
Currenty my design is not very intuitive or dynamic. I have made mini games before, using wall detection, a* algorithms, compasses, scrolling maps etc. When I ...
[no replies]
Writing from scratch vs put faith in borrowed code/tutorials
 
I know writing from scratch is usually the best thing to do, but how do programmers in the real world handle the trade of between "writing from scratch" (more...
[3 replies] Last: My case is in writing a Direct X10 game engine (2D anyway), and of cou... (by Blessman11)
dumb question- multiple inputs
 
Hello C++ newbie here. I am creating a virtual dyno program. I can't even get multiple pieces of data stored at once. So far when I execute the program, it allo...
[3 replies] Last: All the variable are integers so as long as you only enter integers th... (by Peter87)
by TV5
whats wrong with my code!!!
 
people i dont know whats wrong the if - statment dont show it only show the first question... its suppose to enter the time as hh:mm:ss ---> then apply ...
[2 replies] Last: okay i am just nervous ... because i need to submitted tomorrow mornin... (by TV5)
November 2011 Pages: 1... 34567... 65
  Archived months: [oct2011] [dec2011]

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