General C++ Programming - October 2011 (Page 16)

HELP PLEASE
 
C++ program have the user enter a two digit integer. calculate and display the square, raised to the...
[3 replies] Last: To sum the digits together you need to isolate each digit. You can do... (by Disch)
How to use eof()?
 
Alright, I think I am doing this right but for some reason the outcome is not what's desired. #inc...
[4 replies] Last: Thanks all!! (by kraigballa)
where should i use ignore.
 
Im a little confused about where to put the fin.ignore for everything to be straight. below is my co...
[no replies]
by Weeve
How do I make a Instance of a class in a seperate class if it needs to be prototyped
 
as an example of what I want it to do: class Part{ private public Part(int num); }; c...
[13 replies] Last: It looks like what I wanted to do.. but I don't understand ": size(sz)... (by Weeve)
Profiling
 
How to do profiling for cpp code samples?
[1 reply] : Do you mean CPU time sampling? Some IDEs have it, like the Microsoft V... (by Gaminic)
by khamis
Help me with C++ problem...
 
Write a C++ program for an Airline TicketPrice Calculation based on the following scenario. The calc...
[1 reply] : At least pretend like you didn't just copy that from the assignment sh... (by Gaminic)
3D and 2D programming "ENGINE"
 
Aloha everyone. I just wanted to ask which engine is best to use with c++ programming to make 2D an...
[2 replies] Last: Thanks! (by Tertius Kgatla)
bitmap fread behavior
 
Hello, I'm afraid this might be a bit of a noobie question, but I'm coming across weird behavior wh...
[1 reply] : Memory alignment. You have two padding bytes between bfType und bfSize... (by Caligulaminus)
Constructor call
 
Why (1) shows an error and (2) does not? (Please don't post comments/corrections that are off-topic ...
[1 reply] : When you get a compiler error, you should always post the error messag... (by Athar)
Switch case Passing String As Parameter
 
I want to know that if there is any solution for me to run the switch case well. I would like to kn...
[3 replies] Last: How to switch on a string http://www.cplusplus.com/forum/beginner/1352... (by Duthomhas)
local variable gets modified suddenly
 
Hello everyone A student of mine wrote the following code and compiled it on Ubuntu Server OS 11.4,...
[2 replies] Last: Whoops! My bad. I should've debugged it more thoroughly. Now, I see th... (by Saqib Ilyas)
Help with system() function...
 
I am trying to make a program to reset my computer password using net user . How do I get the syste...
[1 reply] : To be honest, this sounds really fishy... (by Gaminic)
Help with C++ Hangman Assignment
 
The instructions are this::: Rewrite the Hangman game (Chapter 4) using functions. Include a functio...
[3 replies] Last: That was it!! the semicolon was not needed. Thanks for all your help... (by Sagar7777)
Help with list
 
help with list Hi, I'm doing a program that registers a doctor's appointment and for this I am usin...
[1 reply] : Hi, hi, I solved the problem. tks (by muttleydm)
Beast video game?
 
I'm not sure if you are all familiar with this 1984 ASCII game, but does anyone happen to have the c...
[1 reply] : What do you mean? Is it even open source? (by helios)
by Nuzut
Deck Class
 
Hey guys, I'm working on a project. its a memory card game. in this game the deck is a little weird ...
[3 replies] Last: You have populated them in the other constructor. You're assigning 14 ... (by shacktar)
Wont let me build solution
 
I'm using visual C++ 2010 express. I've had this happen a few times where I step away for a short a...
[1 reply] : @Doccarson Did you build the program, run it, make some changes and... (by whitenite1)
by Giri89
IF Statement Issue
 
Hi Guys, I find that with the below code, the following line is appearing even when either a,b,c,...
[7 replies] Last: if(choice !='a' && choice !='b' && choice !='c' && choice !='d' && ... (by cttprogz)
release keyboard input
 
ok so here is a code i typed up to get simple input from the keyboard. #include <conio.h> #in...
[no replies]
Keyboard input w/o 'enter'
 
I've seen this question asked on many forums, but nobody seems to have a definite answer. Questio...
[5 replies] Last: Getting immediate input is not a language characteristic, but a termin... (by Duthomhas)
October 2011 Pages: 1... 1415161718... 36
  Archived months: [sep2011] [nov2011]

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