sir yehi same code online to shi chal rha lekin dev c++ me error arha " stoi was not declared in the scope". Iska koi solution bata dain aur agr ye code aise hi save kr k submit kr dain to koi issue to ni?
#include using namespace std; unsigned int convertBarcodeToInt(string barcode) { unsigned int result = stoi(barcode); return result; } unsigned int performBitwiseAND(unsigned int num1, unsigned int num2) { return num1 & num2;
} unsigned int divideByTwo(unsigned int number) { return number >> 1; //Bit-wise right shift by 1
} unsigned int multiplyByTwo(unsigned int number) { return number
Sir kindly ap short lecrures upload kre.
Sir in my Assignment Errors are coming... I comment the All coding. Sir Please reply . Time is too short for Submitting the assignment Of CS 201
sir yehi same code online to shi chal rha lekin dev c++ me error arha " stoi was not declared in the scope". Iska koi solution bata dain aur agr ye code aise hi save kr k submit kr dain to koi issue to ni?
You might be using older version of C/C++ compiler in Dev C++ Can you tell me the error?
#include
using namespace std;
unsigned int convertBarcodeToInt(string barcode)
{
unsigned int result = stoi(barcode);
return result;
}
unsigned int performBitwiseAND(unsigned int num1, unsigned int num2)
{
return num1 & num2;
}
unsigned int divideByTwo(unsigned int number)
{
return number >> 1; //Bit-wise right shift by 1
}
unsigned int multiplyByTwo(unsigned int number)
{
return number
Add #include after #include
@@programmingwithimran Sir this is not working. because i checked already aur abi phr check kr k dekh liya ha,,, nhi kam kr raha,,,
Assalam O Alaikum Sir
Any Way to Contact You Like Whatsapp No. Or Something else
Need Your Help