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)
Portably check whether a file is readable
I'm asking the cross-platform version of this question:
C++: How to check if a file/directory is readable? (PHP equivalent: is_readable)
I have a filesystem::path of a file (let's ignore for simplicit...
ein supports Moderator Strike
Votes: 0
Answers: 0
SQLException 32104 in OCCI
I am trying to use OCCI to connect my program to an oracle database but I am getting an SQLException 32104 when I try the createEnvironment function.
My code:
#include <OpenXLSX.hpp>
#include &l...
P. Driscoll
Votes: 0
Answers: 1
How to create an interface to allow for the construction of different nested derived classes in C++?
My goal is to construct a derived classes nested class from the interface. However the nested classes don't have the same constructors. The question is how can I make an interface to create two differ...
ryanmattscott
Votes: 0
Answers: 1
Why it is compiling it as an infinite loop instead for finite one?
/*
ques: print the numbers from 0 to n, if n is given by the user.
*/
#include <stdio.h>
#include <math.h>
int main()
{
int x;
printf("enter the value you want to prin...
Ajinkya Jaipurkar
Votes: 0
Answers: 0