Beginners (Page 69)

Problem with class.
 
I have this code where I need to add the inches and feet together to 1 number. I have to use int CDi...
[5 replies] Last: http://www.cplusplus.com/doc/tutorial/functions/ http://www.cplusplus.... (by Zaita)
Deleting a class stored in a vector
 
I have class called Entity that I have to dynamically create, so I store it in a vector called Entit...
[2 replies] Last: You cannot use delete this; because this will cause undefined behavi... (by Zaita)
Problem with inialization: for Class
 
How do i initalize output1 and output2? #include <iostream> using namespace std; //Conversio...
[1 reply] : You have more problems that just this. You're not passing the values a... (by Zaita)
convert 4 letter words to love
 
okay so im writing this program that is suppose to convert any 4 letter word in an input to love, Lo...
[6 replies] Last: I'm sure there is a much easier way to do this...but this seems to wor... (by giblit)
|38| error: invalid use of template-name 'tnode' without an argument list|
 
Why can't I create a new tnode in the bstree (Binary Search Tree) class? TNode.h-------------------...
[10 replies] Last: I still can't figure it out. (by Jaskiratpal Singh)
by Ludidi
list positive numbers
 
i stuck on b n c A list of positive numbers is read into an array from the keyboard. The list finis...
[2 replies] Last: You obviously can spot the above and below values and you do know each... (by keskiverto)
by Daleth
Pros and Cons of a range-based for loop.
 
So far, the only pro I read about range-based for loops is its legibility, which I find questionable...
[6 replies] Last: Thanks everyone for sharing your thoughts. I'm starting to understand ... (by Daleth)
Trouble using the getline function in do/while loops
 
I'm creating a program that allows you to enter up to 100 books and the books information such as Ti...
[3 replies] Last: For that question, on searching the array, I think you will need to po... (by Chervil)
Printing data from a file
 
Hello! I copied data from a structure into a file, but I am having trouble figuring out how to print...
[no replies]
by Devra
It shuts down!
 
Hi everybody. I need help with this program. It shuts down, i'm using Microsoft VS. It's C++, isn't...
[1 reply] : Look at: http://www.cplusplus.com/articles/iw6AC542/ (by firedraco)
Problem with Custom Exception
 
All, I need to create a custom exception called "IllegalSubscriptException" for a function called...
[3 replies] Last: does not work is not an error message (by ne555)
by jnf102
error
 
what did i do wrong #include <iostream> #include "conio.h" #include <string> using namespa...
[3 replies] Last: Line 15 the t in mathtype should be uppercase. Line 22 the t in mathty... (by Yanson)
by tony47
cannot find ISDL-ttf
 
Hi everyone, I'm learning about lazyfoo's tutorial,here's my small problem. I'm using dev c++, I do...
[no replies]
Can someone help describe this code?
 
I finished this with help from my professor but still dont understand some things. What is int rank ...
[1 reply] : 1) rank isn't initializated. However you are writing into it before yo... (by MiiNiPaa)
Text file reading into vector
 
Hello folks. My aim is to read the contents of a single txt file into a vector which structure is...
[4 replies] Last: Yes, I have already noticed that I unfortunately mistyped push. Anyway... (by Messzir)
creating a GUI using the native windows API
 
Hello everyone. I've started a project from scratch and I'm currently trying to create the user inte...
[4 replies] Last: [quote=coder777]for now I'd suggest to change the project setting from... (by Disch)
Why am i getting this error?
 
inc13.obj : error LNK2019: unresolved external symbol "public: __thiscall CDistance::CDistance(v...
[4 replies] Last: I put this and now it runs. Thanks! CDistance d1(0,0); (by SlenderMan)
Why will this not run?
 
#include <iostream> #include <conio.h> using namespace std; class CDistance { privat...
[6 replies] Last: int CDistance::add(const CDistance& total) const { cout << feet + i... (by rcast)
A particle system in C++ and Allegro 5
 
So im wanting to start making a particle system, tried first time and ran into too many problems. ...
[no replies]
List of objects from a base class
 
I have this base class called Entity, and a class derivied from that called Player. In my MainGamest...
[5 replies] Last: Whoa! Using shared_ptr to point to objects not been created with new ... (by Peter87)
Pages: 1... 6768697071... 131
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.