#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
asm
{
mov ax,13h
int 10h
}
system("PAUSE");
return 0;
}
robie tak i mi wyskakuja bledy:
9 D:\C++\yeah\main.cpp
parse error before {' token 10 D:\C++\yeah\main.cpp invalid suffix on integer constant 11 D:\C++\yeah\main.cpp invalid suffix on integer constant 13 D:\C++\yeah\main.cpp ISO C++ forbids declaration of
system' with no type
13 D:\C++\yeah\main.cpp
int system' redeclared as different kind of symbol 373 C:\Dev-Cpp\include\stdlib.h previous declaration of
int system(const
13 D:\C++\yeah\main.cpp
invalid conversion from const char*' to
int'
14 D:\C++\yeah\main.cpp
parse error before `return'
gdy nie robie tych wstawek assemblerowych to mnie ma bledow. jak sie wchodzi (lamerskie slowo: wchodzi) do 13h???? probuje wszystkiego i nic :( help