Click here to Skip to main content
15,912,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can reduce memory usage of application? Pin
Eugen Podsypalnikov8-Mar-10 22:40
Eugen Podsypalnikov8-Mar-10 22:40 
QuestionHow Add dialog and show it? Pin
sepel5-Mar-10 17:36
sepel5-Mar-10 17:36 
AnswerRe: How Add dialog and show it? Pin
A&Ms5-Mar-10 18:30
A&Ms5-Mar-10 18:30 
GeneralRe: How Add dialog and show it? Pin
sepel5-Mar-10 20:09
sepel5-Mar-10 20:09 
GeneralRe: How Add dialog and show it? Pin
A&Ms6-Mar-10 4:07
A&Ms6-Mar-10 4:07 
GeneralRe: How Add dialog and show it? Pin
sepel6-Mar-10 20:51
sepel6-Mar-10 20:51 
QuestionProtect App Pin
john56325-Mar-10 15:43
john56325-Mar-10 15:43 
AnswerRe: Protect App Pin
Maximilien6-Mar-10 1:19
Maximilien6-Mar-10 1:19 
QuestionConverting char* to LPCSTR Pin
ArnorBld5-Mar-10 14:00
ArnorBld5-Mar-10 14:00 
AnswerRe: Converting char* to LPCSTR Pin
Avi Berger5-Mar-10 14:27
Avi Berger5-Mar-10 14:27 
GeneralRe: Converting char* to LPCSTR Pin
ArnorBld8-Mar-10 7:33
ArnorBld8-Mar-10 7:33 
QuestionProblem with one of the MFC new feature pack controls CMFCPropertyGridCtrl Pin
A&Ms5-Mar-10 11:10
A&Ms5-Mar-10 11:10 
Questionc++ and using public static members in a class Pin
Alan Kurlansky5-Mar-10 10:30
Alan Kurlansky5-Mar-10 10:30 
AnswerRe: c++ and using public static members in a class Pin
Chris Losinger5-Mar-10 10:57
professionalChris Losinger5-Mar-10 10:57 
AnswerRe: c++ and using public static members in a class Pin
Alain Rist5-Mar-10 11:08
Alain Rist5-Mar-10 11:08 
AnswerRe: c++ and using public static members in a class Pin
Avi Berger5-Mar-10 12:52
Avi Berger5-Mar-10 12:52 
AnswerRe: c++ and public static member functions - alternative approach Pin
Avi Berger5-Mar-10 13:26
Avi Berger5-Mar-10 13:26 
GeneralRe: c++ and public static member functions - alternative approach Pin
Alan Kurlansky6-Mar-10 11:34
Alan Kurlansky6-Mar-10 11:34 
GeneralRe: c++ and public static member functions - alternative approach Pin
Avi Berger6-Mar-10 16:43
Avi Berger6-Mar-10 16:43 
GeneralRe: c++ and public static member functions - alternative approach Pin
Alan Kurlansky6-Mar-10 11:35
Alan Kurlansky6-Mar-10 11:35 
QuestionBagh! Pointers Pin
Herboren5-Mar-10 9:53
Herboren5-Mar-10 9:53 
I was reading http://www.cplusplus.com/doc/tutorial/pointers/
I understood most of what they were saying, so I chose to write my own code and comment what I have done to remember it in the future, but then its starts getting confusing near "Pointers and arrays" can anyone point out some simpler code for me to understand, so far this is the last thing I created::

// Pointers.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include < conio.h >
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	int fI = 3, sI = 2, tI = 1;
	int * p1, * p2, * p3;

	 p1 = &fI;			//Reference of first Integere held in p1
	 cout << p1 << ": ";
	*p1 = fI;			//*p1 points to the varible reference at location 
	cout << *p1 << endl;
	
	 p2 = &sI;			//Reference of second first Integere held in p2
	 cout << p2 << ": ";
	*p2 = sI;			//*p2 points to the varible reference at location 
	cout << *p2 << endl;

	 p3 = &tI;			//Reference of third Integere held in p3
	 cout << p3 << ": ";
	*p3 = tI;			//*p3 points to the varible reference at location 
	cout << *p3 << endl;

	_getch();
	return 0;
}

AnswerRe: Bagh! Pointers Pin
Chris Losinger5-Mar-10 10:31
professionalChris Losinger5-Mar-10 10:31 
AnswerRe: Bagh! Pointers Pin
David Crow5-Mar-10 10:48
David Crow5-Mar-10 10:48 
Questionthe "Decimal" data type in vc++ Pin
b-rad3115-Mar-10 8:17
b-rad3115-Mar-10 8:17 
AnswerRe: the "Decimal" data type in vc++ Pin
Chris Losinger5-Mar-10 8:19
professionalChris Losinger5-Mar-10 8:19 

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.