Welcome! Log In Create A New Profile

Advanced

Int to String and Clear Screen

Posted by Superyoshi 
Int to String and Clear Screen
December 15, 2009 05:14PM
EDIT: New questions: [forum.wiibrew.org]

Quote
> PN
> "make"
"make": *** No targets specified and no makefile found. Stop.

> Process Exit Code: 2
> Time Taken: 00:00

That's what I get when I try to compile my Project.
What to do to make the code compile rigth into .dol and .elf?

In case it helps, the Makefile was directly copied from the Template Gamecube Example.




Edited 1 time(s). Last edit at 12/18/2009 05:35PM by Superyoshi.
Re: Programmers Notepad make error
December 15, 2009 05:23PM
The compiler can't find your makefile so it doesn't know what to do. You probably have your makefile named or placed incorrectly. It should be placed in the root of your project folder and named "Makefile" as a file.
Re: Programmers Notepad make error
December 18, 2009 05:34PM
Thanks, it worked now ^^

But I got two new questions:
- How to convert a int into a printable String?
- Can you somehow clear the whole screen? I tried system("cls") and system("clear"), but it didn't work.
Re: Int to String and Clear Screen
December 18, 2009 07:35PM
Try sprintf for the int to string.

There's a control code to clear the console.
Take a look at the console class in here
There's a clear console method there that does exactly what you want and will clear the console with a specified background colour.
Sorry, only registered users may post in this forum.

Click here to login