//intvars.cpp //demonstrates integer variables #include <iostream> using namespace std; int main () { int var1; //define variable one int var2; //define variable two var1=20; //assign value to var1 var2=var1+10 //assign value to var2 cout<< "var1+10 is "; //output text cout << var2 <<endl; //output value of var2 return [...]
C++ String Class
This is a simple string class that I constructed as an assignment for one of my classes. #include <iostream> using namespace std; class String { private: char* strval; //holds string value int strln; //holds length of string value public: //constructors String(); //initializes default value of null string String(char* s); [...]
A simple example of proc reg in SAS
PROC REG SIMPLE; MODEL Y1 Y2 = X1 X2 X3 X4 X5 X6 X7 X8; OVERALL: MTEST /PRINT; TITLE ‘Simple Regression Example’;
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!