esp32 to control the temperature within my aquarium.

Looking for help with my latest project if possible. I am using an esp32 to control the temperature within my aquarium. I am able to send an mqtt message to change the values of two global variables which are floating point numbers. Then every 24 for hours I reboot the ESP32. It checks to see … Read more

Increasing or Decreasing Sequence

You are given a sequence of numbers, represented as a list of integers. Your task is to implement a function that Determine if the sequence is strictly increasing, strictly decreasing, or neither. A sequence is strictly increasing if each element is greater than the previous element, strictly decreasing if each element is less than the … Read more

File handling I/O in C++ Using oop

#include<iostream>#include<fstream>#include<string.h>#include<conio.h>using namespace std;class easy{public : char ch;char name[100]; char str[200];void enty (){cout<<“first create file name to save your content \n”;cin>>name;cout<<” creating file content \n”;cin>>str; ofstream obj; //making object of class ofstreamobj.open(name); // create open “eg.easy.txt” for writing data// write to a file obj<<str<< “\n”;obj<<“this is an example for I/O file handling in C++,” << endl;obj.close(); … Read more