Beginners - March 2014 (Page 26)

Inheritance question
 
Hey guys. I need to make a program with classes that a person would normally use for a bank account. I have the savings and checking account working (as can be ...
[1 reply] : bump? (by ProgramStuff)
by enemy
Voting for the best c++ textbook
 
Please, can anyone suggest his best c++ textbook, with comments! MANY THANKS!
[4 replies] Last: It doesn't need an irony tag. Irony in the guise of technical advice... (by JLBorges)
Computer Programming Homework Question
 
I'm a college student fighting an uphill battle with his Computer programming in C++ homework. I'm not looking for someone to do it for me, just a push in the r...
[3 replies] Last: Here's what I have for code right now, I just need how to output every... (by rileyhdwerner)
[Rookie] How to terminate a specific running application?
 
Hello there, this is my first post in this forum. Recently i started learning c++ from this E-book http://www.amazon.in/Ivor-Hortons-Beginning-Visual-2012/dp/11...
[3 replies] Last: > is this using a win API function to terminate a process? No. This ... (by JLBorges)
by enemy
DevC++
 
Hello! When I tried to compile easy program like this (for test!) it gave me result like this: 52 C:\Dev-Cpp\include\stdlib.h:1, from C:\...
[2 replies] Last: You can also get Visual Studio 2010/2012/2013 Express for free or you ... (by Renthalkx97)
Please explain this to me.
 
Find the output of the following program: #include <iostream.h> void Secret(char Str[ ]) { for (int L=0;Str !='\0';L++); for (int C=0;C<L/2;C++) if (Str ...
[9 replies] Last: This is kind of fun. First <iostream.h> should be <iostream>. Secon... (by Stewbond)
by enemy
setX()
 
Hello! Is there a mistake that we have to use constructor insetad of setX() method? #include<iostream> #include<cstdlib> using namespace std; cl...
[3 replies] Last: How about you add the prototype for the setX function between lines 12... (by LB)
Fullscreen Console
 
When we run a C++ Program, the console appears in restored mode and we need to maximize it manually. So, is there a way to make the console maximized automati...
[4 replies] Last: @modoran, Thanks , but it almost got passed through from above my head... (by NPcomplete)
by enemy
New object
 
hello! Please, copy constructor is ment to create a new object. WHat is the name of the new object there and how to output it? (is it a mistake to use xopy c...
[19 replies] Last: Ideone did not want to compile first one, but when I changed cout to p... (by enemy)
by enemy
ideone
 
Hello! Please, what is wrong here? http://ideone.com/DTAAH5 Are all online compalers striking tody? Many thanks!!!
[15 replies] Last: U confused me cause it was sth like template on lr link... (by enemy)
vectors (1,2)
 
Why can't I do this? /* vector of Person */ #include <iostream> #include <vector> using namespace std; int main(int argc, char** argv) { struct Person...
[30 replies] Last: Here are some examples where I'd use C-strings over C++ strings. 1) 90... (by Stewbond)
classes
 
Ok well in my game I have created a class Critter, then a called Critter* Mobs; Mobs = new Critter ; // MAXMONSTERS = 5 for now then I have where I fight s...
[8 replies] Last: well something has happened for me as when I called the destructor whe... (by morngrym)
by enemy
codepad
 
Hello! What happened to codepad? itwrites no outpust for certain time...
[no replies]
Need help with collision detection via Separation of Axis technique
 
hey guys. So for my C++ module I chose to make a game using Object oriented design philosophy. Everything has been fine so far however I'm stuck at collisions....
[no replies]
Help with applying a find function
 
So I have an assignment where I have to enter a phrase with opening and/or closing delimiters (i.e. (a), <e>, <(io>) etc.) where it checks to make sure that the...
[10 replies] Last: > Also I need to keep the stack You don't *need* a stack. Just parse ... (by JLBorges)
by Clay
finding string in vector.
 
What i need is to check if a string that the user inputs exists in the vector then save the location to be used to refer to a different vector. If any one has ...
[9 replies] Last: nice i have heard a little about maps but never used them, also didn't... (by Clay)
How does my code look thus far? I have very few outlets for good advice and criticisms. Be gentle.
 
I am creating a game, all I have so far is the navigation of areas. I will have multiple arrays linked at certain points to move around maps. Can anyone giv...
[4 replies] Last: Am I going about what I'm trying to accomplish in a decent manner? (by closed account 3R5fjE8b)
Modulo
 
Hello, I would like some help with my code. I'm fairly new to C++, so sorry if my code is a little messy/ confusing. I'm basically trying to create a 'Modulo...
[2 replies] Last: So when i run the code, it gives me a random figure. Which of the ma... (by MiiNiPaa)
quadratic equation passing values to a function
 
Hi, I've been trying the below code and it's not giving the correct results. I'd like help with it. Thanks. # include<iostream> # include<cmath...
[3 replies] Last: Thanks guys for the assistance. I've managed to fix the issues you poi... (by wnmuroki)
please help. "return" problem
 
Hello Why the last value is 3.Can anyone explain to me, please? #include <iostream> using namespace std; int fn(int a){ cout << a << "-"; if ((...
[2 replies] Last: #include <iostream> using namespace std; int fn(int a){ cout << a <<... (by popobearhi)
March 2014 Pages: 1... 2425262728... 79
  Archived months: [feb2014] [apr2014]

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