Click here to Skip to main content
15,895,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Whats the macro equivlent? Pin
Waldermort20-Dec-06 2:40
Waldermort20-Dec-06 2:40 
Questionone class in tow namespace Pin
A_Fa20-Dec-06 1:06
A_Fa20-Dec-06 1:06 
AnswerRe: one class in tow namespace Pin
sunit520-Dec-06 1:15
sunit520-Dec-06 1:15 
GeneralRe: one class in tow namespace Pin
A_Fa20-Dec-06 1:29
A_Fa20-Dec-06 1:29 
AnswerRe: one class in tow namespace Pin
Cedric Moonen20-Dec-06 1:16
Cedric Moonen20-Dec-06 1:16 
GeneralRe: one class in tow namespace Pin
A_Fa20-Dec-06 1:35
A_Fa20-Dec-06 1:35 
AnswerRe: one class in tow namespace Pin
CPallini20-Dec-06 2:07
mveCPallini20-Dec-06 2:07 
AnswerRe: one class in tow namespace Pin
James R. Twine20-Dec-06 2:09
James R. Twine20-Dec-06 2:09 
   You should be able to put whatever class def you want into namespace B.  What exactly are you worried about?
namespace A
{
   class cls1
   {
     public:
     cls1()
     {
     };
 
     void ThisFunc1()
     {
     };
   }
}
 
namespace B
{
<CODE>   class cls1
   {
     public:
     cls1()
     {
     };
 
     void AnotherFunc42()
     {
     };
   }</CODE>
}
 
main()
{
   A::cls1 var1;
<code>   B::cls1 var2;</code>
 
   var1.MyFunc1();
<code>   var2.AnotherFunc42();</code>
}
   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)

AnswerRe: one class in tow namespace Pin
Maximilien20-Dec-06 3:09
Maximilien20-Dec-06 3:09 
GeneralRe: one class in tow namespace Pin
James R. Twine20-Dec-06 3:20
James R. Twine20-Dec-06 3:20 
GeneralRe: one class in tow namespace Pin
Maximilien20-Dec-06 4:23
Maximilien20-Dec-06 4:23 
GeneralRe: one class in tow namespace Pin
James R. Twine20-Dec-06 6:22
James R. Twine20-Dec-06 6:22 
AnswerRe: one class in tow namespace Pin
Michael Dunn20-Dec-06 7:06
sitebuilderMichael Dunn20-Dec-06 7:06 
GeneralRe: one class in tow namespace Pin
A_Fa20-Dec-06 19:12
A_Fa20-Dec-06 19:12 
QuestionListCtrl dynamic icon changing.. Pin
Arun M S20-Dec-06 0:51
Arun M S20-Dec-06 0:51 
AnswerRe: ListCtrl dynamic icon changing.. Pin
Monty220-Dec-06 2:13
Monty220-Dec-06 2:13 
GeneralRe: ListCtrl dynamic icon changing.. Pin
Arun M S20-Dec-06 2:26
Arun M S20-Dec-06 2:26 
QuestionText with Toolbar Pin
Arun M S20-Dec-06 0:47
Arun M S20-Dec-06 0:47 
QuestionHow to detect a mouse event of other applications? Pin
tempi19-Dec-06 23:39
tempi19-Dec-06 23:39 
AnswerRe: How to detect a mouse event of other applications? Pin
Rajesh R Subramanian20-Dec-06 0:02
professionalRajesh R Subramanian20-Dec-06 0:02 
QuestionPadding error for cryptograhpy with hmacsha256 verification [modified] Pin
Malcolm Chu19-Dec-06 22:54
Malcolm Chu19-Dec-06 22:54 
Question2-dimensional array of strings Pin
namy119-Dec-06 22:52
namy119-Dec-06 22:52 
AnswerRe: 2-dimensional array of strings Pin
sunit519-Dec-06 23:13
sunit519-Dec-06 23:13 
AnswerRe: 2-dimensional array of strings Pin
toxcct19-Dec-06 23:18
toxcct19-Dec-06 23:18 
AnswerRe: 2-dimensional array of strings Pin
sunit520-Dec-06 0:51
sunit520-Dec-06 0:51 

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.