Want to learn? Have a look.
Scripting Lessons
Scripting Lessons
The [url="http://nwvault.ign.com/dm/scripting/course/index.shtml"]NWScript Scripting Lessons[/url] really start to take off now.
Want to learn? Have a look.
Want to learn? Have a look.
[url="http://www.sorcerers.net/Games/BG2/SpellsReference/Main.htm"]Baldur's Gate 2 Spells Reference[/url]: Strategy, tips, tricks, bugs, cheese and corrections to the manual.
- Garcia
- Posts: 1017
- Joined: Wed Dec 06, 2000 11:00 pm
- Location: Denmark (and Slvenia and England (gibraltar)))
- Contact:
oh hi Xan
This really pisses me off I have tried things much more difficult than this. I can fully program any homepage or site in html but I cant get this darn thing to work
the rundos says return code -1
and then it gives me the execution time.....
"press any key to continue" continue to what! it only closes the program and now hallo world for me!'
perhaps i am missing a prototype for my printstring?
This really pisses me off I have tried things much more difficult than this. I can fully program any homepage or site in html but I cant get this darn thing to work
the rundos says return code -1
and then it gives me the execution time.....
"press any key to continue" continue to what! it only closes the program and now hallo world for me!'
perhaps i am missing a prototype for my printstring?
This weeks health tips:
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Yeah - I just started computer science (datamatiker) last weekOriginally posted by Garcia:
<STRONG>Umm I am not sure to tell the truth![]()
it is on my other computer so I will try and see it would be a stupid thing to lag.
are you reading datamatics Xan?</STRONG>
The files should be placed in a directory and the program should be pointed towards this directory.
The stdio.h is the input/output file where the definitions of ei. printin text on screen is located.
This could explain the error.
Otherwise - post the program so we can look at it
Insert signature here.
- Garcia
- Posts: 1017
- Joined: Wed Dec 06, 2000 11:00 pm
- Location: Denmark (and Slvenia and England (gibraltar)))
- Contact:
thx
I will look in to it today here at work
(slow period right now a little advantage of being an accountant...perhaps the only one?!)
It doesn't really matter if the program works or not but now it has become an obsession. it must work!!!
[ 09-19-2001: Message edited by: Garcia ]
It doesn't really matter if the program works or not but now it has become an obsession. it must work!!!
[ 09-19-2001: Message edited by: Garcia ]
This weeks health tips:
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
- Garcia
- Posts: 1017
- Joined: Wed Dec 06, 2000 11:00 pm
- Location: Denmark (and Slvenia and England (gibraltar)))
- Contact:
ahhh that help
// my single line comment
#include <stdio.h>
#include <NWScript.h>
void main()
{
string sHello = "Hello World...\n";
PrintString ( sHello );
}
"this is what it is suppose to look like right?"
"I have now followed the installation step by step (instead of cliking next next next...
and done exactly as told the two files NWScript.h and stdio.h are both in the C:\lcc\inlclude directory."
"when I compile->make it gives me: (here we go)"
Error c:\lcc\lesson1.c: C:\lcc\include\nwscript.h:12 redefinition of 'printString' previously defined at + c:\lcc\include\nwscript.h 11
Error c:\lcc\lesson1.c: c:\lcc\include\nwscript.h:17 redefinition of 'PrintIntger' previously defined at + c:\lcc\include\nwscript.h 16........etc.
"there must be a little mix-up with the directory" ???????????????
This weeks health tips:
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
- Garcia
- Posts: 1017
- Joined: Wed Dec 06, 2000 11:00 pm
- Location: Denmark (and Slvenia and England (gibraltar)))
- Contact:



It works!!!! I didn't do anything and all of the sudden it worked?!
I would like to give a big thanks to my mom and dad for believing in me and Xandax for helping me through some rough times and I would like to give out a bit warm thank you to the Banshee community for the emends backup all the way. Without you this would not have been possible
I am a happy man
[ 09-19-2001: Message edited by: Garcia ]
This weeks health tips:
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Congrats
So now we are gonna see a lot of scripts from you
Do you know what you did to get it to work or did it just work?worked??
I've looked at your code, and all it tells me, is that it didn't like something with the NWScript.h file.
We are gonna start Java tomorrow, I'm looking forward to it - unless I have to do the "Hello World" program, I've already made that i C++
[ 09-19-2001: Message edited by: Xandax ]
So now we are gonna see a lot of scripts from you
Do you know what you did to get it to work or did it just work?worked??
I've looked at your code, and all it tells me, is that it didn't like something with the NWScript.h file.
We are gonna start Java tomorrow, I'm looking forward to it - unless I have to do the "Hello World" program, I've already made that i C++
[ 09-19-2001: Message edited by: Xandax ]
Insert signature here.
- Garcia
- Posts: 1017
- Joined: Wed Dec 06, 2000 11:00 pm
- Location: Denmark (and Slvenia and England (gibraltar)))
- Contact:
thank you very much
I am gonna massproduce scrips now
now that I am a hardcore programmer I think I will take up the holy bible C++
No it didn't like the NWscript.h so I tried to change directory so that it could find it...that didn't help then I closed the program and opned it again later and it worked first time!???
a lot of my friends are reading data m. I just like learning by doing from the net and what I can find out for my self but they can do some pretty cool stuff sometimes. once they even made my old compaq (read: scumbag) work!!!

I am gonna massproduce scrips now
now that I am a hardcore programmer I think I will take up the holy bible C++
No it didn't like the NWscript.h so I tried to change directory so that it could find it...that didn't help then I closed the program and opned it again later and it worked first time!???
a lot of my friends are reading data m. I just like learning by doing from the net and what I can find out for my self but they can do some pretty cool stuff sometimes. once they even made my old compaq (read: scumbag) work!!!
This weeks health tips:
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
- Garcia
- Posts: 1017
- Joined: Wed Dec 06, 2000 11:00 pm
- Location: Denmark (and Slvenia and England (gibraltar)))
- Contact:
I am sure you will M8Originally posted by Tamerlane:
<STRONG>I have exams coming up (next few weeks). So I've been hitting the books more often. I'll pop in now and then.</STRONG>
This weeks health tips:
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.
Don't eat sharp objects it can be the cause of 7 out of 10 bad stomages.