If you are creating your own Altcoin then it would be easy to do a few minor changes in the code to premine the coins. You can fix the difficulty to lower limit and set the initial block reward to the premine number along with your coinbase transaction. Blocks which are mined later on will generate specified coins. By this way once you have mined the genesis block, it generates huge amount of coins as specified by you in the code and sends them to the address specified by you in the code.
If you have cloned the bitcoin core then you need to change the code further to spend your genesis block reward. There was a bug in the satoshi code which doesn't allow you to spend the reward which significantly affects your altcoin reward too. If you cloning a older bitcoin code, you can change the mining difficulty in mining.cpp or in the pow.cpp. I am not completely sure of this, but they will change the difficulty and help you premine those coins.
Thank you for the response. I really do appreciate it. Where I am at currently is have the daemon working on my new alt coin, have the wallet gui but now it is just generating the coins. All this done on Ubuntu 16.04 vm. I understand the generation of the hashmerkleroot and the genesisblock which I implemented in the code, generate the block ntime and nonce, setting the checkpoint with the block height set at 0 and DNS Seeds. It is only how the coins are generated where I am still trying to understand. From your response, this adds more knowledge in setting the difficulty in generating blocks.
To clarify, I have not cloned the bitcoin core, I cloned the compound coin source code and the source code is based on Peercoin. I can explain further here or through DM; whichever you prefer.