Skip to main content

Skeleton Of C++

Today we will see the body structure of c++
below is given the structure:-


#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main ()
{
    //your codes goes here
    return 0;
}


 


You will start writing your code from main function.

Comments

Popular posts from this blog

Key to writing Code_Flowcahrt (beginner)

Hello everyone! welcome to our site. In this section we will give you a little idea about flowchart. I am considering you are a Computer Science student, If you are not , nothing to worry about. we will keep it simple and easy. Flow chart is "A  diagram of the sequence of movements or actions of people or things involved in a complex system or activity"(collected from Google) in short  its a construction map for code or anything, it's like sequence work. To give you an example its kind of like this : So,lets start with the basics there are few things to remember before drawing a flow chart: 1.To a flowchart you have to use some stander signs . 2.By giving arrow you have to show the flow. 3.You should not write flowchart in a particular programming language. That's the things to remember while writing a flowchart. Now,here are some signs that are used in flowchart and there meaning:  There are 3 types of Flowchart : 1.Simple ...

Key to code_Turning flowchart into JAVA code.(in nutshell)

So, you already got the idea of flowchart and  we also posted video in our YouTube channel about the flowchart more are coming in case you did not get it properly. But now I am here today starting off with Java code.I am not going to start all at once so now I am just going to give you some basic about it. To remind you again for to learn code its really very important that you learn flowchart first. As from last blog post and also from the YouTube video you should know by now the basic signs of flow chart keep those in my mind you are going need it later here. First of all what is Java, now the  answer is it's a computer language. -(some)hey,we know that.L O L what a looser boring topic. Me:you sure you want to hear the hard way. -(all)Huh! try me! me:ok,  " Java  is a general-purpose computer  programming language  that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible...

UVA-11764 Solution

Solution of 11764 UVA number ! please do not copy it rather watch it for learning purpose :) Here is the code :- #include <iostream> #include <bits/stdc++.h> using namespace std;    int main(){        //mechaboo     int testCases;     cin >> testCases;     for (int i=0;i<testCases;i++)     {         int len,maxx=0,minn=0;         cin >> len;         int  arrJumps[len] ;         for(int j=0;j<len;j++)         {             cin >> arrJumps[j];             if(j!=0)             {       ...