Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help All that stuff like OnInit, db_count and such is all already defined in the RO source code, its C++ but its been defined in another file, the file I posted just has some general debug errors, 2 of... |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help Its not really for porting, I just needed to find and fix the errors in it, thats all it was for. The last is proving to be remarkably difficult to solve.. And yes, I do know how to write c/c++... |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help What do you mean 'line vb will do'?
Ok, Ive removed all the $ and @, and still have the error, what is it I have to define? |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help Macros eh? Hmmm, how can I redefine them to C/C++ rules?
Thanks alot for your help so far, I appreciate it.
EDIT:
I didnt have an #endif, but when I placed one in it created 62 errors =\
EDIT 2: The... |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help Hmmmmm....that didnt fix it either.. Fatal errors are by far the most annoying to debug >_<" |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help Including that stdafix.h didnt fix it.. How do I remove the precompiled header requirements? |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help The file is a game script from RagnarokOnline, its a database management library.
Things like OnInit are commands from the games source, would it recognise it if I defined it?
EDIT:
Adding... |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help It is for a group of source files which is why some things dont make sense.
The errors I'm getting are:
F:\Mike\eAAC Test Part I.cpp(4) : error C2146: syntax error : missing ';' before identifier... |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Re: Script problem help 'Script' is an external function being called.
Its just general errors it contains, thats what I need help identifying.. |
Forum: C++ Feb 27th, 2006 |
| Replies: 19 Views: 2,154 Script problem help Id like someone to take a look at this piece of code and tell me any errors to correct, ms-vc++ 6.0 says there are 3, but when I correct them it creates more errors (example being: going from 3... |
Forum: C Sep 28th, 2005 |
| Replies: 4 Views: 1,050 Re: Some Help Hmmm alright ill give it a shot, thanks for the help. |
Forum: C Sep 28th, 2005 |
| Replies: 4 Views: 1,050 Re: Some Help Hmmm is there an easier way than registry editing? For example spybot/adaware can start straight after logon and run their scan..
And thanks for the rest of the info ^^ |
Forum: C Sep 25th, 2005 |
| Replies: 4 Views: 1,050 Some Help I was wondering if anyone could help me with some things, im planning on making a little security program that comes up after logon to windows through the logon screen, reads a password from a file... |
Forum: C++ Aug 11th, 2005 |
| Replies: 8 Views: 1,321 Re: Annoying link errors Oh sorry i missed that,
i changed the int check to char check because getint doesnt work, and removed the check for Yes and yes because they arent chars,
its now
char check;
scanf(" %c",... |
Forum: C++ Aug 11th, 2005 |
| Replies: 8 Views: 1,321 Re: Annoying link errors What should i define YesNo() as then?
I just need to to put in a y, n, yes or no and have it recognise it and do it based on the check function, can you suggest anything? |
Forum: C++ Aug 11th, 2005 |
| Replies: 8 Views: 1,321 |
Forum: C++ Aug 11th, 2005 |
| Replies: 8 Views: 1,321 Re: Annoying link errors I didnt =/, i thought it was included in a library, heres the full code if you want to take a look
#include <iostream>
#include <cmath>
#include <stdio.h>
using namespace std;
int main()
{ |
Forum: C++ Aug 11th, 2005 |
| Replies: 8 Views: 1,321 Annoying link errors Hey, i get the following annoying link errors when i try to build my program:
The program compiles ok, but it wont build, for those who need to see the code, here is the snippet where YesNo is an... |
Forum: C++ Aug 9th, 2005 |
| Replies: 6 Views: 1,952 Re: Cubic Numbers Ahhhhh, lol thanks thats got it working,
else if(value == 1)
{
system("title AnimeDD Zenii Calculator");
system("color 8E");
cout <<"Alright time to calculate your Zenii, get your storyline... |
Forum: C++ Aug 9th, 2005 |
| Replies: 6 Views: 1,952 Re: Cubic Numbers Hmmm it still doesnt work, when i use that and change the cout to call out what x equals
'x = creat;' with what you told me to int creat as, it calls out 3 when i input the creat as 3, when it should... |
Forum: C++ Aug 9th, 2005 |
| Replies: 6 Views: 1,952 Re: Cubic Numbers But how would i convert that into what i need? The number i want cubed is creat, and it is a user input number,
so for example the creat input is 6
I want it to take six and cube it, how would i do... |
Forum: C++ Aug 9th, 2005 |
| Replies: 6 Views: 1,952 Cubic Numbers How to i get cubic numbers into a program?
Ive tried ^3, but in this line:
x = creat^3;
y = lines*20;
z = x+y;
cout<<"Your zenii for this post is " << z << ".\a" << endl;
If i change the cout to... |
Forum: C++ Jul 31st, 2005 |
| Replies: 18 Views: 2,404 Re: Algebraic question I found out why, the log was correct all along lol, the problem was in the 'x' part of the formula, i made a parenthetical error on the first line, this was my line:
x =... |
Forum: C++ Jul 30th, 2005 |
| Replies: 18 Views: 2,404 Re: Algebraic question What functions? =/
I thought log10 was right but its not, there must be another way to include the natural logarithm >_< |
Forum: C++ Jul 30th, 2005 |
| Replies: 18 Views: 2,404 |
Forum: C++ Jul 30th, 2005 |
| Replies: 18 Views: 2,404 Re: Algebraic question Thanks for the help guys, but i need to find the natural log, that 'log' function is the common log, how can i get the natural log, ln, in? |
Forum: C++ Jul 29th, 2005 |
| Replies: 18 Views: 2,404 |
Forum: C++ Jul 29th, 2005 |
| Replies: 18 Views: 2,404 |
Forum: C++ Jul 29th, 2005 |
| Replies: 18 Views: 2,404 |
Forum: C++ Jul 29th, 2005 |
| Replies: 18 Views: 2,404 Re: Algebraic question When i have that in it gives an error saying that the log hasnt been initialised, maybe youll understand it better if you look at the code:
#include <iostream>
#include <cmath>
using namespace... |
Forum: C++ Jul 29th, 2005 |
| Replies: 18 Views: 2,404 Algebraic question Im adding a specialised formula to a calculator, and it uses the Ln/ln function which is often on scientific calculators, how do i get this function to work in c++?
The formula is as... |
Forum: C++ Jul 29th, 2005 |
| Replies: 54 Views: 51,312 Re: C++ Books I have a great recommendation, this is a cheap book, full colour, and extremely detailed, im from the UK, here its £10.99, so thats about $20 roughly.
Its called C++ In Easy Steps... |
Forum: C++ Jul 29th, 2005 |
| Replies: 2 Views: 1,483 |
Forum: C++ Jul 29th, 2005 |
| Replies: 2 Views: 1,483 Special calculator help Im trying to finish this calculator program, its for a writing rpg on a forum, for a post you get
line count
creativity rating
and difficulty rating
using these 3 things you use a special formula to... |