C++

Work with Files in C++

Submitted by pavel7_7_7 on
In this article you'll read about how to work with files in c++. Files allow users to read a huge amount of data directly from the disc without entering the data from keyboard. There are two main types of files : text files and binary files. Text files are files that consist of the sequences of any symbols. This sequence is organized in rows that are separated by the newline character "\n".

Language Use List: Groovy Enters Top-20; C Still on Top

Submitted by jproimakis on
Dramatic jumps over the past year have seen the Groovy language break into the top-20 list of programming languages, reaching the 18th spot, according to this month’s Tiobe index of programming language popularity. A dynamic language for the Java Virtual Machine, Groovy has managed to jump over 35 spots since last year, when it was ranked at the 53rd position. Though its use percentage is at a

Valid Triangle

Submitted by ashine80 on
This programme will check whether the 3 sides a,b,c of given length will form a Triangle or not ... First we will calculate s=(a+b+c)/2 where a,b,c are the length of given three lines.. Then s(s-a)(s-b)(s-c) then the square root of this . From this we will find Each Angle of supposed triangle. Then we will find a/Sin(A) ,b/sin(B) and c/sin(C) If all are equal then "The 3 lines of lenth a,b,and c