Open in app
Home
Notifications
Lists
Stories

Write
void0629
void0629

Home

Jul 8, 2021

CS50x pset5 speller

purpose of this program: check the spelling of words in a text file from some dictionary files. Implementation in C programming There’re overall 5 functions leaving for us to complete bool load(const * dictionary) unsigned long hash(const char *word) int size(void) check(const char *word) bool unload(void) Let’s get started from load function Basically, the load function returns true when succeeds to load words from the dictionary list, else returns…

Cs 50 X

2 min read


Jun 13, 2021

Arrays

It is not necessarily to completely initialize an entire array. int integer[500] = {500, 200 ,300}; As the above case, the remaining values in the array will automatically set to zero if you initialized only the portion of array.

1 min read

Arrays

It is not necessarily to completely initialize an entire array.

int integer[500] = {500, 200 ,300};

As the above case, the remaining values in the array will automatically set to zero if you initialized only the portion of array.

--

--


May 27, 2021

C programming function

A function is just like a black box, giving it inputs and manipulate inputs, return a single output eventually. We need to declare a function before using it: Prototype: type output name_function name_(type input name); The underscore is just to ensure you can see it clearly, in the C program…

1 min read

void0629

void0629

I am a freshmen coder.

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable