Click here to Skip to main content
15,888,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
PankajB8-Apr-09 20:05
PankajB8-Apr-09 20:05 
GeneralRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
«_Superman_»8-Apr-09 20:09
professional«_Superman_»8-Apr-09 20:09 
GeneralRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
PankajB8-Apr-09 20:16
PankajB8-Apr-09 20:16 
GeneralRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
«_Superman_»8-Apr-09 20:36
professional«_Superman_»8-Apr-09 20:36 
AnswerRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
Paresh Chitte8-Apr-09 20:22
Paresh Chitte8-Apr-09 20:22 
GeneralRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
PankajB8-Apr-09 20:30
PankajB8-Apr-09 20:30 
GeneralRe: How to recieve a User defined messages in Win32 Console based [MFC supported] application from any other running Exe. Pin
Paresh Chitte8-Apr-09 21:01
Paresh Chitte8-Apr-09 21:01 
QuestionHow to use GDI+ 1.1? Pin
Parthi_Appu8-Apr-09 19:05
Parthi_Appu8-Apr-09 19:05 
AnswerRe: How to use GDI+ 1.1? Pin
Iain Clarke, Warrior Programmer8-Apr-09 23:05
Iain Clarke, Warrior Programmer8-Apr-09 23:05 
GeneralRe: How to use GDI+ 1.1? Pin
Parthi_Appu8-Apr-09 23:26
Parthi_Appu8-Apr-09 23:26 
GeneralRe: How to use GDI+ 1.1? Pin
amurgshere10-May-11 2:17
amurgshere10-May-11 2:17 
GeneralRe: How to use GDI+ 1.1? Pin
Iain Clarke, Warrior Programmer10-May-11 2:46
Iain Clarke, Warrior Programmer10-May-11 2:46 
QuestionHow can I delete a file after conversion to another format? Pin
002comp8-Apr-09 18:47
002comp8-Apr-09 18:47 
AnswerRe: How can I delete a file after conversion to another format? Pin
«_Superman_»8-Apr-09 19:26
professional«_Superman_»8-Apr-09 19:26 
GeneralRe: How can I delete a file after conversion to another format? Pin
002comp8-Apr-09 20:14
002comp8-Apr-09 20:14 
AnswerRe: How can I delete a file after conversion to another format? Pin
Eytukan8-Apr-09 19:31
Eytukan8-Apr-09 19:31 
GeneralRe: How can I delete a file after conversion to another format? Pin
002comp8-Apr-09 21:16
002comp8-Apr-09 21:16 
QuestionCRichEditCtrl subclass [modified] Pin
vijayarani8-Apr-09 16:24
vijayarani8-Apr-09 16:24 
AnswerRe: CRichEditCtrl subclass Pin
«_Superman_»8-Apr-09 20:07
professional«_Superman_»8-Apr-09 20:07 
QuestionCan we invoke any event as a Mouse Left/Right button action? Pin
THAQCD8-Apr-09 16:07
THAQCD8-Apr-09 16:07 
AnswerRe: Can we invoke any event as a Mouse Left/Right button action? Pin
Jijo.Raj8-Apr-09 18:04
Jijo.Raj8-Apr-09 18:04 
GeneralRe: Can we invoke any event as a Mouse Left/Right button action? Pin
THAQCD9-Apr-09 8:18
THAQCD9-Apr-09 8:18 
Questionhelp me ... i have some errors Pin
kiemxai8-Apr-09 10:37
kiemxai8-Apr-09 10:37 
use funtion to count this sum:
s=a1*a2+a2*a3+a3*a4+...
I did,but have error:

#include "stdafx.h"
#include<iostream>
#include<cmath>
using namespace std;
void sum(int a[],int n)
{
int sum;
sum=0;
for(int i=1;i<n;i++)
sum=sum+ a[i]*a[i+1];
cout<<"sum="<<sum<<endl;
}
int main()
{
int a[100];
int n;
cout<<"enter n:"<<endl;
scanf("%d",&n);
cout<<"enter numbers of array ";
for(int i=1;i<n;i++)

scanf("%d ",&a[i]);
sum(a[100],n);
getchar();
}
but when running, this error : error C2664: 'sum' : cannot convert parameter 1 from 'int' to 'int []'

can you help me edit that code .can you send me your answer into my email: doiphongba_ht2000@yahoo.com
thank you very much
AnswerRe: help me ... i have some errors Pin
Stuart Dootson8-Apr-09 11:01
professionalStuart Dootson8-Apr-09 11:01 
Questionproblems with converting from string to int Pin
Aljaz1118-Apr-09 10:32
Aljaz1118-Apr-09 10:32 

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.