Course Solutions Uncategorized (Solved) : Fix Code Im Problem Fopen Freopen C Visual Studio Theres Error Need Use Fopens Include Inc Q26185708 . . . .

(Solved) : Fix Code Im Problem Fopen Freopen C Visual Studio Theres Error Need Use Fopens Include Inc Q26185708 . . . .

 

How can i Fix this code im having problem with the fopen freopenon C++ Visual Studio theres an error that i need to use fopen_s

#include

#include

#include

using namespace std;

int ConteoNumbYLetras(char* str, int& palabras, int&letras)// la function del pointer que returna el numbero depalabras y letras//

{

palabras = 0;

unsigned int i = 0;

letras = 0;

while (str[i] == ‘ ‘)

i++;

for (; str[i]; i++)

{

if (((str[i] >= ‘a’) && (str[i] <= ‘z’)) ||((str[i] >= ‘A’) && (str[i] <= ‘Z’)))

palabras++;

if (str[i] == ‘ ‘)

{

letras++;

while (1)

if (str[i] == ‘ ‘)

i++;

else

{

i–;

break;

}

}

}

palabras = palabras + 1;

return (palabras);

}

float promedio(float palabras, float letras) // la funcion queda el promedio//

{

float a = (double)(letras /

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post