I need to read data from the file ,which contains some special characters (in european languages).I need to read those data as it is and display those reading data in CEdit box,But what's my problem is while reading data some of the characters got changed.How can i read data as it is. Please help me out.
I recently switched from Bloodshed to Visual in order to use FLTK, but I'm having trouble with just compiling/running a simple file. I know that a file has to be in a project for it to be compiled (what is the purpose of this by the way?), but even after I figured that out I'm still having issues. The errors given aren't very clear either :/
Well it doesn't generate the error message anymore, but when I try to compile it just says 1 up to date rather than 1 succeeded. When I try to run it I get a message saying that it can't find the file path specified.
Okay if I try to run it, the "cannot find file path specified" is a pop up message.
The file path is C:\Users\Alex\Documents\Visual Studio 2008\Projects\Exercises\Exercises\Debug\Exercises.exe
Now that I look at it the file path isn't correct.
I'm learning from a book, and since I realized that in Visual Studio you can't compile a file without it being in a project, I figured I would just put all of my files into one project.
Basically all I did was create an empty console application project called exercises, and copy and pasted all of my files into it.
Obviously I'm doing something wrong. (Seems odd that they wouldn't just implement a simple compile and run for a single file.) I want to just delete the project and start from scratch to set up everything correctly.
If you need any more info let me know, otherwise I don't know what to do.
I am emulating mobile in windows platform.. so I have two text box emulating 2 lines of LCD of mobile.
Max number of character that i can store in memory can be 50 per line, but the only 20 characters can be displayed in LCD(text box) at any point of time.
I have to take of scrolling left, scrolling right, including insertion and deletion of character in LCD(text box)
I know i have to take of Cursor position, and possibly have MasterBuffer which will contain the 50 characters and TemporaryBuffer which shall contain 20 characters to display.
I can work out a logic to take care of insertion, deletion etc.
But before i start doing my own logic, i wish to know is there any algorithm defined for it already as or any library available or any kind of class.. or code snippet.. i dont want to start from ground zero if it is already something is available.. as i felt text editing in mobile is common..
I have this strange problem.. I made a program in VC++ which makes LAN(Language) file from database.. I had this "Simplified Chinese" database and i made some 10-12 LAN files from it.. Now when i try to read and write LAN files entries in my project, it shows mixture of "???? and some right data"... So i again did the read/write operation using Unicode, and all went well...
Now the project is real big and i was only making LAN file from database, Other application which are uncountable uses my LAN file to read and write data into the project window and they aren't using Unicode to read or write, so obviously the output comes as mixture of "???? and some right data"...
So it's vivid that if i change all the application to read/write using Unicode only then it will show right data, But problem is that i can't change anything as it was written a long time back and a lot depend on that coding... So is there any way i can still do this thing.
No problem is coming when i use "Chinese(Traditional), Portuguese, Italian, German etc" databases... I guess some of simplified Chinese character are not detected if we don't use Unicode method..