Advertisement

Inline assembly with VC++ 6?

Started by March 25, 2002 07:45 AM
1 comment, last by Fireberg 2k 22 years, 5 months ago
I''ve tried, but I can''t do inline assembly with Visual C++.. Does anyone know how to do it? I''''m a beginner in C++ ^_^
I''m a beginner in C++ ^_^

  int main(){	int a = 0;	__asm	{		inc a	}}  


I suggest you learn some more about C++ before deciding that you need to use inline assembly - there''s often very little reason for it.
Advertisement
Yeah, you're probably right. I barely even know anything about classes! ;.

Anyway, thanks! =)

I'm a beginner in C++ ^_^

[edited by - Fireberg 2k on March 25, 2002 9:21:41 AM]
I''m a beginner in C++ ^_^

This topic is closed to new replies.

Advertisement