Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for hamburgersarecool‭

Type On... Excerpt Status Date
Edit Post #285573 Post edited:
almost 3 years ago
Comment Post #285575 Yeah, it worked, thanks!! BTW the list currently only prints out the latest number I entered instead of the full linked list... How can I make it print the whole linked-list? Like instead of it printing out just one number...
(more)
almost 3 years ago
Edit Post #285573 Post edited:
almost 3 years ago
Comment Post #285573 After I added the struct to become " struct Node* temp = (struct Node*)malloc(sizeof(struct Node)); " , the program ran. But after entering the amount of numbers I wanted as well as entering the first number, it printed out a loop of that "first number" I entered, infinitely. Why is it like that?
(more)
almost 3 years ago
Edit Post #285573 Post edited:
almost 3 years ago
Edit Post #285573 Initial revision almost 3 years ago
Question Question regarding an error message in my compiler to do with my code on linked list.
Can anyone help me, I'm currently learning pointers, this is the code I wrote to try and insert a node at the beginning of the list. However at the part where I included the comment of "error at this line" basically my compiler gave me the error of "In function Insert: Node undeclared". Why is it so...
(more)
almost 3 years ago
Edit Post #285183 Post edited:
about 3 years ago
Edit Post #285183 Post edited:
about 3 years ago
Edit Post #285183 Initial revision about 3 years ago
Question How can I delete a book from the collection by a particular title from my library file?
I would like to delete a book from the collection by a particular title from my library if the user enters 2 as input for my switch statement. How can I do that with my current code? ```#include #include #define MAX 49 //void addBook(struct library thislib){ //} struct book{ char title...
(more)
about 3 years ago
Comment Post #285177 Why is: int leftChild = 2 * i + 1; int rightChild = 2 * i + 2; ??
(more)
about 3 years ago
Edit Post #285177 Initial revision about 3 years ago
Question Regarding the heap sort algorithm.
I get the concept of the heap sort algorithm and its like first you have a heap(ordered binary tree) then we have the Max heap which has the highest element value in the array at the top of the tree. The parent nodes will be basically > than the child nodes. But I don't get the heapify sample code he...
(more)
about 3 years ago
Comment Post #285174 https://software.codidact.com/posts/285169/285175#answer-285175 How about in this case of creating a delete function? Would it be like " char delete(struct library *thislib); ", also how would I alter the the function to delete a particular book from the particular collection just by the user enteri...
(more)
about 3 years ago
Edit Post #285169 Post edited:
about 3 years ago
Edit Post #285169 Initial revision about 3 years ago
Question Data structure implementation with Linked lists.
Could someone explain this part of the coding for data structures & linked list? I actually got this code from a textbook but no matter how I read the textbook, I still don't get the concept & what it means. Thanks :") ``` #include #include struct listNode{ char data; struct listNode ne...
(more)
about 3 years ago
Edit Post #285162 Post edited:
about 3 years ago
Edit Post #285162 Initial revision about 3 years ago
Question How can you modify your server code to make it accept any port numbers instead of just one which is the one you predefined?
Is there any way where I can modify the original server code so that it accepts any port number instead of the predefined one (i.e., port number 8989)? Port number will be entered in the command line when testing the Server1.exe as follows: `start server 8989` (also the main function parameter...
(more)
about 3 years ago