memset-intializing arrays[code] #include<iostream> #include <stdio.h> #include <cstring> using namespace std; int main()...
memset() for two dimensional arrays@keskiverto int arr[m][n]; I had to set all the values before I could use it for a problem.
memset() for two dimensional arraysHow to use memset() for two dimensional arrays? I tried using [code] memset(arr,1,sizeof(arr)*m...
How to find the length of the string?[code]int t; string a; cin>>t; getline(cin,a); int len=a.length(); cout<<a<<" "<<len; [/code] [u]Inp...
2d vectorHow do I iterate through a two dimensional vector? To iterate through and print the elements of a s...
This user does not accept Private Messages