Click here to Skip to main content
16,018,353 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: View Console Window Pin
gman200823-Jan-08 6:05
gman200823-Jan-08 6:05 
QuestionRe: View Console Window Pin
David Crow23-Jan-08 6:12
David Crow23-Jan-08 6:12 
GeneralRe: View Console Window Pin
gman200824-Jan-08 2:46
gman200824-Jan-08 2:46 
GeneralRe: View Console Window Pin
David Crow24-Jan-08 2:58
David Crow24-Jan-08 2:58 
GeneralVisual Studio VC++ 6.0 on Windows Vista Pin
André Dewispelaere23-Jan-08 2:52
André Dewispelaere23-Jan-08 2:52 
QuestionRe: Visual Studio VC++ 6.0 on Windows Vista Pin
David Crow23-Jan-08 3:01
David Crow23-Jan-08 3:01 
GeneralRe: Visual Studio VC++ 6.0 on Windows Vista Pin
Chris Losinger23-Jan-08 3:02
professionalChris Losinger23-Jan-08 3:02 
GeneralHash function c++ Pin
Ming Luo23-Jan-08 2:31
Ming Luo23-Jan-08 2:31 
Dear all:

I am trying to use the hash_map in C++ in VS2005.NET.

The code is like:
<br />
#include <hash_map><br />
...<br />
...<br />
    hash<const char*=""> H;<br />
    size_t h = H("ca");<br />
</const></hash_map>


I want to generate the hash value for the string. This code works perfectly in Linux but in VS2005 it complains that:

1>d:\project\vs2005\c++\gmesh\gmesh\ml_geodesic_gridpoint_index.cpp(54) : error C2065: 'hash' : undeclared identifier
1>d:\project\vs2005\c++\gmesh\gmesh\ml_geodesic_gridpoint_index.cpp(55) : error C3861: 'H': identifier not found

It seems that the compiler can't find the hash definition. Does anyone have idea to solve this problem for me please?

Thanks

Asura

QuestionRe: Hash function c++ Pin
David Crow23-Jan-08 2:53
David Crow23-Jan-08 2:53 
GeneralRe: Hash function c++ Pin
CPallini23-Jan-08 3:19
mveCPallini23-Jan-08 3:19 
GeneralStack unwinding Pin
George_George23-Jan-08 2:01
George_George23-Jan-08 2:01 
QuestionGetComputerNameEx didn't return DNS name Pin
amdopteron23-Jan-08 0:55
amdopteron23-Jan-08 0:55 
GeneralRe: GetComputerNameEx didn't return DNS name Pin
jhwurmbach23-Jan-08 1:31
jhwurmbach23-Jan-08 1:31 
GeneralRe: GetComputerNameEx didn't return DNS name Pin
David Crow23-Jan-08 3:08
David Crow23-Jan-08 3:08 
GeneralRe: GetComputerNameEx didn't return DNS name Pin
amdopteron23-Jan-08 7:15
amdopteron23-Jan-08 7:15 
QuestionRe: GetComputerNameEx didn't return DNS name Pin
David Crow23-Jan-08 8:11
David Crow23-Jan-08 8:11 
GeneralRe: GetComputerNameEx didn't return DNS name Pin
amdopteron25-Jan-08 3:23
amdopteron25-Jan-08 3:23 
JokeUndefined class name! Pin
Hakan Bulut23-Jan-08 0:34
Hakan Bulut23-Jan-08 0:34 
GeneralRe: Undefined class name! Pin
CPallini23-Jan-08 0:56
mveCPallini23-Jan-08 0:56 
GeneralRe: Undefined class name! Pin
Nitheesh George23-Jan-08 17:02
Nitheesh George23-Jan-08 17:02 
GeneralRe: Undefined class name! Pin
Hakan Bulut24-Jan-08 0:33
Hakan Bulut24-Jan-08 0:33 
GeneralCheck Variable is CString or Integer (RTTI in MFC/ATL) Pin
QuickDeveloper23-Jan-08 0:26
QuickDeveloper23-Jan-08 0:26 
GeneralRe: Check Variable is CString or Integer (RTTI in MFC/ATL) Pin
Cedric Moonen23-Jan-08 1:02
Cedric Moonen23-Jan-08 1:02 
GeneralRe: Check Variable is CString or Integer (RTTI in MFC/ATL) Pin
jhwurmbach23-Jan-08 1:09
jhwurmbach23-Jan-08 1:09 
GeneralRe: Check Variable is CString or Integer (RTTI in MFC/ATL) Pin
Naveen23-Jan-08 17:12
Naveen23-Jan-08 17:12 

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.