Now it runs and all but displays a bgi error saying it cant find egavga.bgi. Its looking right at it too. what does this mean?
Type: Posts; User: nold
Now it runs and all but displays a bgi error saying it cant find egavga.bgi. Its looking right at it too. what does this mean?
Never mind, I know, Thanks man
No, I didnt, thanks!
ohh and by the way, where is the target expert?
Hi, I have a 16 bit DOS app and am getting link errors, first here is my code to get a picture of what im doing:
#include <dos.h>
#include <graphics.h>
#include <conio.h>
int main()
{
At compile time I get three errors and here they are:
error C2556: 'int __cdecl InitHandles(void)' : overloaded function differs only by return type from 'void __cdecl InitHandles(void)'
error...
sorry for not using tags, il use them from now on
Im using VC++ 6.0. Here is what InitHandles() looks like
int InitHandles(void)
{
HANDLE q_Screen;
HANDLE q_Keyboard;
q_Screen=GetStdHandle(STD_OUTPUT_HANDLE);...
Well, I have two handles. One for the keyboard and another for the screen(Im working on a new game) and I have a function that initializes them defined in a .cpp file. But whenever I try to...
Yes
This may have no relevance, but did you have an
#ifndef
...
#endif
Or some sort of unclosed statement?
Give an example of how you are intending to use it.
Well, you might want to start by lowering your big @$$ ego, I don't think a newbie should be so pridefull.
Ohh, and by the way. I would like to add a very neccesary statement to all the ego-heads in this forum.
"I think money has problems with getting his opinions confused with the reality others...
Just play with it, get experience with it, and get examples and ideas from others...
"any egotistic reply's to this message will be dealt with firmly"
Who are you refering to in the confused newbie statement?
If you'd rather debate, go to a debating forum...not a C forum
Please give an example then and enlighten us.
I have to say your code is unique...unlike much I have seen before. Guess everyone has there own style.:)
Study this for example:
//A function for multiplying two numbers
int multiply(int x, int y)
{
int answer;
return answer= (x * y);
}
//use function
oh, ok thanks...
I agree, thats why I added the "it is good sometimes to have a good example" line. I have learned most of what I know from trial and error, you may have learned otherwise but for me thats the easiest...
just make these changes to your code:
#include <iostream>
using std::cout;
using std::endl;
int main()
{
cout<<"Lucky Charms\n";
clrscr() and many other functions in <conio.h> have seemed to have died..such as textcolor(int newcolor), textbackground(int newcolor), gotoxy(x, y), and a few more dont exist in MS VC++ 6.0
I was...
well kermit, as long as your code works and does what you want it to, I wouldn't concern myself with how others code is(it is good sometimes to have a good example) but hey, there are different ways...
I have a Turbo C editior with a graphics library all for DOS. Befor I
can use the library I must initialize it with the initgraph() func. It has three parameters, first the driver(I set to auto...