Gents great tips , this was my very first post and thanks for such a warm welcomeness
I thought by allocating memory to edges and using a pointer to page in my edge struct there is no need to...
Type: Posts; User: Alex1357
Gents great tips , this was my very first post and thanks for such a warm welcomeness
I thought by allocating memory to edges and using a pointer to page in my edge struct there is no need to...
by doing this i still get the following compiler error
<code> warning: format '%9s' expects type 'char *', but argument 2 has type 'char (*)[10]' </code>
and scanf still do not read the input
I have two structs as follow :
struct page {
//the name of the page can not be more than 9
char name[10];
};
struct edge {
struct page *page_start ;
struct page *page_end ;