Beginners (Page 71)

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)
Does anyone understand these instructions?
 
the default constructor sets both feet and inches to zero, and the argument constructor sets feet an...
[1 reply] : It should ask for add , substract or exit . If addition or substra... (by MiiNiPaa)
How to extract substrings for a CString
 
Hey, I am working on this project where an user enters a time(HH:MM:SS) in an edit box. Once they cl...
[2 replies] Last: Maybe try the Tokenize method. http://msdn.microsoft.com/en-US/libr... (by Chervil)
Object composition array
 
[1 reply] : student = Student(id,name,Grade(result,averesult)); (by Peter87)
by rcast
Vector of objects not saving data members
 
I'm playing with classes, why won't my viewInventory() function produce the values that I've added t...
[2 replies] Last: oops. Thank you peter. (by rcast)
Help using arrays
 
The program reads in the student id and their 2 test grades and 7 homework grades. Then it calculate...
[1 reply] : #include <fstream> const unsigned testScores = 2 ; const unsigned hw... (by cire)
Pages: 1... 6970717273... 133
  Archived months: [mar2013]

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