What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-20 22:23:03
lvalue required as left operand of assignment
//You cannot assign something to a numerical constant int num1,num2 if (num1%num2=0) //error //You can't assign value of num1%num2 to 0 //Instead you can check whether (num1%num2) is equal to 0 or not by: if (num1%num2==0) // no error Add solution -
Other 2021-09-20 06:12:04
synchronization issue
Synchronization is very common issue in testing enviroment. SYNCHRONIZATION means moving, working, acting together so We want the webdriver and the browser to be synchronized. First thing to handle synchronization issue is THREAD.SLEEP Coming from JAVA,... Add solution -
Javascript 2021-09-19 23:18:04
parsefloat javascript
// parseFloat takes in a string value and converts it to a float // The parseFloat function will look at the first character of // the string and decided whether that character is a number or not // If not the parseFloat function will return Nan let str... Add solution -
Other 2021-09-19 19:02:03
pencil test case
Pencil Test cases of Pencil 1. Verify that the text written with pencil is legible 2. Verify that the writing with pencil is smooth on different type/quality of paper surfaces 3. Check that the darkness/color of the text written by pencil is as per the sp... Add solution -
Other 2021-09-19 15:50:03
compress-archive using lot of memory
# File or directory to zip $sourcePath = "C:\Path\To\File" # Resulting .zip file $destinationPath = "C:\Path\To\File.zip" # Compression level. Optimal means smallest size, even if it takes a little longer to compress $compressionLevel ... Add solution -
Other 2021-09-19 02:26:03
what is the strangest bug you found
What is the strangest bug you found? I remember once I found very strange bug and it was like this. I was testing Email functionality. We have internal email client inside the application and I was sending email with attachements. For some reason certai... Add solution -
CSS 2021-09-19 02:14:02
css selector aria-label
To represent control states that are not natively conveyed in HTML, such as expanded (for example), then leaning on ARIA attributes as style selectors can be a good fit. In this case you are relying on CSS to add content to a page based on ARIA I do not ... Add solution -
C++ 2021-09-18 18:40:04
set in cpp
#include <bits/stdc++.h> #include <iostream> #include <vector> #include <algorithm> #include <set> using namespace std; //set mentains internally the ascending order of these numbers void setDemo() { set<int> S; S.in... Add solution