Thank you for the responses. Cheers a lot !
Type: Posts; User: kuasimikua
Thank you for the responses. Cheers a lot !
Hi all, I am having trouble understanding the answer for this exercise in KNKING c programming a modern approach book
make a function
(d) strrev(s) -- Reverses the characters in s (except the...
Hi all, I am currently doing an exercise in KNKING C program a modern approach. THis exerise
----------------------
Of the many techniques for compressing the contents of a file, one of the...
I see, thank you everyone for the input. I have a question regarding my code related to the exercise, this part of the code (and a particular line in question)
while (...
Thank you sir! That seems to work :) May i ask how do you do this in cmd?
$ od -t x1 out.data
0000000 46 6f 6f 20 62 61 72 21 21 21 20 20 20 20 20
0000017
Hi all, I am currently doing an exercise in KNKING C program a modern approach. THis exerise
----------------------
Of the many techniques for compressing the contents of a file, one of the...
I see. Thank you all for the reply! :)
I see. So some "commands" in the library can be both macros AND functions (and if used they are macros, unless i add "()" to them to force the machine to compile it as a function), while some...
else
int i = roll ();
your pgoram only rolls the dice ONE MORE TIME if the first roll is not 6.
Hi everyone, I am currently learning C using KNKing C prrogramming a modern approach.
I am currently learning about the functions in the stdio.h library. There are some parts where it talks about...
Hi sir, thank you so much for your help. Ive managed to figure it out how it works. Bless you :)
Hi all, I have just started on the low level programming chapter in KNKING C programming book, and am confused by this exercise. This is what it does.
(a) Write the following function...
Hi sir that seems to have been causing the proble. Looks like i forgot to remove that line under return first lol .___.
Thank you!!!! Solved.
Hi all, am currently doing a project from KNKing's C program a modern approach.
3 files involved. queueADT.h, queueADT.c, stackclient.c
code for queueADT.h
#ifndef QUEUE_H#define QUEUE_H
Thank you for the help sir! Fixed :)))
Yes sir I get what you are saying, normally theres 2 pointers. But this is an exercise in a textbook (c programming a modern approach) which asks that
Modify the delete_from_list function so that...
Hi everyone, I am currently learning C using KNKing's book. Currently I'm confused by pointers to pointers/linked lists and would like to kindly request for some help and clarifications, with regards...
Hi all, title. Basically this is my readline
int read_line(char str[], int n){
int ch, i = 0;
while (isspace(ch = getchar()))
;
while (ch != '\n' && ch != EOF) {