Search:

Type: Posts; User: Awareness

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Sorry, I posted without noticing your answer,...

    Sorry, I posted without noticing your answer, thanks for your answer Salem.Without using boost and imbue, wofstream and wifstream were not working right, as I explained in my previous post.Now it...
  2. Well, I think using boost library and imbue...

    Well, I think using boost library and imbue solved the problem.

    I used it as this:

    std::locale loc= boost::locale::generator().generate("tr_TR.UTF-8");
    wofstream filestream1;...
  3. Reading,writing international characters, searching string/character inside

    I am using old C++ previous to C++11 standards.
    I have been trying to read from a file(which includes some Turkish characters too) into a wstring,string or vector, then write the contents into...
  4. Thanks for your answers.

    Thanks for your answers.
  5. Thanks Elysia. How can I use UTF-8 in C++?

    Thanks Elysia. How can I use UTF-8 in C++?
  6. Thanks for your answers. algorism, yes you are...

    Thanks for your answers.

    algorism, yes you are right, opening a file (which has international characters in it's name) using standard c++ functions worked well like you said(at least on my ...
  7. Thanks for your answers.

    Thanks for your answers.
  8. Is it possible to open a file which has international chars in it's name?

    Is it possible to open a file which has international characters in it's name(for example: Turkish characters), using standard C++ library(instead of using a framework's api)?
  9. Thanks for your answers.Seems like making a "wipe...

    Thanks for your answers.Seems like making a "wipe permanently" tool for ntfs drives more complex than I thought it was. (Making most software seems complex actually)
  10. How to delete a folder(not files inside) permanently?

    How can we wipe a folder permanently?For files I overwrite the file's contents using "85" as a char value, so it overwrites files with 01010101 bits.But I don't understand how I can overwrite...
  11. Thanks for your answer.I will look at them.

    Thanks for your answer.I will look at them.
  12. Sorry,I wrote a wrong thing.I said if the user...

    Sorry,I wrote a wrong thing.I said if the user wants to create all combinations of 76 numbers,it is wrong.The true version is,if the user wants to create a lot of combinations,for example more than...
  13. Technique/algorithm for writing a lottery app

    I am not sure if my question is suitable for this forum section or C Programming section.I am trying to write a lottery program.The problem is, the 5 numbers of any combination shouldn't repeat the...
  14. Thanks for your answers. :)

    Thanks for your answers. :)
  15. Thanks for your answer.What does ostream& return...

    Thanks for your answer.What does ostream& return actually?


    cout <<"Date:" << dt << ".";

    Does it become like
    cout << "Date:" << cout << "." when it returns?
  16. Understanding overloading of

    #include <iostream>
    using namespace std;


    int & fonksiyon(int&);
    class Date
    {
    int mo, da, yr;
    public:
    Date(int m, int d, int y)
  17. Replies
    5
    Views
    980

    Thanks for your answer. Program is running...

    Thanks for your answer.



    Program is running on Windows 7.

    You are right about using feof() in loops,in my program I think it doesn't work actually, the lines:


    if ( fgets ( buffer3, 6,...
  18. Replies
    5
    Views
    980

    Thanks for your answer :) You said fseek adds...

    Thanks for your answer :)

    You said fseek adds an offset to the current position of the file pointer.If I use SEEK_CUR ( fseek(fp,offset2,SEEK_CUR)) you are right,but if I use SEEK_SET instead of...
  19. Replies
    5
    Views
    980

    Why do I have to fseek in this code?

    There is a sentence in a text file and I am trying to insert a word into 9. character in the text file. For example,if the sentence is "Los Angeles is a good city,Paris is a good city" , my program...
  20. Thanks for your answer :)

    Thanks for your answer :)
  21. Thanks for your answer.I am a bit confused,is...

    Thanks for your answer.I am a bit confused,is android's calendar and google calendar same
    thing?( though it's still good that we can sync an app with google calendar)
  22. Is it possible to sync Android's calendar with our own program?

    Is it possible to sync Android's calendar with our own calendar program on Android,using c/c++?

    I had a look at Android Ndk docs,but I couldn't find what I was searching for.
  23. Replies
    8
    Views
    1,276

    Thanks for your answer.I mean how many 1 and 2...

    Thanks for your answer.I mean how many 1 and 2 numbers are there in the results?

    1 2 3 4 //There are 1 number and 2 number
    ...
    1 4 5 6 //There is 1 number
    ...
    3 6 7 8 //There are no 1 or 2...
  24. Replies
    8
    Views
    1,276

    A mathematical algorithm question

    (I am not sure if this is the right section of the forum to post,I think it is)

    Let's say there are 50 numbers starting from 1 to 50.They will be grouped like:

    1 2 3 4
    1 2 3 5
    1 2 3 6
    ......
  25. Replies
    26
    Views
    4,873

    I still think they could give a nice equivalent...

    I still think they could give a nice equivalent of Qml Ui's advanced capabilities for C++ too,instead of reinforcing Qml...
Results 1 to 25 of 29
Page 1 of 2 1 2