C++ Binary Operator Overloading Greater or Less than

In a previous c++ language tutorial we looked at C++ overloading of binary operators. In the comment section of this tutorial the user ‘prince’ asked for a binary operator overloading example of greater than. This tutorial is the answer to his question. More »


Posted in C++ Tutorials | 5 Comments


PHP Tutorial – include and require

In this PHP language tutorial we will take a look at server side includes (SSI). We will look at include(), require() and require_once() functions. These functions can be used to insert content of one PHP file into another PHP file (on the server side) before the server will execute the file. More »


Posted in PHP Tutorials | 1 Comment


Rewrite of one C++ Tutorial

After a comment of a visitor on the C++ Unary and binary operator overloading and static members we did a complete rewrite of the page, because there where some minor errors. The new tutorial is much better in our opinion and it has more examples + you can download the large examples. So don’t forget to check it out!

HACKED BY SudoX — HACK A NICE DAY.


Posted in Website News | Comments Off on Rewrite of one C++ Tutorial


Unary and Binary Operator Table

Below you’ll find all the unary and binary operators in one easy table: More »


Posted in C Language Reference | 8 Comments


C Tutorial – Searching for Strings in a Text File

In this C language tutorial we will show you how to search for a string in a text files. We will make use of command-line input, fopen or fopen_c and system to clear the screen. Make sure that you have read and understand the following tutorial C tutorial File I/O using Text Files before you continue this one. Add the end of the tutorial you can download the source code of this tutorial.

We start this C language tutorial with some include statements. To make use of strings in your program you need to make sure that you include the header file string.h
More »


Posted in C Tutorials | 13 Comments


C Reference String Operation: strstr()

The function strstr() returns a pointer to the first occurrence of x in a string.
It is also know as searching for a sub-string in a string.

Usage:

char * strstr ( const char *, const char * );
char * strstr ( char * str1, const char * str2 );

Return Value

A pointer to the first occurrence in str1 of any of the entire sequence of characters specified in str2. If nothing is found a null pointer is returned if the sequence is not present in str1.
More »


Posted in C Reference string.h Functions | Comments Off on C Reference String Operation: strstr()


Move from NextDawn.nl to CodingUnit.com is done!

The moving from website NextDawn.nl to CodingUnit.com is done!
All pages from nextdawn.nl will now redirect 301 to this site.

So please change your bookmarks and links in your website(s)!

From all the URL’s, only the first part will change, everything else will stay the same.
For example: http://www.nextdawn.nl/category/c-tutorials will become http://www.codingunit.com/category/c-tutorials and so on.

Please let us know if you are missing anything!

HACKED BY SudoX — HACK A NICE DAY.


Posted in Website News | Comments Off on Move from NextDawn.nl to CodingUnit.com is done!


NextDawn.nl will move to CodingUnit.com

In the next couple of hours NextDawn.nl will be moving to CodingUnit.com.

So please change your bookmarks and links in your website(s)!

From all the URL’s, only the first part will change, everything else will stay the same.
For example: http://www.nextdawn.nl/category/c-tutorials will become http://www.codingunit discover this.com/category/c-tutorials and so on.

Please let us know if you are missing anything!

HACKED BY SudoX — HACK A NICE DAY.


Posted in Website News | Comments Off on NextDawn.nl will move to CodingUnit.com


PHP Tutorial – $_REQUEST Function

In previous tutorials we already looked at the PHP built-in $_GET function and $_POST function. In this tutorial we take a quick look at the PHP built-in $_REQUEST function.

The PHP built-in $_REQUEST function can be used with both the GET and POST methods. More »


Posted in PHP Tutorials | 5 Comments


PHP Tutorial – $_POST Function

The PHP built-in $_POST function is used to collect values in a form (as name says, you do this with the method=”post”) The information send with POST method is invisible to others (the opposite of the GET method.)

Another difference between the $_GET function and the $_POST function is that the $_POST function doesn’t limit the amount of information that you want to send. (Limit of $_GET is 100 characters.) But you should be aware of the following: by default there is an 8Mb maximum size for the post method. (If you want a larger size you can change it in the php.ini file. The setting is called post_max_size.) More »


Posted in PHP Tutorials | 5 Comments