python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Loop for load multiples files (C++)
I´m trying to load all the files in a folder that have names from the form "file_i.csv".
For this I write the program:
void load_reel_set()
{
bool file_exists = true;
unsigned n_file...
SophieGermain
Votes: 0
Answers: 1
Why is C++ getline() non-blocking when program is called from python subprocess?
I have a C++ program that waits for some text input with getline(), and it works well from the command line.
However, I would like to call it from Python - send some text, get the output, and have it ...
Rickj
Votes: 0
Answers: 1
do/while loop with cin.getline parsing to string doesn't compare values to break it
So I have this type of "menu" in a do/while loop
do {
cout << "Press 0 to export IDs, exit to exit, or any key to continue to menu:\n";
cin.getline(choice...
Nik
Votes: 0
Answers: 1
How to print string in C++ using getline
Why this doesn't print the first word of sentence?
#include <iostream>
#include <string>
int main()
{
std::string sentence;
std::cout<<"Enter sentence: ";
std:...
user18498266
Votes: 0
Answers: 2