Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detecting events on Folder Pin
Dennis Gourjii24-Dec-04 23:56
Dennis Gourjii24-Dec-04 23:56 
GeneralRe: Detecting events on Folder Pin
Michael Dunn25-Dec-04 5:32
sitebuilderMichael Dunn25-Dec-04 5:32 
GeneralIcon Question Pin
mango_lier24-Dec-04 3:54
mango_lier24-Dec-04 3:54 
GeneralRe: Icon Question Pin
Dennis Gourjii24-Dec-04 23:59
Dennis Gourjii24-Dec-04 23:59 
GeneralPrint Special Unicode Char In RichEdit Pin
Polytheus24-Dec-04 3:23
Polytheus24-Dec-04 3:23 
Generalconvertion of a count to DateTime format Pin
sam_software24-Dec-04 3:12
sam_software24-Dec-04 3:12 
GeneralRe: convertion of a count to DateTime format Pin
John R. Shaw25-Dec-04 7:52
John R. Shaw25-Dec-04 7:52 
GeneralA template question Pin
ThatsAlok24-Dec-04 1:14
ThatsAlok24-Dec-04 1:14 
I have just run This Code from MSDN ,and see What M$ compiler generted for me

CODE
#include <list>
#include <iostream>

using namespace std ;

typedef list<int> LISTINT;

void main()
{
    int rgTest1[] = {5,6,7};
    int rgTest2[] = {10,11,12};

    LISTINT listInt;
    
    LISTINT::iterator i;

   /// Insert one at a time
    listInt.insert (listInt.begin(), 2);
    listInt.insert (listInt.begin(), 1);
    listInt.insert (listInt.end(), 3);

    // 1 2 3
    for (i = listInt.begin(); i != listInt.end(); ++i)
        cout << *i << " ";
    cout << endl;
}


Warnings
--------------------Configuration: 1 - Win32 Debug

Compiling...
4.cpp
   D:\Alok\Working\TestProject\TEst\4.cpp(24) : see reference to function template instantiation 'class 
std::basic_ostream<char,struct std::char_traits<char> > 
&__cdecl std::operator <<(class td::basic_ostream<char, 
struct std::char_traits <char> > &,const char *)' being 
compiled

c:\program files\microsoft visual studio\vc98\include\ostream(305) : warning C4018: '!=' : 
signed/unsigned mismatch

        D:\Alok\Working\TestProject\TEst\4.cpp(24) : 
see reference to function template instantiation 'class 
std::basic_ostream<char,struct std::char_traits<char> > 
&__cdecl std::operator <<(class std::basic_ostream<char,
struct std::char_traits<char> > &,const char *)' being 
compiled

c:\program files\microsoft visual studio\vc98
\include\xmemory(37) : warning C4100: '_P' : unreferenced 
formal parameter


c:\program files\microsoft visual studio\vc98\include 
\xmemory(68) : see reference to function template 
instantiation 'void __cdecl std::_Destroy(int *)' being 
compiled


c:\program files\microsoft visual studio\vc98\include\ 
xlocnum(430) : warning C4100: '_Lobj' : unreferenced formal 
parameter
       c:\program files\microsoft visual studio\vc98
\include\xlocnum(431): while compiling class-template 
member function 'void__thiscall std::num_put<char,class 
std::ostreambuf_iterator<char,struct std::char_traits<char>
> >::_Init(const class std::_Locinfo &)'

Linking...

1.exe - 0 error(s), 17 warning(s)


Could any body suggest me the way to solve that.


"I Think this Will Help"
Alok Gupta
visit me at http://www.thisisalok.tk

br/> visit me at http://www.thisisalok.tk
GeneralRe: A template question Pin
Michael Dunn24-Dec-04 12:28
sitebuilderMichael Dunn24-Dec-04 12:28 
GeneralRe: A template question Pin
ThatsAlok25-Dec-04 16:25
ThatsAlok25-Dec-04 16:25 
GeneralToolbar (URGENT) Pin
24-Dec-04 0:29
suss24-Dec-04 0:29 
GeneralKeyboard Input - MFC Pin
sweep12324-Dec-04 0:27
sweep12324-Dec-04 0:27 
GeneralRe: Keyboard Input - MFC Pin
Abin24-Dec-04 15:09
Abin24-Dec-04 15:09 
GeneralRe: Keyboard Input - MFC Pin
Grahamfff25-Dec-04 22:50
Grahamfff25-Dec-04 22:50 
Generalhtmlhelp visual studio .net Pin
tiziacaia24-Dec-04 0:09
tiziacaia24-Dec-04 0:09 
GeneralRe: htmlhelp visual studio .net Pin
Alex Korchemniy24-Dec-04 10:08
Alex Korchemniy24-Dec-04 10:08 
GeneralRe: htmlhelp visual studio .net Pin
tiziacaia24-Dec-04 16:07
tiziacaia24-Dec-04 16:07 
GeneralRe: htmlhelp visual studio .net Pin
Anonymous24-Dec-04 19:30
Anonymous24-Dec-04 19:30 
QuestionHow to access Window Procedure of another processes window Pin
User 21559723-Dec-04 23:48
User 21559723-Dec-04 23:48 
QuestionWhy I can't run my app. on Win XP? Pin
ArielR23-Dec-04 23:36
ArielR23-Dec-04 23:36 
AnswerRe: Why I can't run my app. on Win XP? Pin
Aamir Butt23-Dec-04 23:39
Aamir Butt23-Dec-04 23:39 
GeneralRe: Why I can't run my app. on Win XP? Pin
ArielR23-Dec-04 23:45
ArielR23-Dec-04 23:45 
GeneralRe: Why I can't run my app. on Win XP? Pin
Steve S24-Dec-04 0:58
Steve S24-Dec-04 0:58 
GeneralRe: Why I can't run my app. on Win XP? Pin
ArielR28-Dec-04 2:25
ArielR28-Dec-04 2:25 
Generalfstream problem Pin
Imtiaz Murtaza23-Dec-04 23:01
Imtiaz Murtaza23-Dec-04 23:01 

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.