Verbs

Group I Normal Verbs Most verbs are “Normal Verbs.” These verbs are usually physical actions which you can see somebody doing. These verbs can be used in all tenses. Normal Verbs to run, to walk, to eat, to fly, to go, to say, to touch, etc. Group II Non-Continuous Verbs The second group, called “Non-Continuous […]

Past Perfect

[had + past participle] USE 1 – Completed Action Before Something in the Past Examples: She had never seen a bear before she moved to Alaska. I had never seen such a beautiful beach before I went to Kauai. I did not have any money because I had lost my wallet. Tony knew Istanbul so […]

Present Perfect

FORM [has/have + past participle] The present perfect is a grammatical combination of the present tense and the perfect aspect, used to express a past event that has present consequences. The present perfect in English is used chiefly for completed past actions or events, when it is understood that it is the present result of […]

Use double pointers to control pointers outside of functions

First we have a variable mainInt which has the value 45 and an address. By definition, a pointer’s value is an address. And a pointer’s address is just some address. Hence, 1) intPtr’s value, by definition, MUST be an address. In our case, it is the address of mainInt. 0x7fff5fbff86c 2) intPtr’s address is […]

param dereference

First, we have a variable called aNum. That variable has an address, with an associated value:

We then have:

We have an integer pointer point to the address of our aNum variable. Then we have a function definition:

We use that function like this:

The function gets pushed onto the main […]

update column data where its NOT LIKE

update column Birthday with randoms

if length of birthday string is less than 9

set nationality using LOOR RAND()

Update Code, which is a VARCHAR(40)

Gender

returning a pointer

Pointer manipulation with a return pointer Just a simple walk through of how pointers work when we have a function with a pointer parameter and a pointer return variable. Full Source down below. First in our main, we have a variable called aNum that has value 100. Then we have a pointer variable point to […]