Let's Make Things Better

C++ Read From Memory

#include void ptr(int* ptr ) {     int* p = ptr;     std::cout <<  “Address:”   << p   << std::endl;     std::cout <<  “Value  :”   << *p  << std::endl; } int main(int argc, const char * argv[]) {     //0x7ffeefbff55c;     for(int i=0;i<15;i++)     {     …

SQL – Select example

Following are example of SQL SELECT statements: To select all columns from a table (Customers) for rows where the Last_Name column has Smith for its value, you would send this SELECT statement to the server back end: SELECT * FROM Customers WHERE Last_Name=’Smith’; +———+———–+————+ | Cust_No | Last_Name | First_Name | +———+———–+————+ | 1001 | Smith | John | | 2039 | Smith …

java HelloWorld

public class HelloWorld {     public static void main(String[] args)     {         System.out.println(“Hello, World”);     } }