Click here to Skip to main content
15,891,942 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: [mfc] restart other process Pin
ThatsAlok23-Jul-09 19:48
ThatsAlok23-Jul-09 19:48 
GeneralRe: [mfc] restart other process Pin
Rajesh R Subramanian23-Jul-09 21:07
professionalRajesh R Subramanian23-Jul-09 21:07 
GeneralRe: [mfc] restart other process Pin
ThatsAlok23-Jul-09 22:38
ThatsAlok23-Jul-09 22:38 
GeneralRe: [mfc] restart other process Pin
ThatsAlok24-Jul-09 1:14
ThatsAlok24-Jul-09 1:14 
GeneralRe: [mfc] restart other process Pin
Rajesh R Subramanian24-Jul-09 6:15
professionalRajesh R Subramanian24-Jul-09 6:15 
QuestionException Error. Pin
FISH78623-Jul-09 5:20
FISH78623-Jul-09 5:20 
AnswerRe: Exception Error. Pin
Code-o-mat23-Jul-09 6:17
Code-o-mat23-Jul-09 6:17 
GeneralRe: Exception Error. Pin
FISH78623-Jul-09 6:32
FISH78623-Jul-09 6:32 
GeneralRe: Exception Error. Pin
FISH78627-Jul-09 3:37
FISH78627-Jul-09 3:37 
GeneralRe: Exception Error. Pin
Code-o-mat27-Jul-09 3:40
Code-o-mat27-Jul-09 3:40 
GeneralRe: Exception Error. Pin
FISH78628-Jul-09 10:22
FISH78628-Jul-09 10:22 
GeneralRe: Exception Error. Pin
Code-o-mat28-Jul-09 10:46
Code-o-mat28-Jul-09 10:46 
GeneralRe: Exception Error. Pin
FISH78628-Jul-09 11:09
FISH78628-Jul-09 11:09 
GeneralRe: Exception Error. Pin
Code-o-mat29-Jul-09 0:24
Code-o-mat29-Jul-09 0:24 
GeneralRe: Exception Error. Pin
FISH78629-Jul-09 9:36
FISH78629-Jul-09 9:36 
GeneralRe: Exception Error. Pin
Code-o-mat29-Jul-09 9:41
Code-o-mat29-Jul-09 9:41 
QuestionHow to put something in status bar at first launch ? Pin
mesajflaviu23-Jul-09 3:52
mesajflaviu23-Jul-09 3:52 
Questionconst in class as a member variable? Pin
sam_psycho23-Jul-09 3:43
sam_psycho23-Jul-09 3:43 
AnswerRe: const in class as a member variable? Pin
Cedric Moonen23-Jul-09 3:47
Cedric Moonen23-Jul-09 3:47 
GeneralRe: const in class as a member variable? Pin
sam_psycho23-Jul-09 3:56
sam_psycho23-Jul-09 3:56 
GeneralRe: const in class as a member variable? Pin
Cedric Moonen23-Jul-09 3:58
Cedric Moonen23-Jul-09 3:58 
AnswerRe: const in class as a member variable? Pin
CPallini23-Jul-09 3:53
mveCPallini23-Jul-09 3:53 
sam_psycho wrote:
Is it possible to declare member variable of class as a const,

Yes.

sam_psycho wrote:
if yes,please give me 1 example how to initialize it


class A
{
  static const int  c = 299792458;	
  const int a;

  A():a(5){}
};


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: const in class as a member variable? Pin
sam_psycho23-Jul-09 4:20
sam_psycho23-Jul-09 4:20 
GeneralRe: const in class as a member variable? Pin
CPallini23-Jul-09 6:06
mveCPallini23-Jul-09 6:06 
GeneralRe: const in class as a member variable? Pin
sam_psycho23-Jul-09 6:22
sam_psycho23-Jul-09 6:22 

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.