i have a homework for our programmin classes, i searched for other solutions regarding the gotoxy function, but all saw was for devc++, turboc++ and other IDEs, when i use the function for devc++ or turboc++, i know it wont work, but i tried it, says there's not library for gotoxy..

can somebody please help me?

there's this error,.
fatal error LNK1120: 1 unresolved externals

i dont know if i have the right codes, coz this is the first time i've encountered the gotoxy function..

here's my code...

#include "stdafx.h"
#include <stdlib.h>
#include <conio.h>
#include <iostream>
using namespace std;

int gotoxy(int , int);

int _tmain(int argc, _TCHAR* argv[])
	int i, j;
	int x = 10, y = 10;

	for ( i = 0; i <5; i++ )
		cout << endl;
		for ( j = 5; j > i; j-- )
			cout << j;

	cout << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
	return 0;

Edited by Nick Evan: Add code-tags

7 Years
Discussion Span
Last Post by Nick Evan
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.