Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Listbox problem Pin
dxlee23-Nov-09 5:51
dxlee23-Nov-09 5:51 
Questionusing WPF in MFC applcation. Pin
Anu_Bala22-Nov-09 21:52
Anu_Bala22-Nov-09 21:52 
Questionis it possible to handle voice messages in vc++6.0 Pin
eswar pothula22-Nov-09 20:47
eswar pothula22-Nov-09 20:47 
AnswerRe: is it possible to handle voice messages in vc++6.0 Pin
Richard MacCutchan22-Nov-09 21:20
mveRichard MacCutchan22-Nov-09 21:20 
GeneralRe: is it possible to handle voice messages in vc++6.0 Pin
eswar pothula23-Nov-09 1:02
eswar pothula23-Nov-09 1:02 
GeneralRe: is it possible to handle voice messages in vc++6.0 Pin
Richard MacCutchan23-Nov-09 3:17
mveRichard MacCutchan23-Nov-09 3:17 
AnswerRe: is it possible to handle voice messages in vc++6.0 Pin
KarstenK22-Nov-09 21:45
mveKarstenK22-Nov-09 21:45 
Questionshowing Error Pin
Game-point22-Nov-09 19:51
Game-point22-Nov-09 19:51 
Hello Sir

This is my source code when i compiled this , its showing some errors ..but i think the code was correct.

this is my source

#include "stdafx.h"
#include <iostream>
using namespace std;
int main(int argc, _TCHAR* argv[])
{
	static int x __asm("x") = 5;
	__asm(
	"mov eax, x;"
	"shr eax,1;"
	"mov x, eax;"
	);
	cout<<x<<endl;
	return 0;
}



error C2143: syntax error : missing ';' before '__asm'<br />
error C2400: inline assembler syntax error in 'opcode'; found '('<br />
error C2400: inline assembler syntax error in 'opcode'; found '('<br />
error C2059: syntax error : ')'<br />



Please Replay !!


Thanks!!

Raju !!!


AnswerRe: showing Error Pin
Cedric Moonen22-Nov-09 20:45
Cedric Moonen22-Nov-09 20:45 
AnswerRe: showing Error Pin
Richard MacCutchan22-Nov-09 21:25
mveRichard MacCutchan22-Nov-09 21:25 
QuestionHow to stop BuildScript when there is any error in any project. Pin
Pavan_Putra22-Nov-09 19:25
Pavan_Putra22-Nov-09 19:25 
AnswerRe: How to stop BuildScript when there is any error in any project. Pin
tyftyftyf22-Nov-09 19:34
tyftyftyf22-Nov-09 19:34 
GeneralRe: How to stop BuildScript when there is any error in any project. Pin
Pavan_Putra22-Nov-09 19:36
Pavan_Putra22-Nov-09 19:36 
AnswerRe: How to stop BuildScript when there is any error in any project. Pin
Richard MacCutchan22-Nov-09 21:30
mveRichard MacCutchan22-Nov-09 21:30 
GeneralRe: How to stop BuildScript when there is any error in any project. Pin
Pavan_Putra22-Nov-09 21:34
Pavan_Putra22-Nov-09 21:34 
GeneralRe: How to stop BuildScript when there is any error in any project. Pin
Richard MacCutchan22-Nov-09 23:33
mveRichard MacCutchan22-Nov-09 23:33 
Questionarray Pin
myJelly22-Nov-09 19:10
myJelly22-Nov-09 19:10 
AnswerRe: array Pin
CPallini22-Nov-09 20:44
mveCPallini22-Nov-09 20:44 
Questionhi!! Pin
emjie22-Nov-09 19:10
emjie22-Nov-09 19:10 
AnswerRe: hi!! Pin
cool_joy222-Nov-09 19:26
cool_joy222-Nov-09 19:26 
AnswerRe: hi!! Pin
Paulraj G22-Nov-09 19:27
Paulraj G22-Nov-09 19:27 
Questionwhy the scroll bars of CEdit control disappeared after redraw? Pin
caobo92222-Nov-09 17:46
caobo92222-Nov-09 17:46 
QuestionMultiple Select in List Control Pin
hellogany22-Nov-09 17:00
hellogany22-Nov-09 17:00 
AnswerRe: Multiple Select in List Control Pin
Naveen22-Nov-09 17:12
Naveen22-Nov-09 17:12 
QuestionThe exact size of "string" problem [modified][Solved] Pin
tyftyftyf22-Nov-09 16:19
tyftyftyf22-Nov-09 16: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.