MAP file
C Board Forum » C Programming
by Kittu20
13h ago
Do you analyze the map file in software development, especially when using the GCC compiler? If yes, what are the important aspects you examine in the map file ..read more
Visit website
Simple ping routine, not receiving anything.
C Board Forum » C Programming
by Yonut
5d ago
Hi, I'm trying to create a simple ping routine, that can be used in other programs to test internet connectivity. I'm stuck, as the following code seems to send the request, but `recvfrom` blocks forever. Since I don't normally deal with sockets like this, I'm completely lost as to what is wrong. And I don't think I can look at more code that doesn't satisfy my need. Here's what I have: Code: // Declare includes. #include <arpa/inet.h> #include <errno.h> #include <fcntl.h> #include <libgen.h> #include <netinet/in.h> #include <netinet/ip_icmp.h> #include ..read more
Visit website
Ncurses and touchpad support for Windows
C Board Forum » C Programming
by demosthenesk
2w ago
Hello, i tried ncurses and touchpad clicks from an ASUS laptop with Msys2 installed. It seems that ncurses for Windows do not support touchpad. How can i catch touchpad-mouse clicks for ncurses in windows ? I tried midnight commander on Windows and it support my touchpad, how does it do it ? Thanks in advance for your replies... DimK ..read more
Visit website
Clear console screen
C Board Forum » C Programming
by WaterSerpentM
3w ago
anyone know the code to clear console screen ..read more
Visit website
How Do You Analyze C Memory Layout?
C Board Forum » C Programming
by Kittu20
1M ago
Hi everyone, I'm learning about how computer memory works in C programming. Can you share how you figure out where things go in memory when you write C code? What tools or methods do you use to understand this? Thanks for your help ..read more
Visit website
Difference between NULL, (void *)0 and (char *)0
C Board Forum » C Programming
by Sabidos
1M ago
I'm not sure I really get the difference between NULL, (void *)0 and (char *)0. According to the C standard: Quote: An integer constant expression with the value 0, or such an expression cast to type void *, is called a null pointer constant. Quote: The macros are NULL which expands to an implementation-defined null pointer constant; and So does that mean that those values can be used on pointers of any type? For example, are these valid null pointers?: Code: #include <stdio.h> struct book {     char title[25];     char author[25]; }; int main(void) {   ..read more
Visit website
Using pointers
C Board Forum » C Programming
by Patrick149
1M ago
Is there a way to write strcat(p,q); using pointers ..read more
Visit website
A memory leak
C Board Forum » C Programming
by BillMcEnaney
1M ago
Everyone, I wrote this trivial program in minutes to see how well it would come out. I produces the correct answers. But I don't know how to plug the memory leak Splint found. Would you please tell me how to solve the problem. If you think I caught OCD, you're. right. I'd hate to hear Splint complain about anything. That's why I assign function values to integer variables when most programmers wouldn't do that. Code: #define MAXNUMS 30#include <stdio.h> #include <string.h> #include <stdbool.h> static bool between(const unsigned int low,  const unsigned int high, co ..read more
Visit website
Embedding png files
C Board Forum » C Programming
by WayCoolRatt
1M ago
Does anybody have any advice for embedding png files using gtk? I used xxd to convert all the .png images into .h files, but I can't get them to show up right with gdk_pixbuf_new_from_data ..read more
Visit website
Uing pointers
C Board Forum » C Programming
by Patrick149
1M ago
Is there a way to write strcat(p,q); using pointers ..read more
Visit website

Follow C Board Forum » C Programming on FeedSpot

Continue with Google
Continue with Apple
OR