Click here to Skip to main content
15,915,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC validation for special charaters Pin
samrw2-Sep-08 17:33
samrw2-Sep-08 17:33 
AnswerRe: MFC validation for special charaters Pin
_AnsHUMAN_ 2-Sep-08 20:25
_AnsHUMAN_ 2-Sep-08 20:25 
GeneralRe: MFC validation for special charaters Pin
samrw2-Sep-08 22:02
samrw2-Sep-08 22:02 
GeneralRe: MFC validation for special charaters Pin
Rane2-Sep-08 23:39
Rane2-Sep-08 23:39 
QuestionDoes shared_ptr support type cast? Pin
followait2-Sep-08 17:07
followait2-Sep-08 17:07 
AnswerRe: Does shared_ptr support type cast? Pin
Cedric Moonen2-Sep-08 20:28
Cedric Moonen2-Sep-08 20:28 
QuestionBack Propagation Pin
Ehsan Baghaki2-Sep-08 11:08
Ehsan Baghaki2-Sep-08 11:08 
QuestionIntelliSense Pin
FrankMookie2-Sep-08 10:17
FrankMookie2-Sep-08 10:17 
Hi everyone.
I'm having a problem when I try to use a pointer in a program.
I have one class and I want to call its functions in Main.cpp.
Here is the header User.h
#ifndef USER_H
#define USER_H

#include<iostream>
(...)
#include"manager.h"

using namespace std;

class User
{
        private:
			string type_user;
			list<Manager>available_manager_list;

	public:
			User(string);
			~User();
			User(const User & ); //copy constructor
			string get_type_user();
			friend ostream& operator << (ostream&, const User& );

			/************* Manager FUNC **********/
			void add_manager_available(const Manager& );
			void remove_manager(const Manager & );
			Manager* select_manager_name(string name);
			void save_manager(ofstream& ); 
};
#endif


In Main.cpp when I try to do:User * user; user->
Nothing appears in user-> ... IntelliSense "Expression on the left of . or -> has a type which could not be resolved"

Thanks.

"Failure is always an option."

QuestionRe: IntelliSense Pin
Mark Salsbery2-Sep-08 10:30
Mark Salsbery2-Sep-08 10:30 
AnswerRe: IntelliSense Pin
FrankMookie2-Sep-08 10:53
FrankMookie2-Sep-08 10:53 
GeneralRe: IntelliSense Pin
Mark Salsbery2-Sep-08 10:59
Mark Salsbery2-Sep-08 10:59 
QuestionRestoring an app from system tray Pin
emmmatty12-Sep-08 9:18
emmmatty12-Sep-08 9:18 
AnswerRe: Restoring an app from system tray Pin
David Crow2-Sep-08 9:24
David Crow2-Sep-08 9:24 
QuestionPorting project settings from Debug to Release Pin
Jeslan2-Sep-08 4:11
Jeslan2-Sep-08 4:11 
AnswerRe: Porting project settings from Debug to Release Pin
Jeslan2-Sep-08 6:00
Jeslan2-Sep-08 6:00 
QuestionNot able to make entries into vista operating system using reg... functions Pin
hariakuthota2-Sep-08 2:57
hariakuthota2-Sep-08 2:57 
AnswerRe: Not able to make entries into vista operating system using reg... functions Pin
Gary R. Wheeler2-Sep-08 3:03
Gary R. Wheeler2-Sep-08 3:03 
AnswerRe: Not able to make entries into vista operating system using reg... functions Pin
_AnsHUMAN_ 2-Sep-08 3:04
_AnsHUMAN_ 2-Sep-08 3:04 
AnswerRe: Not able to make entries into vista operating system using reg... functions Pin
Perspx2-Sep-08 5:59
Perspx2-Sep-08 5:59 
AnswerRe: Not able to make entries into vista operating system using reg... functions Pin
bob169722-Sep-08 7:01
bob169722-Sep-08 7:01 
GeneralRe: Not able to make entries into vista operating system using reg... functions Pin
hariakuthota2-Sep-08 19:38
hariakuthota2-Sep-08 19:38 
GeneralRe: Not able to make entries into vista operating system using reg... functions Pin
bob169726-Sep-08 5:33
bob169726-Sep-08 5:33 
Questionhow to duplicate object with type_info ? Pin
pedefetoll2-Sep-08 2:52
pedefetoll2-Sep-08 2:52 
AnswerRe: how to duplicate object with type_info ? Pin
Cedric Moonen2-Sep-08 3:02
Cedric Moonen2-Sep-08 3:02 
GeneralRe: how to duplicate object with type_info ? Pin
Gary R. Wheeler2-Sep-08 3:10
Gary R. Wheeler2-Sep-08 3:10 

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.