C++ Tutorial: User Defined Manipulators

In C++, user can define and use manipulator similar to built in manipulators as per the users’ used and desire to control ... Manip(int W, int P, char F){ width = W; precision = P; fill = F; } friend ostream& operator Loading...

C++ Tutorial: This pointer and static members

This Pointer The keyword this represents a pointer to the object whose member function is being executed. It is a pointe ... the class. Loading... (adsbygoogle = window.adsbygoogle || []).push({});

SetPixel() function on windows.h. How to use it??

If you are learning computer graphics, you may need to create graphical structure using pixels. When trying to implement t ... } void drawLine() { for(int i = 0; i Loading… (adsbygoogle = window.adsbygoogle || []).push({});

Nepal over last Four Decades with R

The World Bank DataBank provides the data of all countries for more than 1000 indicators since 1960. It can be used fo ... There are many other such analysis we can do, much more powerful than these with R. Loading...

Returning Two Dimensional Array from a Function in C

Many authors do not include topics about returning an array from a function in their books or articles. It is because, in ... arr2d result; for(i = 0; i   (adsbygoogle = window.adsbygoogle || []).push({}); Loading...

Setting up SSH server in Fedora 16: Theory and Configuration Details

rlogin and ssh are used to login to remote server. They are very useful tool to login to the remote machine and access the ... address. Otherwise the content of file hello.txt will be copied in file name [email protected] in your local client.

Gaussian blurring using separable kernel in C++

Gaussian blurring is used to reduce the noise and details of the image. It reduces the image’s high frequency components a ... how("initial", src);       waitKey();     return 0; } (adsbygoogle = window.adsbygoogle || []).push({});

Loading large data into Oracle database using SQL* Loader

SQL * Loader is very useful when loading large data, which are very tedious and time consuming task, to the database. Supp ... o make the date field compatible with Oracle date field enter date “YYYY-MM-DD” as shown above in .ctl file And so on

[Solved] Error: Cannot find -IGL / Cannot find existing library

While I was running a OpenCV project on QT, I came up with a wired error. It was like “cannot find -IGl”.  I was working o ... for all existing libraries. Use the trick accordingly. (adsbygoogle = window.adsbygoogle || []).push({});

Writing into and reading from a text file in C

We use fprintf() and fscanf() functions to write into the file and read from file respectively. fprintf()  writes the data ... =EOF){ printf("%s %d %f\n",e.name,e.age,e.bs); } fclose(fp); //close the file return 0; }

C Programming: Pointers

In the simplest term pointer is a nearly integer variable which stores a memory address of a computer which may contain ot ... ize the variable. Example: 1: int p; 2: int *q; /*declaration */ 3: q = &p; /*initialization*/

Python for Loop Statements

The most used looping control statement in Python is the for loop. For loop is used to iterate over a range of items like t ... p terminated") 1 2 3 Loop terminated Loading… (adsbygoogle = window.adsbygoogle || []).push({});

Python while Loop Statements

While loop is used in Python to repeat a block of code until the condition in while statement is true. It is also used quit ... inated Loading... (adsbygoogle = window.adsbygoogle || []).push({});

gotoxy() function in Code::blocks(gcc compiler) using C

In Turbo C/C++ and Borland C++ compiler, gotoxy() is build in function. You need not have to write its function definition ... OTE: coordinate (0,0) is left-top corner of your window. (adsbygoogle = window.adsbygoogle || []).push({});

Logistic Regression in Machine Learning

Before studying logistic regression, I would recommend you to go through these tutorials. (adsbygoogle = window.ads ... : plotData(X, y) if X.shape[1] Loading... (adsbygoogle = window.adsbygoogle || []).push({});

Minor project: Cyber Management System using C

C.yber is a program which interconnects different computers which allow users to communicate over the computer network an ... in C/C++ The source code is available on GitHub. Please note that the project runs only on Windows. Block Diagram:

Mini project «Quiz (Who will be the millionaire)» Using C/C++ – Free download

Mini project “Quiz” is a simple project made using C. It is most useful for those who are new to C and don’t know how to ... ).push({}); Here are the full lists of the Mini Projects in C/C++ Some screenshots of the project are given below:

Calculation of permutation and combination using functions in C

This program is an example of using functions. It teaches you how to declare a function, define it and call. Here functio ... ?(y/n):"); if(getche()=='n') break; } return 0; }//end of main Output

C Programming: Structures

We know that array is a collection of data that represent same data type. We cannot make an array that has data with diff ... t1 and can be treated like any other ordinary variables. (adsbygoogle = window.adsbygoogle || []).push({});

C Programming: IF Statement

If statement is used in logical statements. Using If statement you can execute some block of code only when some condi ... f("mature"); 10: else 11: printf("Old"); 12: (adsbygoogle = window.adsbygoogle || []).push({});