Geany snippets

I love Geany for its simplicity and fast editors. Most of all because of them awesome snippets. Some of my snippets for later reference.

c=//~~START:{command: date +'%a, %d-%b-%Y, %T %Z'}\n//~~AuTHoR:Rajesh Pandian M |\n#include <bits/stdc++.h> \nusing namespace std; \n \nint main(int argc, char *argv[])  { \n	printf("Hello There!");%cursor%\n	return 0; \n} \n
cpp=//~~START:{command: date +'%a, %d-%b-%Y, %T %Z'}\n//~~AuTHoR:Rajesh Pandian M |\n#include <bits/stdc++.h> \nusing namespace std; \n \nint main(int argc, char *argv[])  { \n	cout << "Hello There %cursor%" << endl;\n	return 0; \n} \n
cu=//~~START:{command: date +"%a, %d-%b-%Y, %T %Z"}\n//~~AuTHoR:Rajesh Pandian M |\n#include <stdio.h>\n#include <cuda.h>\n#include <iostream>\n__global__ void k(){\n	printf("hello %u!\\n", threadIdx.x);\n}\nint main(int argc, char *argv[]){\n	k<<<2,32>>>();\n	cudaDeviceSynchronize();\n	return 0;\n}\n

printme=void printme(const Container &data){\n  std::copy(data.begin(),\n    data.end(),\n    std::ostream_iterator<typename Container::value_type>(std::cout, " "));\n  std::cout << '\\n';\n}
cout=std::cout<< "%cursor%" << std::endl;
cum=cudaMalloc(&d%cursor, n*sizeof(int));

★ 2 min read · Rajesh Pandian M · geany , snippets