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?
...
Type: Posts; User: Isa-Elsino
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?
...
........ YOU NOOBS I MADE IT
if anyones intrested for the code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
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()
{
the word.txt contains some words.Thanks i will search...
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...
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...
Omg thanks a lot dude. I m pretty sure that i tried this but anyway thanks a lot.it worked
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
Hey dude i tried to swap the alphabet to with strcpy and with a temp string(buffer) but the programm crushed always
//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;
...
caN U show me an example I m stuck right now
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)...
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
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...
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
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define WIDTH 50
int main()
{
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define WIDTH 50
int main()
{
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;
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...
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)
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
#include <stdlib.h>
#include <string.h>
#define WIDTH 50
int main()
{
/**/
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
thanks a lot dude
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