Tuesday, February 23, 2016

VIM editor useful shortcuts

Obviously, these little shortcuts will save your time.
Following shortcuts should be used in escape mode (After pressing  Esc).

Task Key
Create a new line above current line SHIFT + O
Create a new line below current line
Copy current line or selection SHIFT + Y
copy a line yy
Paste after cursor p
Paste before cursor SHIFT + P
Delete a line dd

Monday, February 22, 2016

Basic shapes in Ncurses

First of all I will give you a brief introduction about the Ncurses.
It is a special library in C++ where you need to get downloaded from internet.It is a GUI toolkit provided that the output is not given out from normal terminal(terminal independent).It provides functions to move the cursor, create windows, produce colors, play with mouse and provide several GUI features.Hope you'll search for more details :)

Color Codes
COLOR_BLACK           0
COLOR_RED                1
COLOR_GREEN          2
COLOR_YELLOW       3
COLOR_BLUE             4
COLOR_MAGENTA   5
COLOR_CYAN            6
COLOR_WHITE         7


1)
#include<ncurses.h>
Output
 int main(){
initscr();
start_color();
init_pair(1,3,4);
attrset(COLOR_PAIR(1));
int row=5,no=1;
for(int i=1;i<=5;i++){//i=no of rows
move(row,10);
for(int j=1;j<=no;j++){
//j=no of columns
printw("* ");
}
no+=2;
//each line increment by 2 *

Sunday, February 14, 2016

AM and FM (Additional information for DCCN)

As you know, we have to do additional readings for DCCN (Data Communication and Computer Networks) modules. This video will help you to understand how AM (Amplitude Modulation) and FM (Frequency Modulation) works. This is quite old video created by USA army, but really useful and simple one.

Monday, February 8, 2016

PastPaper Answers 1st Year 1st Semester(mid)

Download PastPapers From Here

1st Year 1st Semester(mid)

Click Here to get answers for 2005 papers
Click Here to get answers for 2006 papers
Click Here to get answers for 2007 papers
Click Here to get answers for 2008 papers
Click Here to get answers for 2009 papers
Click Here to get answers for 2010 papers
Click Here to get answers for 2011 papers
Click Here to get answers for 2012 papers
Click Here to get answers for 2013 papers

Note:Contributors aren't responsible for any mistakes in the answers as these are not actual marking schemes and do not get too attached and depend on given sample answers. Use them with your own risk.

Saturday, February 6, 2016

How to Share your files in VIRTUAL BOX and Mount your USB PEN DRIVE

Stay With us To see new videos