Search:

Type: Posts; User: Isa-Elsino

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,602

    Store a binary number to an array

    I know there are a ton of this problems in google search(decimal to binary) but i cant find something the way I want .
    So this is my code i dont know why it does nt work, can someone help me?

    ...
  2. Replies
    2
    Views
    357

    ........ YOU NOOBS I MADE IT if anyones...

    ........ YOU NOOBS I MADE IT
    if anyones intrested for the code:


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


    int main()
  3. Replies
    2
    Views
    357

    Problem with magicSquare

    I cannot understand why it doesnt fill the array the way it supposed to.


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


    int main()
    {
  4. the word.txt contains some words.Thanks i will...

    the word.txt contains some words.Thanks i will search...
  5. thanks for the reply dude ,I actually managed to...

    thanks for the reply dude ,I actually managed to do that but i have hit another problem : I open a file just for reading, after that i want to open the file so I can append to it(write at the end of...
  6. thanks for the reply dude ,I actually managed to...

    thanks for the reply dude ,I actually managed to do that but i have hit another problem : I open a file just for reading, after that i want to open the file so I can append to it(write at the end of...
  7. Omg thanks a lot dude. I m pretty sure that i...

    Omg thanks a lot dude. I m pretty sure that i tried this but anyway thanks a lot.it worked
  8. How can i change it the same time i change the...

    How can i change it the same time i change the INT ARRAY. I cant do it with a temp value.Also not with strcpy
  9. Hey dude i tried to swap the alphabet to with...

    Hey dude i tried to swap the alphabet to with strcpy and with a temp string(buffer) but the programm crushed always
  10. //Frequency of the characters int...

    //Frequency of the characters


    int freq[26], holdposition[26];//array holding the frequency of the characters


    for(i=0; i<26; i++)
    {
    freq[i] = 0;
    ...
  11. caN U show me an example I m stuck right now

    caN U show me an example I m stuck right now
  12. I have already done the frequency of the...

    I have already done the frequency of the characters .Yes it contains integers and the other array is the alphabet.I just want to do a bubble sort to THE INT ARRAY and change the CHAR ARRAY(ALPHABET)...
  13. Well the one is INT ARRAY and the other is a char...

    Well the one is INT ARRAY and the other is a char array

    Frequency of the character and the characters and i dont want to lose the connection of those two
  14. Hey man thanks for ecerything, but I have a...

    Hey man thanks for ecerything, but I have a question.Do you know how can i sort 2 different data types of array so i dont lose the connections.Frequency of the characters and the characters.Do I...
  15. 2 Different types of array and I wan them to sort together.Do I need a struct?HELP

    2 Different types of array and I wan them to sort together.Do I need a struct OR is an other way for doing it?HELP
  16. #include #include #include...

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


    #define WIDTH 50


    int main()
    {
  17. #include #include #include...

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


    #define WIDTH 50


    int main()
    {
  18. So I did with whatever i managed to understand...

    So I did with whatever i managed to understand .Really frustrating



    int main()
    {
    /**/
    char **wordarr, **wordpc;
    int option=1, library, howmany, i,number, numwords=0,count=0;
  19. Sorry for the late reply.First of all thanks for...

    Sorry for the late reply.First of all thanks for everything.
    at the programm: I want to ask the user to type how many letters does the word have and I will search the array with the words and any...
  20. u probably didnt notice that i have set the count...

    u probably didnt notice that i have set the count to a 4, if i make that 0 and try it your way(counting the words doesnt work great)(i have put your code into comments)
  21. i should read all the file no matter how its...

    i should read all the file no matter how its written , i m going to try the code and i am going to tell you the results .thanks by the way u are great
  22. #include #include ...

    #include <stdlib.h>
    #include <string.h>


    #define WIDTH 50


    int main()
    {
    /**/
  23. Me again sorry for bothering but i write your...

    Me again sorry for bothering but i write your code into mine but the results were exactly 4 words but they were gibberish words(not the exact words)like junk
  24. thanks a lot dude

    thanks a lot dude
  25. thats my problem i need to know how to count the...

    thats my problem i need to know how to count the words from the file so i can make the array exactly as the number of them
Results 1 to 25 of 27
Page 1 of 2 1 2