Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

steph5

@steph5
About
Posts
18
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • error concerning _TEMPLATE_MEMBER
    S steph5

    I am using Visual Studios 2005 version v8.0 (.NET framework v2.0) Hi Getting at error about _TEMPLATE_MEMBER typedef typename allocator<T>::_TEMPLATE_MEMBER rebind<T>::other _Alloc; I think it's something to do with _TEMPLATE_MEMBER and it only being know in ealier versions of visual sudios Anybody know anything about it???????????????:confused:

    C / C++ / MFC csharp dotnet help question announcement

  • calling a static member function
    S steph5

    Thanks for the comprehensive answer Mark. Really appreciate it :)

    C / C++ / MFC help question

  • calling a static member function
    S steph5

    Hi Guys I am working with Visual Stusios 2005. I have a solution with 2 projects in it. Can I call a static member function that is declared in one project from the other project? OtherProjectClass::StaticMemberFunction(variables); At the moment I get error LNK2019 Thanks:confused:

    C / C++ / MFC help question

  • erasing an element from a static vector.
    S steph5

    great got it working thanks for your help :)

    C / C++ / MFC graphics data-structures question

  • erasing an element from a static vector.
    S steph5

    Hi I have declared static vectors in a function that i call multiple times: static map<HWND, myVector<CString>> myMap; On some of the function calls i want to remove elements from a vector: myMap[hWindow].erase(iterator) where iterator pointers to the element in the array I want to remove. when I call myMap[hWindow].size() after erasing this element the size is the same as before?? Is this a consequences of using static vectors. Or am I doing something wrong????? More likely option 2 :laugh: but wanted to check with some one who knows more about this stuff. Many thanks

    C / C++ / MFC graphics data-structures question

  • <unordered_set></unordered_set>
    S steph5

    Many Thanks for your time and patience :-D

    C / C++ / MFC question

  • unordered_set
    S steph5

    I am using Visual Studio 2005. And I want access to unordered_set storage containers. They are apparently in TR1. whatever that is? How can I be able to use them in my program? Thanks

    C / C++ / MFC question csharp visual-studio

  • <unordered_set></unordered_set>
    S steph5

    Lets try that agaiin!!!! I can't even post a message. What chance do I have trying to program :) I am trying to get unordered_set on my machine. how can I get it? p.s. if you put < and > it doesn't post in??

    C / C++ / MFC question

  • <unordered_set></unordered_set>
    S steph5

    Hi I'm a novice so excuse the basic questions! I have Visual Studios 2005 And I want to use . Its not included it my list of include files. Apparently it is in TR1 what ever that menans:confused: How do I go about getting the files so that I can use unordered sets in the code I am trying to write Many thanks for your time.

    C / C++ / MFC question

  • storage templates
    S steph5

    Hi just a quick question from a novice programmer. I want a storage class that only allows one instance of each thing like set myList; but I want the items to be kept in sequential order For example I want to add "John" to the set. Then I want to add "Peter". Then "Chris". Then I try and add "Peter" again it won't do it, so my set is still [John, Peter, Chris] and then it keeps them in the order I entered them so when I can ask for the second item I added I get "Peter. My understanding of set is when I insert a new member it will put it it alphabetical order. any ideas?? :)

    C / C++ / MFC question wpf tutorial

  • calling a static function
    S steph5

    yes all the files are incluceded in the same project. how do I make sure the linker finds the file? The thing is I can call myClass::myFunction() from one of the .cpp files in the project, but I can't call it from another .cpp file in the same project. whats going on? Thanks for your time

    C / C++ / MFC help

  • calling a static function
    S steph5

    how?

    C / C++ / MFC help

  • calling a static function
    S steph5

    Any ideas how I can have a function I can call from anywhere but where I don't need an instance of the class to call it?

    C / C++ / MFC help

  • calling a static function
    S steph5

    Hi I was in the understanding that if you declare a static function it can only be called from the source file where it is declared. Am I missing something?? The error says "unresolved external symbol" the call to the function is in file1.cpp where I have: myClass::myFunction(variable1, variable2); In myClass.h I have: class myClass { static void myFunction } and in myClass.cpp I have the function definition: myClass::myFunction() { //function definition } I can't call myFunction from file1.cpp As you can tell I am a novice programmer and in desperate need of explanation :(

    C / C++ / MFC help

  • calling a static function
    S steph5

    Hi I am looking at someone elses project and source code and seeing something I need explaining! There is a STATIC member function declared in a class. eg. class myClass { static void myFunction(); } Then it is called using the scope resolution opperator. myClass::myFunction() but it is being called from another source file in the project! I can't see any reason why it is aloud to do this. In fact I have added my own class and function looking exactly the same and it gives me LNK 2019 error. Any Ideas what I am missing. Thanks in advance for your time. :doh:

    C / C++ / MFC help

  • Obtaining HWND from CString
    S steph5

    Thank you soo much. Works beautifully!! :) :-D

    C / C++ / MFC question tutorial

  • Obtaining HWND from CString
    S steph5

    Hi I have a CString containing the hexidecimal handle to a window. For example 00010AC2. I want to obtain an actual HWND from it to pass to a function. Transmit(HWND hWindow, ...other variales ). So please how do I convert this hexidecimal CString into a HWND type? Many thanks for your time. :)

    C / C++ / MFC question tutorial

  • Header Wrapper Symbol
    S steph5

    Hi Guys I am a new comer to programming and this forum. I have been looking at some code I found on the internet and in the header files they have what i believe are called header wrappers. Which I understand are to stop the header file from being defined more than once. The code looks like this: #if !defined(AFX_MYDERIVATIVE_H__AC73BB0F_CC43_4B4B_850A_4DC13A664B8C__INCLUDED_) #define AFX_MYDERIVATIVE_H__AC73BB0F_CC43_4B4B_850A_4DC13A664B8C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "myFunction.h" namespace Ovalkey { //class definitions }; #endif My question is why the strange symbol AFX_MYDERIVATIVE_H__AC73BB0F_CC43_4B4B_850A_4DC13A664B8C__INCLUDED_ Is this something generated by Visual Studio? or just some strange thing the programmer decided to call the variable? Many thanks

    C / C++ / MFC question csharp visual-studio
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups