<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Development Cave</title>
	<atom:link href="http://devcave.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://devcave.com</link>
	<description>Development Cave</description>
	<lastBuildDate>Sun, 13 May 2012 19:48:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Programming Security for secured computing</title>
		<link>http://devcave.com/programming-security-for-secured-computing/</link>
		<comments>http://devcave.com/programming-security-for-secured-computing/#comments</comments>
		<pubDate>Sun, 13 May 2012 19:48:07 +0000</pubDate>
		<dc:creator>devAdmin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming Security]]></category>
		<category><![CDATA[secured computing]]></category>

		<guid isPermaLink="false">http://devcave.com/?p=40</guid>
		<description><![CDATA[Computers are filled with programs performing various functions. Imbalance in the program behavior due to unauthorized sources or indivisuals can be considered a breach of computer security. According to the observations made with regard to the vulnerability of the programming security, it can be concluded that minor defects in coding is responsible for breach of [...]]]></description>
			<content:encoded><![CDATA[<p>Computers are filled with programs performing various functions. Imbalance in the program behavior due to unauthorized sources or indivisuals can be considered a breach of computer security. According to the observations made with regard to the vulnerability of the <strong>programming security</strong>, it can be concluded that minor defects in coding is responsible for breach of computer security. The errors with regard to coding can be stopped by taking steps towards indentifying insecured computing practices and by developing secured computing practices for better <strong>programming security</strong>. With the security of the programs comes the computer security.</p>
<p>Any programming language can be employed for writing programs. The use of particular computer language does not decide the security levels. But, while writing a computer program, there are certain aspects to be considered for <strong>programming security</strong>.</p>
<p>Physical security – This is one of the most important aspects to be considered for security. If this aspect is not given the right care, then any effort for <strong>programming security</strong> gets futile. The physical security refers to the access of a certain programs restrcted to authorized personnel. This helps in avoiding the misuse of information.</p>
<p>Procedural security – This is a legal aspect with respect to the <strong>programming security</strong>. The policies of the company with respect to the breach of computer security should be in place. This is taken up to prevent any unauthorized access to the <strong>programming security</strong> from within the company.</p>
<p>Strong enrcyption – Computer encryption comes to a great use with respect to computer security. When the data of the company is encrypted, the hacker would find it difficult to decrypt the information. Securing the data by encryption, leads to an enhanced <strong>programming security</strong>.</p>
<p>Firewalls – Firewalls need to be created to avoid unauthorized sources to communicate with machines in the network. Only those network protocols which communicate with their respective machines in the network should be allowed.</p>
<p>Buffer overflows – This is caused to a program, when the data used in the program crosses its memory space. The buffer overflows can lead to crash of the computer programs and breach of computer security. With the right buffer managment, the buffer overflow of the program can be avoided. Ensuring the use of right quantity of words for coding, the <strong>programming security</strong> can be enhanced.</p>
<p>These are a few aspects that need to be considered for enhancing the computer security. Secured coding is essential for the <strong>programming security</strong>. Mentioned below are a few tips for writing secured programs: -</p>
<ul>
<li>The codes in programming should be kept simple. Simple and short coding helps in easy removal of the bugs in the program.</li>
<li>Defensive programming should be employed in the programs for better <strong>programming security</strong>. In defensive programming, the sanity checks are done by the programs when data from external sources are accessed.</li>
<li>The use of fully qualified path names in programming for opening of the files is recommended. This improves the program security and avoids the deviation of the program by unauthorized sources.</li>
</ul>
<p>These are a few tips that can be used for a secured programming. By keeping the programs intact with secure coding, the computer security is automatically enhanced.</p>
]]></content:encoded>
			<wfw:commentRss>http://devcave.com/programming-security-for-secured-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Language: How a Simple C++ Language Looks Like</title>
		<link>http://devcave.com/programming-language-how-a-simple-c-language-looks-like/</link>
		<comments>http://devcave.com/programming-language-how-a-simple-c-language-looks-like/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 19:38:31 +0000</pubDate>
		<dc:creator>devAdmin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://devcave.com/?p=19</guid>
		<description><![CDATA[On the first instance of learning about the C++ language, it is easy to conclude that this programming language is complicated. The simplicity of the C++ language has often been compared to the case of the chicken and the egg problem. Although it may look complicated and hard to understand the program on the onset, [...]]]></description>
			<content:encoded><![CDATA[<p>On the first instance of learning about the C++ language, it is easy to conclude that this programming language is complicated. The simplicity of the C++ language has often been compared to the case of the chicken and the egg problem. Although it may look complicated and hard to understand the program on the onset, it is easy to learn how the programming language looks like and its working concept.  This can be easily established with a look at the features that make the program and the basic elements of this type of programming language.</p>
<p><strong>The Definition of C++ Programming Language</strong><br />
There are more than six programming languages that have been in use for years. The C++ language is a recent program, and like all the other programs it is used to help the user of a computer to instruct it accordingly. This program is not tied to any specific computer. This means that it can be used with any computer system no matter the location or the computer’s set up.</p>
<p>The C++ language was developed after the C high level language, which is used for low-level programming. The C++ language is based on this simple programming language and that is why the two share the same syntax subset and functionality. Additionally, all the capabilities found in the C language have been retained in the C++ program. The C++ language is the latest programming language to have been invented and it is stronger than all the other types of programming languages. The strength of the program can be seen in its scope, level of performance and the power it wields.   It is these features that make the C++ language still unrivalled today and the most popular program that is used for a majority of the high performance applications and systems.</p>
<p><strong>The Execution of the C++ Language </strong><br />
A single C++ program is made up of several source files. The source file is a disk that stores all the separate instructions and statements that are used to provide the action the computer it to carry out. These instructions and statements are simply referred to as source codes. The C++ program can be executed in two ways, as an interpreted language or compiled program.</p>
<p><strong>Types of C++ Program Execution</strong><br />
As a compiled program, the C++ program must have the machine codes or instructions. This can only be done by converting the C++ language to the machine code. The program that is always used to make the conversion is called the compiler. There are three main functions that the compiler program plays:<br />
<UL><br />
<LI>It inspects the C++ language program<br />
<LI>Analyzes the contents of the C++ language program<br />
<LI>Generates the machine instructions to produce actions as specified by source codes<br />
</UL></p>
<p>The second type of the programs execution is the interpreted language. This type of execution is not as direct as the compiled program execution. Inn this case it is a must that the intent of the source code is established before the program can be executed. This kind of execution is often slower. However, the good side about the execution program is that it does not require program compilation before it is run. This program is executed immediately the code has been entered. The kind of program execution that is best to use is often determined by the use intended for the language and the design of the programming language.</p>
<p><strong>The Difference of C++ Language to Other Programs</strong><br />
There is never any one programming language that is better than the other. The power and performance of any language is what counts in most cases and this is determined by the context of the program. Other factors that may affect the kind of program that is used in the level of speed required, execution performance or how wide a range the execution is to take place. Different language programs come with different lengths and steepness of its learning curve. This means that although the C++ program is harder to learn than the other programs, each has its own difficulties. The reason why it takes much time to learn the C++ language program is due to the fact that it has a great deal more to it than what is to be expected with the other programs. This program is used with a wide range of applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://devcave.com/programming-language-how-a-simple-c-language-looks-like/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Language and C++ Language</title>
		<link>http://devcave.com/programming-language-and-c-language/</link>
		<comments>http://devcave.com/programming-language-and-c-language/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 19:37:59 +0000</pubDate>
		<dc:creator>devAdmin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://devcave.com/?p=21</guid>
		<description><![CDATA[Every day whenever you access the internet, you will discover new advancement that have been around or have just developed. You need to understand this programs and apply them on your day to day activities, for instance programming language is a data for writing programs and also involves calculations which are performed by machines, basically [...]]]></description>
			<content:encoded><![CDATA[<p>Every day whenever you access the internet, you will discover new advancement that have been around or have just developed. You need to understand this programs and apply them on your day to day activities, for instance programming language is a data for writing programs and also involves calculations which are performed by machines, basically by a computer. Some of the important characteristics of programming language are; the functions and aims of the programming language, it controls the functioning of other devices in the computer such as printers, disk drives and others. This phenomenal also acts the same way as human beings think because, when an individual is using the machine he or she will give instructions or commands to the machine and it will respond automatically. Another trait of this programming language is that, it involves concepts or ideas for describing and controlling information when the machine is working.</p>
<p><strong>About the C++ Language</strong><br />
C++ programming language was developed by Bjarne Stroupstrup to work as an advanced C programming language. It is object oriented and gives high level language. It is commonly used in programming languages and some of its features include; classes, virtual functions, templates and operator overloading among others.</p>
<p><strong>Advantages of using C++ programming language</strong><br />
It is an advantageous programming language because it works on many codes without changing them, thus the C++ code can be used as many times as possible. The classes in the C++ programming languages make it essential because they can work on programmers avoiding any possible errors. And if a mistake occurs the C++ can rectify them and find the source of the problem. These features also make it efficient and does not waste a lot of time as it is works on a high speed. It also uses good language for writing in operating systems, disk drives and others. Thus it is an appropriate language to use when programming and thus why it is essential to engineers.</p>
<p>Languages used by the computer processor are the machine codes and are difficult for human beings to comprehend hence intermediary languages have evolved to solve the problem. A programming language has a few significances which make it more appropriate when functioning in our devices than the use of the machine codes and they are:-<br />
<OL><br />
<LI>The programming language is easier to understand than the machine code and thus why may people have adapted to it after it was developed.<br />
<LI>This phenomenal is more useful than the machine codes because it is adjustable to any type of computer hence its flexibility makes it more essential in day to day use of computers.<br />
</OL></p>
<p>Programming language can be divided into a few major categories and they are; interpreted, compiled, imperative languages and functional languages.</p>
<p><strong>Imperative language program </strong><br />
This is the most employed type of programming language and involves the use of various essential commands or instructions, which are set into blocks to operate on the computer.</p>
<p><strong>Functional program language</strong><br />
It is also referred to as procedural language and provides programs through the functions command hence when it is performing it functions it will receive an output and settles with an input.</p>
<p><strong>Interpreted languages</strong><br />
The codes in the computer must be changed or converted so that the processor can understand and use them, hence the interpreter program should be made available to translate the commands correctly.</p>
<p><strong>Compiled language</strong><br />
In this programming language category a compiler program is required to translate the assembled information. The advantage of this type of language is that it ensures the safety of the main code thus it cannot be copied or transferred to any other user.</p>
<p><strong>How to learn programming language and C++ language</strong><br />
Many computer users are taking tutorial classes to learn more about programming language and the C++ language. There are many schools offering classes on is field and at early stages, a students is basically introduced to the practices and concepts involved in programming. And the more you pursue your education, the more your will learn new things on programming language and C++. Sometime you may not require going to school to learn about these programs, you can look for a qualified and experienced programmer and she will be helpful because most of the assignments and learning will be done practically. In case you enroll for online classes you should not forget to document the information you get.</p>
]]></content:encoded>
			<wfw:commentRss>http://devcave.com/programming-language-and-c-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CreateWindowEx() returns NULL, GetLastError() returns 0</title>
		<link>http://devcave.com/createwindowex-returns-null-getlasterror-returns-0/</link>
		<comments>http://devcave.com/createwindowex-returns-null-getlasterror-returns-0/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 14:51:50 +0000</pubDate>
		<dc:creator>devAdmin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://devcave.com/?p=11</guid>
		<description><![CDATA[As a windows programmer i often encore some development problems that me mad, In problems I mean, an unknown error with no other information or return code nor GetLastError() function give me more information. I am sure, that this means I am doing something wrong, somewhere on my code, the big question is where and [...]]]></description>
			<content:encoded><![CDATA[<p>As a windows programmer i often encore some development problems that me mad,<br />
In problems I mean, an unknown error with no other information or return code nor <em>GetLastError()</em> function give me more information.</p>
<p>I am sure, that this means I am doing something wrong, somewhere on my code, the big question is where and of course what.</p>
<p>I try to use some of the techniques I know to get some more information on that error, and use the debugger to trace by step by step watching and digging into the application data to try and fetch more information that can help me figure it out where did I did my mistake, but sometimes it does not help, that why I use the web, using the search engine it is possible to locate places that peoples had a problem similar to my problem and they had been solved this problem by advice from other developer out there.</p>
<p>In this example I am talking about basic windows application Win32, with a wrapper window class that should hold information on child windows, that the main application needs to handle.</p>
<p>The problem was that when I create a child window the child handle was always null and the <em>GetLastError()</em> message return 0, no error.</p>
<p>After some web searches I found several solutions that describe the problem that I had: <em>CreateWindow()</em> returns NULL and <em>GetLastError()</em> returns 0.</p>
<p>You can be sure that i also try this with <em>CreateWindowEx()</em> and it also failed with a NULL as the return value.</p>
<p>The solutions that I found on the web where:</p>
<ul>
<li>Verify that WM_CREATE message was covered up in my child <em>MessageProc()</em>function.</li>
<li>Verify that inside WM_PAINT you have the following function, or reference to a function that handle them: <em>BeginPaint()</em> and <em>EndPaint()</em> functions.</li>
</ul>
<p>Both of the above information did not solve my problem.</p>
<p>The thing that I was missing in my source code was the <em>DefWindowProc()</em> function when returning from the child <em>MessageProc()</em> function.</p>
<p>After I added the <em>&#8216;return DefWindowProc(hWnd, message, wParam, lParam)</em>&#8216; line in my child <em>MessageProc()</em> function the child windows started to work correctly with no problem.</p>
<p>I hope this information will be useful to someone out there, and this is good information to beginner windows programming people out there.</p>
<p>I will try to bring here, from time to time, more problems and solution that i had and will have in the future, in my development path.</p>
<p><strong>Please comment your solution to this problem, if you encored one.</strong></p>
<p>Good Luck to you all.<br />
The Admin.</p>
]]></content:encoded>
			<wfw:commentRss>http://devcave.com/createwindowex-returns-null-getlasterror-returns-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So you want to learn a computer programming language…</title>
		<link>http://devcave.com/hello-world/</link>
		<comments>http://devcave.com/hello-world/#comments</comments>
		<pubDate>Wed, 18 May 2011 21:38:13 +0000</pubDate>
		<dc:creator>devAdmin</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://devcave.com/?p=1</guid>
		<description><![CDATA[So you want to learn a computer programming language… One of the common questions that ask by beginner that want to learn to program is what language is the best to start with. This is a problematic question and it has a lot of answers and this is due to the fact that each language [...]]]></description>
			<content:encoded><![CDATA[<p><strong>So you want to learn a computer programming language…</strong></p>
<p>One of the common questions that ask by beginner that want to learn to program is what language is the best to start with.<br />
This is a problematic question and it has a lot of answers and this is due to the fact that each language had its ups and downs, I will try to explain here on several computer language and I am only talking on Windows base development, I am not going into Mobile devices or Web base technology.</p>
<p>One of my question foe someone that ask me the what language  question is what is your main goal, most of the people that ask me this question have an idea of some kind of application that they want to develop and this can be a good pointing start to what language to choose for.</p>
<p>I can tell you that to most people the C Sharp (C#) will be a great starting point to get into the development world, it is a fast, easy and have lots of document and example over the net , so a user can find a piece of code for the thing that he need and change it, update it according to what he needs.</p>
<p>Visual Basic .net is also a great language to start from, it is a great, easy to use language that can do a lot of things, it is more UI base language that you can do a lot of your needs using the IDE environment and then get into the code itself for changes, it support networking and other great things, and you can get into it fast.</p>
<p>The Java programming language is also a great language to learn, it is a pure Object Oriented Programming language (OOP)and  keep in mind that if you get into Java you be able to write code on one machine, like windows, and it might work on other machine, like Linux, with some minor changes, so this is the multi system language to choose for, there is a virtual machine that run the code in it and by that you can easy port it to every operation system that run the JVM (Java Virtual Machine).<br />
Also a lot of distributed/multi threads/ network base application are porting to Java and if they do it, I guess they know what they are doing.</p>
<p>OOP is a programming method that in order to create any program you first draft it down into object when each object do its own job, and by this if you need to update or fix something you just find the problematic object and change it.<br />
There are a lot more in OOP and this is not an OOP article, maybe I will write one in the future.</p>
<p>All the above languages run in some kind of virtual environment that take care for you, the programmer, for a lot of things, from memory management to security issue and so on.<br />
If you need a language that can give you more freedom, keep on reading…</p>
<p>The C/C++ programming language is the language that I recommended every one that want to get into programming and that is due to several things but I think the important one is, if you know C++ you can port to any other language you want you just have to learn the syntax, C++ is the language that use in most of the inner application, include the Windows Operation System. With C++ you can and needs to use OOP, you do have to take care of everything but at the end, it worth it.</p>
<p>I want to add more language in here, the language is Assembler, this is a probably the harder language that you can learn those days, and some of the reasons to learn it will be related to security subjects, if you want to build reverse engineering tools or you want to research and learn how virus works or even be familiar with inner application debugging, assembler is a need to know language.</p>
<p>I do hope that this article give you some knowledge on what language you should learn as an entry point into computer programming, in my opinion I choose C++, with C++ you can get into most computer language one you know there syntax, even if you want to go on to web programing language like PHP it is also base on C language, so you will have a lot of knowledge on the basic syntax.</p>
]]></content:encoded>
			<wfw:commentRss>http://devcave.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

