Click here to Skip to main content
15,886,110 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: COM technology and use Pin
pasztorpisti15-Jul-13 4:48
pasztorpisti15-Jul-13 4:48 
AnswerRe: COM technology and use Pin
yusif muffed ektilat25-Aug-13 9:19
professionalyusif muffed ektilat25-Aug-13 9:19 
SuggestionHelp : learn ATL, STL and COM Pin
shanmugarajaa8-Jul-13 18:59
shanmugarajaa8-Jul-13 18:59 
GeneralRe: Help : learn ATL, STL and COM Pin
Richard MacCutchan8-Jul-13 21:12
mveRichard MacCutchan8-Jul-13 21:12 
GeneralRe: Help : learn ATL, STL and COM Pin
Jonathan Davies8-Jul-13 22:39
Jonathan Davies8-Jul-13 22:39 
GeneralRe: Help : learn ATL, STL and COM Pin
Ajay_Tiwari3-Sep-13 0:18
Ajay_Tiwari3-Sep-13 0:18 
QuestionHow can I get the ATL Headers for free? Pin
Louai Haimour6-Jul-13 23:37
Louai Haimour6-Jul-13 23:37 
AnswerRe: How can I get the ATL Headers for free? Pin
Richard MacCutchan7-Jul-13 1:23
mveRichard MacCutchan7-Jul-13 1:23 
QuestionChakra: IActiveScript::GetScriptDispatch() fails with E_OUTOFMEMORY Pin
imagiro3-Jul-13 22:13
imagiro3-Jul-13 22:13 
QuestionActiveX in ActiveX problem Pin
leisuregame1-Jul-13 22:29
leisuregame1-Jul-13 22:29 
QuestionCOM Apartment Pin
KRISHNARAYALU16-Jun-13 20:46
KRISHNARAYALU16-Jun-13 20:46 
AnswerRe: COM Apartment Pin
Richard MacCutchan16-Jun-13 20:57
mveRichard MacCutchan16-Jun-13 20:57 
GeneralRe: COM Apartment Pin
KRISHNARAYALU16-Jun-13 21:10
KRISHNARAYALU16-Jun-13 21:10 
GeneralRe: COM Apartment Pin
Richard MacCutchan16-Jun-13 21:24
mveRichard MacCutchan16-Jun-13 21:24 
GeneralRe: COM Apartment Pin
KRISHNARAYALU16-Jun-13 21:35
KRISHNARAYALU16-Jun-13 21:35 
AnswerRe: COM Apartment Pin
imagiro4-Jul-13 2:53
imagiro4-Jul-13 2:53 
AnswerRe: COM Apartment Pin
Krishnakumartg13-Aug-13 6:53
Krishnakumartg13-Aug-13 6:53 
Questionhow to export an enum type in an ATL prject Pin
astupidboy12-Jun-13 21:58
astupidboy12-Jun-13 21:58 
AnswerRe: how to export an enum type in an ATL prject Pin
Jonathan Davies15-Jun-13 4:10
Jonathan Davies15-Jun-13 4:10 
QuestionHere is a C Program showing some Error, Give some solution Pin
Member 969295410-Jun-13 4:03
Member 969295410-Jun-13 4:03 
#include<stdio.h>
#include<conio.h>

int *val1,*val2;
int *oper;

void calc(val1,val2,oper)
{
switch(*oper)
{
case '+':printf("%d",*val1+*val2);
break;

case '-':printf("%d",*val1-*val2);
break;

case '*':printf("%d",*val1 * *val2);
break;

case '/':printf("%d",*val1 / *val2);
break;
default:printf("invalied input");

}
}
void main()
{
int num1,num2;
int oper1;
printf("Enter 2 number and an operator\n");
scanf_s("%d%d%d",&num1,&num2,&oper1);
//fflush(stdin);
calc(&num1,&num2,&oper1);
_getch();
}

it is showing all of the following ERRORS

VB
Error   2   error C2017: illegal escape sequence    c:\users\lina\desktop\project7\project7\source.cpp  33  1   Project7
Error   1   error C2448: 'calc' : function-style initializer appears to be a function definition    c:\users\lina\desktop\project7\project7\source.cpp  8   1   Project7
Error   3   error C3861: 'calc': identifier not found   c:\users\lina\desktop\project7\project7\source.cpp  33  1   Project7
    6   IntelliSense: variable "oper" is not a type name    c:\Users\Lina\Desktop\Project7\Project7\Source.cpp  7   21  Project7
    4   IntelliSense: variable "val1" is not a type name    c:\Users\Lina\Desktop\Project7\Project7\Source.cpp  7   11  Project7
    5   IntelliSense: variable "val2" is not a type name    c:\Users\Lina\Desktop\Project7\Project7\Source.cpp  7   16  Project7

AnswerRe: Here is a C Program showing some Error, Give some solution Pin
Richard MacCutchan10-Jun-13 6:03
mveRichard MacCutchan10-Jun-13 6:03 
AnswerRe: Here is a C Program showing some Error, Give some solution Pin
Krishnakumartg13-Aug-13 7:05
Krishnakumartg13-Aug-13 7:05 
Questionstd::map and error checking Pin
bkelly139-Jun-13 10:42
bkelly139-Jun-13 10:42 
AnswerRe: std::map and error checking Pin
Garth J Lancaster9-Jun-13 13:18
professionalGarth J Lancaster9-Jun-13 13:18 
GeneralRe: std::map and error checking Pin
bkelly139-Jun-13 14:16
bkelly139-Jun-13 14:16 

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.