a ja teraz mam dev c++ i niewiem co tam sie robi
mam to:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return EXIT_SUCCESS;
}
i co tam sie robi!?
wiesz zrobil bym se trainera do san andreas dzieki ktoremu mozna dodawac samochody jakie sie chce na mape ale nic nie wiem jak
kurde zaczalem pisac so ale mi sie k**** nie zapisalo. Pisalem z kumplem i mi komp siadl
a wlasnie moglibyscie mi pomoc bo niewiem co mi sie z kompem dzieje restartuje sie kiedy chce :/
dobra zaczalem uz pisac. I mam taki problem:
#include <stdio.h>
int main()
{
onLoad="makesnake()" style="width:100%; overflow-x:hidden; overflow-y:scroll"
<body>
<style type="text/css">
<!--
.spanstyle {position:absolute; visibility:visible; top:-50px; font-size:12pt; font-weight:bolder; color:#009000}
-->
</style>
<script>
<!--
var x,y
var step=7
var flag=10
var message="To jest napis kontrolny..."
message=message.split("")
var xpos=new Array()
for (i=0;i<=message.length-1;i++) {
xpos
=-50
}
var ypos=new Array()
for (i=0;i<=message.length-1;i++) {
ypos=-50
}
function handlerMM(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
flag=1
}
function makesnake() {
if (flag==1 && document.all) {
for (i=message.length-1; i>=1; i--) {
xpos=xpos[i-1]+step
ypos=ypos[i-1]
}
xpos[0]=x+step
ypos[0]=y
for (i=0; i<message.length-1; i++) {
var thisspan = eval("span"+(i)+".style")
thisspan.posLeft=xpos
thisspan.posTop=ypos
}}
else if (flag==1 && document.layers) {
for (i=message.length-1; i>=1; i--) {
xpos=xpos[i-1]+step
ypos=ypos[i-1]
}
xpos[0]=x+step
ypos[0]=y
for (i=0; i<message.length-1; i++) {
var thisspan = eval("document.span"+i)
thisspan.left=xpos
thisspan.top=ypos
}}
var timer=setTimeout("makesnake()",20)
}
-->
</script>
return 0;
}
niewiem tylko czy jest to poprawna sciezka... ;( jak nie to powiedzcie co robie nie tak. PLrosze pomocy...