Questions tagged [C] (1207)

0
answer

How to get the data header in the http response?

Hooked up a handler to the signal webkit_web_view submit-form. wanted to get data zagolovki http, but I haven't found easy way. I've tried in this function, I get these headers, but does not work. static void handler_soup ( const char *name, const char *value, gpointer data ) { printf ( "%s: %s\n", name, value ); } static...
cleo asked April 19th 20 at 12:27
0
answer

How to catch all the packets your phone using pcap.h?

I want to catch ALL packets from mobile devices with your computer, use the library and the Winpcap driver. But I don't quite understand how it works(generally weak knowledge networks). The phone, he always sends packets to the network card of the computer even if the phone is not configured anything ?Not only the router bu...
Zack asked April 19th 20 at 12:17
3
answers

How to make a quick file search in C in Windows?

Do a search using FindFirstFile/FindNextFile and directory with all attachments, complete in 5 minutes. The command Ctrl+L in Total Commander (getting information about directories) is performed in less than 10 seconds. But in the final information is the size of all files. ie crawls, but much faster. How to make a fast im...
myrtle.Lebsack asked April 19th 20 at 12:17
1
answer

Whether the problem is solved by macros?

Write a program that contains macros with arguments that calculates the area of various geometric shapes (e.g., square, rectangle, circle). My solution: #include <stdio.h> #define SQ(a) (a) * (a) #define REC(a,b) (a) * (b) #define CIR(r) 3.14 * (r) * (r) main () { printf("%d\n", SQ(67)); printf("%d\n", REC(8,9))...
mariett asked April 18th 20 at 13:38
6
answers

The C language is dead or dying?

recently googled this issue and saw the article where they write that si die, is that true? serniki in demand? what niche is si on the market? maybe I'm a fool,not ragitsu
Gordon_Waelc asked April 18th 20 at 13:36
1
answer

How to create a structure describing a mixed fraction.?

You need to: to create a structure describing a mixed fraction. to implement arithmetic operations with fractions: the amount of the difference private work how to do it in c?
Lorenza.Gutmann asked April 18th 20 at 13:16
2
answers

What about the C language?

Why is the language With the tops close to Java and C++ ? Where is it so widely used?
viva_Hartmann asked April 18th 20 at 13:14
0
answer

Not correctly displayed the widgets in the scroll. Why?

recorded the video. click the video shows that when you add elements that go beyond the widget area, the top is not fully drawn widget. And when you reach the edges of the scroll, the effect is not the desired appear, which spoil the view. Here is the code. Tell me how to do. #include <gtk/gtk.h> #include <time.h&...
Zaria.Krajcik55 asked April 18th 20 at 13:09
3
answers

Why occurs this error?

A widget that contains text must have dimensions such that only lasted for the beginning and end of the text. and then a large space occurs after the text. so I recorded a video. click_video in the video you can see what the error is. here is the code. #include <gtk/gtk.h> #include <time.h> #include <string....
kian.Fritsch20 asked April 18th 20 at 13:03
1
answer

How to work with these styles in gtk?

there is such code. const char *style = "* { background-color: #3c3c3c; } entry { color: #ffffff; } box#text_box * { background-color: #1c1c1c; border-radius: 6px; } textview text { color: #ffffff; }"; static gboolean entry_input_text_cb ( GtkWidget *widget, GdkEvent *event, gpointer data ) { GdkEventKey *key = ( GdkEvent...
Obie asked April 18th 20 at 13:01