Search Results

Showing results 1 to 31 of 31
Search took 0.00 seconds.
Search: Posts Made By: Mike182 ; Forum: C++ and child forums
Forum: C++ Feb 27th, 2006
Replies: 19
Views: 3,071
Posted By Mike182
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: 3,071
Posted By Mike182
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: 3,071
Posted By Mike182
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: 3,071
Posted By Mike182
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:...
Forum: C++ Feb 27th, 2006
Replies: 19
Views: 3,071
Posted By Mike182
Hmmmmm....that didnt fix it either.. Fatal errors are by far the most annoying to debug >_<"
Forum: C++ Feb 27th, 2006
Replies: 19
Views: 3,071
Posted By Mike182
Including that stdafix.h didnt fix it.. How do I remove the precompiled header requirements?
Forum: C++ Feb 27th, 2006
Replies: 19
Views: 3,071
Posted By Mike182
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: 3,071
Posted By Mike182
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...
Forum: C++ Feb 27th, 2006
Replies: 19
Views: 3,071
Posted By Mike182
'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: 3,071
Posted By Mike182
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++ Aug 11th, 2005
Replies: 8
Views: 1,712
Posted By Mike182
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,712
Posted By Mike182
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,712
Posted By Mike182
Lol its for an rpg, if your character is a human you get double zenii for a post
Forum: C++ Aug 11th, 2005
Replies: 8
Views: 1,712
Posted By Mike182
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,712
Posted By Mike182
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...
Forum: C++ Aug 9th, 2005
Replies: 6
Views: 2,363
Posted By Mike182
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...
Forum: C++ Aug 9th, 2005
Replies: 6
Views: 2,363
Posted By Mike182
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...
Forum: C++ Aug 9th, 2005
Replies: 6
Views: 2,363
Posted By Mike182
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: 2,363
Posted By Mike182
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...
Forum: C++ Jul 31st, 2005
Replies: 18
Views: 3,127
Posted By Mike182
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: 3,127
Posted By Mike182
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: 3,127
Posted By Mike182
So i use 'log10' instead of log? Is 'log10' the Ln?
Forum: C++ Jul 30th, 2005
Replies: 18
Views: 3,127
Posted By Mike182
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: 3,127
Posted By Mike182
Awesome its building now, thanks alot =D
Forum: C++ Jul 29th, 2005
Replies: 18
Views: 3,127
Posted By Mike182
Hmmm it still gives the same error =/ how can it be made to evaluate?
Forum: C++ Jul 29th, 2005
Replies: 18
Views: 3,127
Posted By Mike182
Hmmm, now it says 'error C2064: term does not evaluate to a function' =/
Forum: C++ Jul 29th, 2005
Replies: 18
Views: 3,127
Posted By Mike182
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...
Forum: C++ Jul 29th, 2005
Replies: 18
Views: 3,127
Posted By Mike182
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 follows:...
Forum: C++ Jul 29th, 2005
Replies: 54
Read Me: C++ Books
Views: 84,425
Posted By Mike182
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: 2,180
Posted By Mike182
Wow thats got it thanks lol
Forum: C++ Jul 29th, 2005
Replies: 2
Views: 2,180
Posted By Mike182
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...
Showing results 1 to 31 of 31

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC