Click here to Skip to main content
15,910,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHowto: creating a dynamic menu? Pin
cromag6-Jan-06 7:08
cromag6-Jan-06 7:08 
AnswerRe: Howto: creating a dynamic menu? Pin
nm_1146-Jan-06 13:39
nm_1146-Jan-06 13:39 
AnswerRe: Howto: creating a dynamic menu? Pin
Laxman96-Jan-06 18:50
Laxman96-Jan-06 18:50 
AnswerRe: Howto: creating a dynamic menu? Pin
#realJSOP7-Jan-06 3:09
professional#realJSOP7-Jan-06 3:09 
GeneralRe: Howto: creating a dynamic menu? Pin
cromag9-Jan-06 4:55
cromag9-Jan-06 4:55 
GeneralRe: Howto: creating a dynamic menu? Pin
cromag9-Jan-06 5:19
cromag9-Jan-06 5:19 
GeneralRe: Howto: creating a dynamic menu? Pin
#realJSOP9-Jan-06 12:32
professional#realJSOP9-Jan-06 12:32 
QuestionVector of Strings simple problem PLEASE HELP Pin
Cursed Feanor6-Jan-06 7:05
Cursed Feanor6-Jan-06 7:05 
Hi, this might sound easy for most of you, but i cant create a simple vector of strings without Visual C++ flooding me with warnings even if the program seems to work fine... I would greatly appreciate any enlightment on this issue. Here's the code of a test program that fails :


#include <string>
#include <vector>
#include <iostream>

using std::cout;
using std::endl;
using std::vector;
using std::string;

void main()
{
vector<string> vec;
string s("TEST");
string s2("NEXT");

vec.push_back (s);
vec.push_back (s2);

cout << vec[0] << " : " << vec[1] << endl;
}


and the error report :

C:\Mentor_Projects\TEST vec\testvec\testvec.cpp(25) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_
string<char,std::char_traits<char>,std::allocator<char> > const &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,int>' : identifier was truncated to '255' characters in the debug information
C:\Mentor_Projects\TEST vec\testvec\testvec.cpp(25) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string
<char,std::char_traits<char>,std::allocator<char> > &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > *,int>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\vector(39) : warning C4786: 'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >
>::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\vector(60) : warning C4786: 'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >
>::~vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >' : identifier was truncated to '255' characters in the debug information

AnswerRe: Vector of Strings simple problem PLEASE HELP Pin
Roland Pibinger6-Jan-06 7:33
Roland Pibinger6-Jan-06 7:33 
JokeRe: Vector of Strings simple problem PLEASE HELP Pin
Cursed Feanor6-Jan-06 8:11
Cursed Feanor6-Jan-06 8:11 
AnswerRe: Vector of Strings simple problem PLEASE HELP Pin
David Crow6-Jan-06 9:43
David Crow6-Jan-06 9:43 
AnswerRe: Vector of Strings simple problem PLEASE HELP Pin
John R. Shaw6-Jan-06 18:26
John R. Shaw6-Jan-06 18:26 
QuestionTrying to get a bmp. to move with in boundries in a windows ap.... Pin
chadsxe6-Jan-06 6:05
chadsxe6-Jan-06 6:05 
AnswerRe: Trying to get a bmp. to move with in boundries in a windows ap.... Pin
KellyR6-Jan-06 6:34
KellyR6-Jan-06 6:34 
AnswerRe: Trying to get a bmp. to move with in boundries in a windows ap.... Pin
John R. Shaw6-Jan-06 19:05
John R. Shaw6-Jan-06 19:05 
QuestionAdding controls to a CTabCtrl Pin
Mark F.6-Jan-06 5:05
Mark F.6-Jan-06 5:05 
AnswerRe: Adding controls to a CTabCtrl Pin
#realJSOP7-Jan-06 3:12
professional#realJSOP7-Jan-06 3:12 
QuestionRe: Adding controls to a CTabCtrl Pin
Mark F.7-Jan-06 8:41
Mark F.7-Jan-06 8:41 
AnswerRe: Adding controls to a CTabCtrl Pin
#realJSOP8-Jan-06 3:14
professional#realJSOP8-Jan-06 3:14 
GeneralRe: Adding controls to a CTabCtrl Pin
Mark F.8-Jan-06 3:51
Mark F.8-Jan-06 3:51 
GeneralRe: Adding controls to a CTabCtrl Pin
#realJSOP9-Jan-06 0:17
professional#realJSOP9-Jan-06 0:17 
GeneralRe: Adding controls to a CTabCtrl Pin
Mark F.9-Jan-06 2:46
Mark F.9-Jan-06 2:46 
QuestionHelp! InternetConnect is broken! Pin
Anacreon6-Jan-06 5:01
Anacreon6-Jan-06 5:01 
QuestionLinear smooth Graph Pin
RockyJames6-Jan-06 3:40
RockyJames6-Jan-06 3:40 
AnswerRe: Linear smooth Graph Pin
Curtis Schlak.6-Jan-06 4:25
Curtis Schlak.6-Jan-06 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.