Beginners (Page 3)

by DevTK
Ambiguous calling the function using fstream C++
 
favorite I have a class, class A, with a data member std::fstream file. The class has a co...
[3 replies] Last: > I get a compiler error: > std:basic_fstream <_Elem, _Traits> ambiguo... (by ne555)
by Ch1156
Vertex array tile sprites (1,2)
 
Ok so I found out that drawing my tiles to the editor was a really bad thing to do because it create...
[39 replies] Last: check your PM (by Disch)
Loop issue/question
 
Hello, I've been trying to learn using one of Stroustrup's books, and I'm running into an issue on o...
[6 replies] Last: Instead of a b variable you could just do (int)a or static_cast<i... (by giblit)
Vector with mixed class type?
 
I'm trying to write a basic RPG style battle system to practice classes, but I'm having a little tro...
[8 replies] Last: To access the damage you would have to downcast IIRC. You can use dyn... (by giblit)
Basic c++ math question
 
I'm doing a practice problem that gives me a function header, and a function and expects me to write...
[9 replies] Last: How about od = ld*rd; , might that be better? (by Chervil)
Calculator
 
Hi there, I made this code up but I don't know why the result didn't come up with decimal its just a...
[3 replies] Last: okay solved.. thank you, Sir (by Eslam Elmishtawy)
error
 
Hello, Getting error when trying to compile a C program: g++ Documents/firstchess.c Doc...
[12 replies] Last: if you want to look at the code just download firstchess.c from the l... (by AbstractionAnon)
by Bugx17
Getting best c++ compiler
 
There are different compilers in the internet and each compiler uses a different set of keywords and...
[4 replies] Last: It was more a note for the OP. Places still teach "C++" with it. (by Grey Wolf)
by it058
struct code
 
Whats the problem in this ? #include<iostream.h> #include<conio.h> struct node{ char info;...
[2 replies] Last: Moved my response to that other thread. (by Disch)
by verith
for loop problem
 
First, I would like to say hi to all members! I just recently started my adventure with programming...
[5 replies] Last: And one more thing. The condition which u gave is mentioning that the ... (by Sanjay97)
by odin39
Writing containers for abstract types
 
Abstract types (those with pure virtual methods) generally cannot be stored in standard STL containe...
[2 replies] Last: Thanks for the information. std::vector<std::unique_ptr> sounds like... (by odin39)
Question on inheritance, virtual destructors, and the heap
 
My question is if you have a pointer in a class that is pointing to heap memory that is automati...
[3 replies] Last: Thanks for the quick reply. I was unsure how a virtual destructor woul... (by AxDragonxg)
Reading the rest of a string after a certain character
 
So what I am trying to do is have the program read a txt file, and have it spit out the list of stri...
[5 replies] Last: Nvm I fixed it (by Keri4141)
typedef
 
what is the use of typedef if i can actually just use a type?
[11 replies] Last: http://www.gotw.ca/gotw/046.htm (by keskiverto)
by MCE626
Version info in cout.
 
Hello, I'm new to C++ I started it like a week ago in this class I'm taking. So i'm making some l...
[5 replies] Last: What platform? Windows (.NET) has the Version class. http://msdn.... (by AbstractionAnon)
Storing and reading vast sums of numbers..
 
Hello there, I have been doing some exploring over ways of dealing with large sums of information, h...
[15 replies] Last: "Taking it on faith" was a figure of speech. Hopefully, the diagram s... (by AbstractionAnon)
Display 3 numbers from highest to lowest, vice versa
 
So I need to write a program that can display three numbers from highest to lowest, and then from lo...
[1 reply] : Since there are three variables, you'll have to do the check with all ... (by Aceix)
by Nanyo
Volume increasing
 
how to increase volume of the computer with C++, Is there any command to do so. Thank you in adv...
[2 replies] Last: Windows??? http://msdn.microsoft.com/en-us/library/windows/desktop/dd7... (by Aceix)
Hello im new!
 
what are the things that can be made in c++ like what are the examples please?
[3 replies] Last: c++ is the most language that can make OS (by Lorence30)
Having trouble with else if codes
 
So my professor gave me a basic assignment, to make a program that will display a student's year lev...
[3 replies] Last: the "=" (assignment operator) should be "==" (comparison operator) (by Lorence30)
Pages: 12345... 81
  Archived months: [jun2014]

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