Uhm
1) use wsprintf instead of wprintf.
http://www.maconlinux.net/linux-man-pages/es/wprintf.3.html
2) If need to write the strings to the console, use std::wcout instead of std::cout.
3) Remeber that you are seeking to end before reading:
i.seekg(0, ios::end);
pl = i.tellg();
i.read((char ...
Search found 10 matches
- Tue Aug 15, 2006 7:38 pm
- Forum: Advanced Help
- Topic: Trying to make some bin files
- Replies: 4
- Views: 527
- Mon Aug 14, 2006 9:21 pm
- Forum: Advanced Help
- Topic: Trying to make some bin files
- Replies: 4
- Views: 527
Trying to make some bin files
Well, i've been working on a way to keep some profiles on a binary file
the code is this
#include <irrlicht.h>
#pragma comment(lib,"irrlicht.lib")
#include <iostream>
#include <fstream>
#define IRRCHAR const unsigned short
struct JPerfil {
wchar_t alias[80];
wchar_t nombrep[80 ...
the code is this
#include <irrlicht.h>
#pragma comment(lib,"irrlicht.lib")
#include <iostream>
#include <fstream>
#define IRRCHAR const unsigned short
struct JPerfil {
wchar_t alias[80];
wchar_t nombrep[80 ...
- Wed Jun 07, 2006 11:40 pm
- Forum: Advanced Help
- Topic: Creating tiles
- Replies: 1
- Views: 330
Creating tiles
Well maybe you can give me useful information on this trick:
what i need is to create a vector net, i mean, like a mesh but with movible vector forming like tiles, so i can fill them with some texture..
i need this to implement like a scenario in my program, and also i need to know how to ...
what i need is to create a vector net, i mean, like a mesh but with movible vector forming like tiles, so i can fill them with some texture..
i need this to implement like a scenario in my program, and also i need to know how to ...
- Sun Mar 26, 2006 2:58 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Free Flight (space flight) functions
- Replies: 64
- Views: 85385
- Sun Mar 05, 2006 6:38 pm
- Forum: Bug reports
- Topic: A bug and a Request...
- Replies: 0
- Views: 372
A bug and a Request...
The bug is that in an DirectX9 environment, a full screen image got stretched and looks weird, but in a OpenGL renderer it shows up really cool.
and teh request is that in the next version of Irrlicht, we could implement a core::dimension2d<s32> funcion to addWindow, so it would be easer draw ...
and teh request is that in the next version of Irrlicht, we could implement a core::dimension2d<s32> funcion to addWindow, so it would be easer draw ...
- Wed Mar 01, 2006 12:16 am
- Forum: Advanced Help
- Topic: poligon problem?
- Replies: 7
- Views: 637
- Tue Feb 28, 2006 9:10 pm
- Forum: Advanced Help
- Topic: Advanced Terrain Textures
- Replies: 28
- Views: 7430
- Tue Feb 28, 2006 8:21 pm
- Forum: Advanced Help
- Topic: poligon problem?
- Replies: 7
- Views: 637
- Tue Feb 28, 2006 8:18 pm
- Forum: Beginners Help
- Topic: 3DS file problem
- Replies: 36
- Views: 10425
- Tue Feb 28, 2006 2:44 am
- Forum: Advanced Help
- Topic: poligon problem?
- Replies: 7
- Views: 637
poligon problem?
i have a model that haves more thatn 16000 polys, and when i render it on irrlicht, it only shows part of it...
the model is exported in *.3ds format...
this is a problem of the engine itself?
the model is exported in *.3ds format...
this is a problem of the engine itself?