Beginners - June 2011 (Page 31)

error: no match for 'operator<<' in 'std::cin << x'|
 
1int breakfast(int x) 2 3{ 4 using namespace std ; 5 cout <<"How many calories did you at b...
[2 replies] Last: Thanks a lot. (by jmcghee)
Linked-List/Node/Iterator design
 
Hello, In an attempt to create a basic generic linked-list class, I am having a hard time deciding...
[3 replies] Last: The design you're suggesting here involves creating public methods fo... (by kbw)
verify self assignement with template class with nontype parameters
 
Hi, I've got a class template with a nontype parameter : template<typename dataType, int si...
[2 replies] Last: Works fine, thanks! (by plamonster2001)
Matrix Calculator
 
Hi all, I've hit a bit of a brick wall with a project assignment I'm working on. I understand the un...
[2 replies] Last: Hi thanks for the reply, I had a look through that article, is there a... (by ExponentialP)
Program hex to binary, err coming!
 
i am begineer in c++, please tell why the following program is not working. //Program to conve...
[6 replies] Last: no, they are not the same type (hence, you can't assign them like that... (by kfmfe04)
Balancing Symbols
 
I am working on a class discussion in which I am to write a program that checks to see if /* */, ( )...
[no replies]
by sebgar
Multiple files and classes
 
I was trying to code an example from a book but it didn't work. Maybe because the author uses visual...
[no replies]
[issue] couting dec from ascii table, not number
 
hi, I have little problem with this code, I wanna make something like calculator where you will writ...
[4 replies] Last: See http://www.cplusplus.com/reference/string/string/ Strings support... (by hamsterman)
class n object
 
Hi... with #define macro how can use Pi ..like Default Constructor which should initialize radius...
[2 replies] Last: means...??? Athar?? (by student302)
Program to add matrix.
 
hi guys I am not getting the right result in the program as shown below, plz help why this is happen...
[no replies]
by tonnot
Can I write (bin) a vector of custom type using only one line of code ?
 
I have a vector that store a complex structure of data. In example : My_vector<My_class1> My_c...
[2 replies] Last: See here to see how to do it properly: http://www.boost.org/doc/libs/1... (by Athar)
Game
 
Hi, I'm working right now on a game. I am trying to move the map when the player reaches the end ...
[1 reply] : I'd say that the collision map covers the entire playground/level whil... (by coder777)
functions and header files
 
Im doing a homework assignment for CS programming 2 and am running into an error. I get," expected...
[10 replies] Last: I think you might have updated it a little, can you repost/update your... (by anonymous23323124)
Basic Calculator
 
.
[1 reply] : Just remove the break and it'll be fine ;) and please don't delete ... (by xander333)
by OzIre
Have I created a proper factory function?
 
Hi I was hoping someone could tell me if the create function I use in quiz.cpp between lines 27-37...
[2 replies] Last: Thanks webJose (by OzIre)
Floating point exception?
 
Hey all, brand new with C++ and just got back from my second day at class. :) I'm able to success...
[3 replies] Last: When you use the divide operator, "/", in C++, it assumes the numerato... (by shacktar)
static const member arrays
 
Why can't I do this? struct A{ static const int mStatic = { 1,3,5 }; }; Seems I have ...
[2 replies] Last: You can only define static const integral values (i.e. short, int, lon... (by shacktar)
File IO Issue
 
Hello, I am trying to do simple file IO whereby I read in three integers from a file. INPUT File: 4...
[2 replies] Last: To answer your question, line 12 and line 15 both have print outputs. (by phillion)
how do i become more advanced in C++
 
Hi, i have a book called "Sams teach yourself C++ in one hour a day" and it is working. im learning ...
[1 reply] : You're learning less about C++ than you might think, as that book is m... (by Athar)
by Null
how mke operatng systm
 
This is a joke, right?
[12 replies] Last: ^Like GameFAQs, that sounds good. (by firedraco)
June 2011 Pages: 1... 2930313233... 41
  Archived months: [may2011] [jul2011]

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