Visual Studio 2022 is very slow when I run code if my device is connected to internet
I’m a student and currently learning C++ so I use VS2022.
Visual Studio 2022 is very slow when I run code if my device is connected to internet
I’m a student and currently learning C++ so I use VS2022.
Is there a library or function that gives all the words of the English dictionary? [closed]
Closed 3 mins ago.
Reading unknown number of three integers, and printing one of the first 2 integers that has more digits (equal to the third int) on the even pos
Write a program that will read unknown number of three integers, and for each triple (a, b, c) will print the number (a or b) that contains the digit c more times on even positions (the positions are counted from right to left, and the first position is 1).
Here’s my try (it gives me a time limit exceeded error, it’s a problem with the function find):
Reading unknown number of three integers, and printing one of the first 2 integers that has more digits (equal to the third int) on the even pos
Write a program that will read unknown number of three integers, and for each triple (a, b, c) will print the number (a or b) that contains the digit c more times on even positions (the positions are counted from right to left, and the first position is 1).
Here’s my try (it gives me a time limit exceeded error, it’s a problem with the function find):
Reading unknown number of three integers, and printing one of the first 2 integers that has more digits (equal to the third int) on the even pos
Write a program that will read unknown number of three integers, and for each triple (a, b, c) will print the number (a or b) that contains the digit c more times on even positions (the positions are counted from right to left, and the first position is 1).
Here’s my try (it gives me a time limit exceeded error, it’s a problem with the function find):
What is the difference between “.” and “->” in c++?
Just out of curiosity, is there a difference between using “.” and using “->” in c++?
Is there something wrong when ios::in & ios::out are conducted to fstream::open() at the same time? [closed]
Closed 13 mins ago.
Maybe this’s something wrong when ios::in & ios::out was conducted to fstream’s open() as the same time
Conducting ios::out & ios::in meanswhile will lead to something wrong. When I declcared a variable of fstream and opened a file within my work directory with “ios::in | ios::out”, something wrong occured. Just only a sort of operation(i/o) can be done normally, and another one can not be done in a normal way. The sort […]
Why float variable Don`t work with % module Arithmetic operation in C++
//it does`nt work the float with % operation #include <iostream> using namespace std; int main () { float x , y; cin >> x ; cin >> y ; cout << x % y; } i am beginner and i need help it does`nt work the float with % operation c++ visual-c++ New contributor Mahmoud […]