c

C. Why is the dimension of the matrix from the text file not written to memory?And how to do it?

In the program where I did not use the function, but wrote everything in the program body, there were no problems.Everything ... ing\n"); for (i = 0; i < r1; i++) { for (j = 0; j < c2; j++) printf("%3d ", C[i][j]); printf("\n"); } return 0; }

Intersection point of straight lines [closed]

Closed. This question is off-topic. Answers to it are not accepted at the moment. ... ограмма, видимо где то терялась тысячную часть ответа...! всем спасибо за помощь I think that the question can be closed...

PCAP conflict.h and stdio.h

I'll mention in advance that I'm just starting to learn c++. Thanks for understanding. I use QT on Windows, I use pcap, but w ... (int), ^~~~~~~~~ isprint

How to extend int in c

Hello, I have this code in c: #include <stdio.h> void main() { int stepen,num; unsigned long long int summa; pr ... ts off large ones. Or for some reason the result becomes negative write num 5 Write stepen 55 -146682003 How can I fix this?

Tutorial on C [duplicate]

This question has already been answered here: ... case, the prerequisite is backward compatibility, that is, so that knowing C++, I can also easily understand the code in C.

Visual Studio 2013 how to create a project in C?

Is it possible? If not, which ID should I use for Si? Something generally accepted like an Idea for Javac

What is the best way to implement the update of DNS server addresses in the program using OpenNIC

There is a" service " OpenNIC allows you to get the addresses of DNS servers using the API, for accessing .lib domain names ... ter, then nothing works. We started making the program itself in Qt C++, but we can give examples in other languages as well.

Given a real number a(1

C language. I can't find the error. #include<stdio.h> #include<math.h> #include<locale.h> void main() { ... while (s <= a) { s = s + (1 / i); i++; } printf("%f\n", s); } }

Binary trees in C: Traversing nodes of a given level

Good evening There is a task: To calculate the arithmetic mean of the tree elements of a given level. It does not occur to me ... t; "vashe derevo\n"; print(tree,0); getch(); return 0; } If you can, help us make it a separate function

Books on network programming [closed]

Closed. This question is off-topic. Answers to it are not accepted at the moment. ... network programming (Windows/Linux) in C++ FOR BEGINNERS. Who read which ones, liked which ones, and didn't like which ones?

Emulating a VR controller

Are there any hints on how to emulate a vr controller using an arduino project and code on java (etc.); It is already possibl ... alues of movement in space for the controller, but the question remains: How do I transfer these values to SteamVR, etc.?

How to create a code in Word for a student? [closed]

Closed. It is impossible to give an objective answer to this question . Answers to it are not accepted at the moment. ... How can I beautifully design the source code in C for a course paper in word, which I will then print?

How do I run helloworld in C using Visual Studio Code?

How to run the most common hello world program on VS Code with a minimum of actions? I apologize for the stupid question, be ... t some hotkey(as in IDE-shkah)? Installed plugins in VS Code: C/C++ IntelliSense, debugging, and code browsing, Code Runner.

Where can I find a description of the sections where the gcc compiler places data?

Where can I find information, in which sections, what symbols does the gcc compiler place?

How do I write words broken by strtok in C to an array?

Here's the code, it splits an array of charms into strings: #include <stdio.h> #include <string.h> int main(v ... I write the words that it has broken into an array individually(each word is a new element) for further work with each word?

Unhandled exception at address 0x51A0348A (ucrtbased.dll) in TEST.exe: 0xC0000005: read access violation at address 0x00002564

#include <stdio.h> #include <stdlib.h> int main() { char str[100]; int count = 0; int l; for ( ... flag = 0; } if (flag == 1) count++; } printf('%d', count); return 0; }

XOR encryption in C

During xor encryption of a character array, is it possible to obtain such characters that, when further writing to and reading from a text file, will damage the structure of the file? If so, what are these characters other than \0?

Is there an analog of getline in C, but with reading into an already declared string of a certain length?

Is there an analog of getline in C, but with reading into an already declared string of a certain length? I have a problem, w ... omment); } fclose(file); return 0; } The GetTocken function creates a dynamic array where the token is stored.

Proteus 8.6 and C language-Display the LED buttons with the corresponding normal buttons [SOLVED]

Hello everyone I got a simple project with a simple task on comp electronics: I have to turn on the LED buttons using normal ... " blocks, I would be very grateful! Here are the screenshots of the scheme and code: P.S. Solved with one line of code:

Sorting a two-dimensional dynamic array of strings in alphabetical order.

I'm trying to sort the array in alphabetical order. The array will consist of the first name and last name. I tried to fill t ... rintf("%s %s\n", perepis[g].meno1[g], perepis[g].meno2[g]); } return 0; } Please help, thank you all in advance! :)