Search:

Type: Posts; User: creon

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    2,442

    100 was miswritten, definition is "size=0". sorry...

    100 was miswritten, definition is "size=0". sorry for that
  2. Replies
    16
    Views
    2,442

    Thank you for your time again. I'll look up...

    Thank you for your time again. I'll look up qsort().Now that is how my code looks like after I did as you said.


    #include<stdio.h>
    #include<string.h>
    #include<locale.h>

    int main ()
    {
    ...
  3. Replies
    16
    Views
    2,442

    hi again, thanks for the help. strcoll worked...

    hi again, thanks for the help. strcoll worked perfect and problem is solved, but i've got a new one. now 002.txt is the list of words to be sorted. There are 4600 lines in the list and one word each....
  4. Replies
    16
    Views
    2,442

    I did of course. I've learned that i need to call...

    I did of course. I've learned that i need to call function setlocale(LC_ALL,""). And it makes the program recognize turkish letters which it already did by some other way.Now it puts the turkish...
  5. Replies
    16
    Views
    2,442

    quzah, i still don't know how to use locale....

    quzah, i still don't know how to use locale. please explain
  6. Replies
    16
    Views
    2,442

    yeah but can you explain me how to use this...

    yeah but can you explain me how to use this locale thing. I include the locale.h first. Then what must i do?
  7. Replies
    16
    Views
    2,442

    help please..alphabetic sorting.

    Hello. I've written a program that sorts the words it took from a file alphabetically. And it works fine with standart characters. But I am from turkey and I need it to recognise turkish characters...
  8. Replies
    3
    Views
    1,459

    i think this is the troubled loop: ...

    i think this is the troubled loop:


    while(j<size){
    i=j;
    while(i>0){
    if(!strcmp(array[j],array[j-i])){
    ...
  9. Replies
    3
    Views
    1,459

    help with strange problem

    Hello. I've written a small program with c using dev-c++ yesterday and it was working proper so i know there is no problem about the code. I've finished it and turned off my pc. When I run it today,...
  10. Replies
    13
    Views
    1,963

    yeah, i saved it as .c and deleted the (char*)...

    yeah, i saved it as .c and deleted the (char*) part and it works corectly. thanks. But can you explain what "my way" does? Since I've copied it from an other source code, I don't know what it...
  11. Replies
    13
    Views
    1,963

    well, i guess i've solved my problem. i needed to...

    well, i guess i've solved my problem. i needed to add (char*) just before malloc:). Thank you very much for helping me out.
  12. Replies
    13
    Views
    1,963

    Thnx for your answers. When I use either of the...

    Thnx for your answers. When I use either of the ways, I get the same error message " invalid conversion from `void*' to `char*' " for the line with the command malloc. Do you know why thi is?
  13. Replies
    13
    Views
    1,963

    some help needed->size of 2D array

    Hi, I would definitely use some help on this:
    I've got a list of words in a .txt file. 1 word for 1 line. First I count the \n's to get the number of words and then I put the words to the array I...
Results 1 to 13 of 13