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

C / C++ / MFC

 
AnswerRe: how to overwrite a string in a file in vc++? Pin
Aamir Butt28-Mar-05 2:16
Aamir Butt28-Mar-05 2:16 
GeneralMD5 Result Pin
Monty227-Mar-05 19:46
Monty227-Mar-05 19:46 
GeneralRe: MD5 Result Pin
Michael Dunn27-Mar-05 20:15
sitebuilderMichael Dunn27-Mar-05 20:15 
GeneralCTwain : With ActiveX control. It does not working ! . Help me please. Pin
Anand for every one27-Mar-05 18:55
Anand for every one27-Mar-05 18:55 
Generalaccess to windows desktop explorer Pin
seethat27-Mar-05 18:54
seethat27-Mar-05 18:54 
GeneralRe: access to windows desktop explorer Pin
Aamir Butt28-Mar-05 2:18
Aamir Butt28-Mar-05 2:18 
GeneralDrawing Lines Pin
frankieb27-Mar-05 18:32
frankieb27-Mar-05 18:32 
GeneralRe: Drawing Lines Pin
Joel Holdsworth27-Mar-05 22:46
Joel Holdsworth27-Mar-05 22:46 
Ok... are you trying to do a plot of a cosine and sin function here? If you are then you first need to calculate a list of points, then plot that list. For example:
CClientDC dc(this);
POINT points[100];

for(int i = 0; i<100; i++)
{
	points[i].x = i * 5;
	points[i].y = sin(i * 0.06283185) * 100 + 100;
}

dc.Polyline(&points, 100);
Do a similar process for different functions, and hey presto - 8 functions.

Joel Holdsworth

Wanna give me a job this summer?
Check out my online CV and project history[^]
GeneralEnable/Disable DirectX Pin
sachinsharma27-Mar-05 17:28
sachinsharma27-Mar-05 17:28 
GeneralIMAGES TO MOVIE file Pin
Emiliano27-Mar-05 14:15
Emiliano27-Mar-05 14:15 
GeneralRe: IMAGES TO MOVIE file Pin
Steve Mayfield27-Mar-05 16:33
Steve Mayfield27-Mar-05 16:33 
QuestionIs my application causing cluster server crash? Pin
adnbsn27-Mar-05 14:14
adnbsn27-Mar-05 14:14 
GeneralNested For Loop Program Pin
bigsing27-Mar-05 13:42
bigsing27-Mar-05 13:42 
GeneralRe: Nested For Loop Program Pin
Yulianto.27-Mar-05 13:57
Yulianto.27-Mar-05 13:57 
GeneralRe: Nested For Loop Program Pin
Ravi Bhavnani28-Mar-05 3:06
professionalRavi Bhavnani28-Mar-05 3:06 
GeneralRe: Nested For Loop Program Pin
bigsing29-Mar-05 14:37
bigsing29-Mar-05 14:37 
GeneralCProgressCtrl Question Pin
Joel Holdsworth27-Mar-05 8:45
Joel Holdsworth27-Mar-05 8:45 
GeneralRe: CProgressCtrl Question Pin
Steve Mayfield27-Mar-05 9:19
Steve Mayfield27-Mar-05 9:19 
GeneralRe: CProgressCtrl Question Pin
Joel Holdsworth27-Mar-05 9:58
Joel Holdsworth27-Mar-05 9:58 
GeneralRe: CProgressCtrl Question Pin
Ralph Wetzel27-Mar-05 10:10
Ralph Wetzel27-Mar-05 10:10 
GeneralRe: CProgressCtrl Question Pin
Joel Holdsworth27-Mar-05 12:49
Joel Holdsworth27-Mar-05 12:49 
GeneralRe: CProgressCtrl Question Pin
David Crow28-Mar-05 2:51
David Crow28-Mar-05 2:51 
Questiontemplate bug in vc++6? Pin
nm_11427-Mar-05 7:21
nm_11427-Mar-05 7:21 
AnswerRe: template bug in vc++6? Pin
Joaquín M López Muñoz27-Mar-05 9:36
Joaquín M López Muñoz27-Mar-05 9:36 
GeneralRe: template bug in vc++6? Pin
nm_11427-Mar-05 13:30
nm_11427-Mar-05 13:30 

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.