General C++ Programming - October 2010 (Page 19)

stl_algo.h ERRORS !!!
 
I am writing an interpreter for c++ but I have this error in stl_algo.h In function `_InputItera...
[3 replies] Last: Are you linking all of your .o (.obj) files into the executable? Have... (by jsmith)
What’s a delegate?
 
What’s a delegate?
[1 reply] : http://en.wikipedia.org/wiki/Delegation_pattern (by m4ster r0shi)
Function that returns a function pointer?
 
I'm trying to make a console-based UI based on a menu system. I want 'Menu' and 'MenuOption' to be c...
[2 replies] Last: What you want is for MenuOption::getFunction to return a function poin... (by AbstractionAnon)
string filename4
 
Ok here is literally ALL of my code, what is wrong with filename4? #include <iostream> #include...
[2 replies] Last: Nevermind I found my errors, and I pretty much have to move all of my ... (by LittleQuick)
Passings string array in C
 
I know this is a C++ forum, but I figured there will (hopefully) be quite a few C people here as wel...
[2 replies] Last: C/C++ has no way of checking the length of an array so you could eithe... (by Galik)
by saicam
error C2106: '=' : left operand must be l-value
 
Hi guys, Can anybody help me in this kind of error?..I'm actually reading a file text and I'm trying...
[4 replies] Last: coz im actually doing a file reading and writing and also saving the i... (by saicam)
?? can't retrieve data from .txt file...comes back blank????
 
so i'm trying to read in names and addresses from a .txt file into my program...but as of now i'm ju...
[1 reply] : by the way the printName functino in the Name class isn't the issue wi... (by nscruggs)
by pizet
multidimensional arrays
 
Hi, I need an advise. How can I a pass a multidimensional array into function parameter? I have this...
[1 reply] : firstly, http://www.cplusplus.com/forum/articles/17108/ if the array ... (by hamsterman)
A Simple (?) linked list problem?
 
I have a perplexing problem that I've been trying to solve ever since I screwed up an interview last...
[4 replies] Last: Hey guys, thanks very much for the replies. Just to clarify: For t... (by fmcarthur)
by Bazzy
string::iterator invalidation
 
The ISO standard ( §21.5, 5 ) says: References, pointers, and iterators referring to the element...
[1 reply] : Hmm...I'd have to agree with you there. It could be invalid...the sta... (by firedraco)
Eclipse c/c++ have odd characters when text file encoded with UTF-16
 
I am using Eclipse for c++ project. I have some polish characters need to be in the code. When I s...
[1 reply] : C++ sources should only contain ASCII. There's no telling what will ha... (by helios)
Problem setting a value that is text.
 
http://www.cplusplus.com/forum/windows/29526/ Better topic and in the proper cat.
[3 replies] Last: http://www.cplusplus.com/forum/windows/29526/ Better topic and in t... (by Ravskie)
by khris
defining operator+
 
Hello all, I have been getting great advice from the Beginners forum, but it seems this program that...
[9 replies] Last: If you have operator+( const T& lhs, int rhs ) defined, then T o... (by jsmith)
Legacy script
 
Hi All, I have for my sins taken over a project to update some legacy scripts which where written...
[6 replies] Last: guys pls help me about my program.. my problem is i dont know how to u... (by jonjondavid)
New operator
 
Hi, What is the exact use of 'new' operator in c++? In Java everytime for creating a new objec...
[1 reply] : new allocates dynamic memory. dynamic memory is used when, at compile ... (by hamsterman)
virtual c++
 
can some1 solve dis program 4 me? Design a class named Line. This class is used to identify the c...
[1 reply] : no. http://www.cplusplus.com/articles/how_to_ask/ (by Bazzy)
getting a string (size of that is not given)
 
how can i get a string with millions of lines? namely how can i implement a data structure that exp...
[1 reply] : there are many ways to make that. A string is usually a vector of char... (by Bazzy)
call a class member function without creating its object
 
Is it possible to call a member function without creating an object of a class? This is the code ...
[3 replies] Last: Your code works fine because f doesn't modify access any data. Whe... (by m4ster r0shi)
Overloading operator<<
 
So, I am new here, but I need some help. I am looking to overload 'operator<<' so I can modify the ...
[6 replies] Last: Take a look at http://www.cplusplus.com/reference/iostream/ostream/ ... (by sohguanh)
2-D Array Problem!!
 
I have an assignment where I have to read from an input file into a two-dimensional array.The input ...
[2 replies] Last: Edit: Please use pyschoder solution as his is more elegant and compact... (by sohguanh)
October 2010 Pages: 1... 1718192021... 23
  Archived months: [sep2010] [nov2010]

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