Select Your Subject Code

CS - Computer Science MGT MTH ECO ENG STA PAK PHY ACC
CS001 CS408 CS602 CS619 CS710 CS724 MGT111 MGT501 MGT610 MTH001 MTH603 ECO401 ENG001 STA301 PAK301 PHY101 ACC311
CS101 CS410 CS604 CS701 CS711 CS726 MGT201 MGT502 MGT611 MTH100 MTH201 ECO402 ENG101 STA630 PAK302 PHY301 ACC501
CS201 CS501 CS605 CS702 CS712 CS305 MGT211 MGT503 MGT613 MTH101 MTH203 ECO403 ENG201 STA730


CS301 CS502 CS606 CS703 CS713 CS411 MGT301 MGT510 MGT619 MTH202 MTH311 ECO404 ENG301



CS302 CS504 CS607 CS704 CS716 CS412 MGT401 MGT520 MGT620 MTH301 MTH502 ECO406 ENG401



CS304 CS506 CS609 CS706 CS718 CS413 MGT402 MGT601 MGT703 MTH302
ECO704




CS401 CS507 CS610 CS707 CS720 CS509 MGT404 MGT602 MGT704 MTH401
ECO501




CS402 CS508 CS614 CS708 CS721 CS621 MGT411 MGT603 MGT705 MTH501






CS403 CS601 CS615 CS709 CS723 CS622 MGT501 MGT604 MGT711 MTH601
Showing posts with label c language. Show all posts
Showing posts with label c language. Show all posts

C++ Programming language video tutorial free download

By: // 2 comments:

C++ Programming language video tutorial

C++ programming Essential video Training download these lectures from google drive that i have shared below.
C++ Programming language video tutorial
If you are getting any error while downloading then you may post any question in comment that how to solve.
Click Here to Download C++ programming video lectures

downloaded file will required Password: songo.in


46 items


001 Welcome.mp4

002 Using Xcode with the exercises.mp4

003 Using Microsoft Visual Studio Express with the exercises.mp4

004 What is C++.mp4

005 Introduction to basic syntax.mp4

006 Anatomy of a C++ program.mp4

007 Statements and expressions.mp4

008 Identifiers.mp4

009 Defining variables.mp4

010 Pointers.mp4

011 References.mp4

012 Arrays and strings.mp4

013 Conditionals.mp4

014 The branching conditional.mp4

015 Looping with while and do.mp4

016 Iterating with for.mp4

017 Using the range-based for loop.mp4

018 Using stdout.mp4

019 Overview of C++ functions.mp4

020 Defining a function.mp4

021 Passing values to a function.mp4

022 Using automatic and static variables.mp4

023 Returning values from a function.mp4

024 Using function pointers.mp4

025 Overloading function names.mp4

026 Overloading operators with functions.mp4

027 Defining a variable number of arguments.mp4

028 Using recursion.mp4

029 About the preprocessor.mp4

030 Using macros as constants.mp4


Also read about :
Dev C++ Problem with 64 bit and its solution


You Can Download Solved Mid Term Papers, Short Notes, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quizzes , Solved Mid Term Subjective Papers , Solved Mid Term Objective Papers From This Discussion For Preparation Mid Term Papers of Fall 2014
For important helping material related to the subject ( Solved MCQsAssignmentsShort NotesSolved Past Papers, E-Books, Recommended Books, FAQs, Help & Tutorials , Short Questions Answers & more). You must view all the featured discussion in this subject group.

Programming in C++ , A Brief History

By: // No comments:

A Brief History of C++ 

 In the early 1970s, Dennis Ritchie of Bell Laboratories was engaged in a project to develop a new operating system.  Ritchie discovered that in order to accomplish his task he needed the use of a programming language that was concise and that produced compact and speedy programs. This need led Ritchie to develop the programming language called C.
     In the early 1980's, also at Bell Laboratories, another programming language was created which was based upon the C language.  This new language was developed by Bjarne Stroustrup and was called C++.  Stroustrup states that the purpose of C++ is to make writing good programs easier and more pleasant for the individual programmer.  When he designed C++, he added OOP (Object Oriented Programming) features to C without significantly changing the C component.  Thus C++ is a "relative" (called a superset) of C, meaning that any valid C program is also a valid C++ program.
     There are several versions of the C++ language, of which Visual C++ is only one.  Other dialects include Borland C++, Turbo C++, and Code Warrior (Mac).  All of these software packages enable you to create computer programs with C++, but they all implement the C++ language in a slightly different manner.  In an attempt to maintain portability of both the C and C++ languages, the American National Standards Institute (ANSI) developed a standard of consistency for C and C++ programming.  While we will be working primarily with this ANSI standard, we will also be examining the idiosyncrasies of Microsoft Visual C++ 6.0.

C++ program to Make Simple calculator

By: // No comments:

Write a C++ program to MAke Simple calculator


C++ Exercise 1:
Write a program and call it calc.cpp which is the basic calculator and receives three values from input via keyboard.
 in this C++ tutorial The first value as an operator (Op1) should be a char type and one of (+, -, *, /, s) characters with the following meanings:
o ‘+’ for addition (num1 + num2)
o ‘-’ for subtraction (num1 - num2)
o ‘*’ for multiplication (num1 * num2)
o ‘/’ for division (num1 / num2)
o ‘s’ for swap
in this C++ tutorial Program should receive another two operands (Num1, Num2) which could be float or integer.
 in this C++ tutorial The program should apply the first given operator (Op1) into the operands (Num1, Num2) and prints the relevant results with related messages in the screen.
 in this C++ tutorial Swap operator exchanges the content (swap) of two variables, for this task you are not allowed to use any further variables (You should use just two variables to swap).

#include<iostream>
#include<cmath>

using namespace std;

int main()
{
//-------defining variables and initializing them-------------    
    double num1,num2;
    char operation,redo;
//--------Printing my name on screen----------------    
    cout<<"Welcome to the calculater program v.1.0 written by Your Name"<<endl;
    cout<<"***************************************************************"<<endl;
    cout<<endl<<endl<<endl;
//--here do loop is used so that the program can be used more then one time
//without exiting the run screen---------------------------    
    do
    {
 //----receiving the variables from input--------------         
    cout<<" Please enter an operation which you like to calculate (+,-,*,/,s)";
    cout<<"[s stands for swap]:";
    cin>>operation ;
    cout<<endl<<endl;
     cout<<" Please enter two numbers to apply your requested operation(";
    cout<<operation<<"):"<<endl<<"1st num:";
    cin>>num1;
    cout<<"2nd num:" ;
    cin>>num2;
    cout<<endl;
 //---used switch function so thet the operater can be decided------------  
    switch (operation)
    {
//------calculating the requested equation for inputs------------- 
//-------at the same time printing the results on screen-----------          
     case'+':            
             cout<<"The addition of two numbers ("<<num1<<","<<num2<<"):";
             cout<<num1+num2<<endl;
             break; 
     case'-':
             cout<<"The substraction of two numbers ("<<num1<<","<<num2<<"):";
             cout<<num1-num2<<endl;
             break;
      case'*':
             cout<<"The multiplication of two numbers ("<<num1<<","<<num2<<"):";
             cout<<num1*num2<<endl;
             break;
      case'/':
             cout<<"The division of two numbers ("<<num1<<","<<num2<<"):";
             if(num2==0)
             {
             cout<<"not valid"<<endl;
             }
             cout<<(num1/num2)<<endl;
             break;
      case's':
             cout<<"The swap of two numbers ("<<num1<<","<<num2<<"):";
             swap(num1,num2);
             cout<<"1stnumber="<<num1<<"and 2nd number="<<num2<<endl<<endl;                    
           break;
      default:
              cout<<"unknown command"<<endl;
      
           }
 //----now once again the program will ask the user if want to continue or not          
           cout<<"enter y or Y to continue:";
           cin>>redo;
           cout<<endl<<endl;
           }
           while(redo=='y'||redo=='Y');
           
   system("pause");
    return 0;








C++ tutorial how to write Calculator Program- VirtualStudySolution by Zohaib khan

Other C++ Tutorials

Find the HCF and LCM by using the C++

By: // No comments:

Find the HCF and LCM by using the C++

#include using namespace std;
main(){
int a,b,c;
cout"Enter Two Numbers...\n\n";
cout"Enter Number 1 :";
cin>>a;
cout"Enter Number 2 :";
cin>>b;
c=a*b;
while(a!=b){
if(a>b){
a=a-b;
}
else{
b=b-a;
}
}
cout"HCF :"a>"lcm="" :="" "c="" aendl;="" couten...

if the above code does not work then
Download the attachment file given below

Attachments:


C++ Tutotial #2


WRITE A C++ PROGRAM TO FIND LCM OF TWO NUMBERS


# include <iostream>
# include <string >
using namespace std;
int main()
{
int a,b,c;
cout<< "Enter two nos :"<<endl;
cout<<endl;
cout<< "Enter first no. : ";
cin>>a;
cout<< "Enter sec. no. : ";
cin>>b;
c=a*b;
while(a!=b)
{
if(a>b)
a=a-b;
else
b=b-a;
}
cout<< "HCF = " << a<<endl;
cout<< "LCM = " << c/a<<endl;
return 0;
}

C++ Tutorial in PDF

By: // 1 comment:

C++ Tutorial

C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.
This reference will take you through simple and practical approach while learning C++ Programming language.
This reference has been prepared for the beginners to help them understand the basic to advanced concepts related to C++ Programming languages.
Before you start doing practice with various types of examples given in this reference, I'm making an assumption that you are already aware about what is a computer program and what is a computer programming language?

Compile/Execute C++ Programs

For most of the examples given in this tutorial, you will find Try it option to compile and execute C++ programs online, so just make use of it and enjoy your learning.
Try the following example using Try it option available at the top right corner of the below sample code box:

#include <iostream>
using namespace std;

int main()
{
   cout << "Hello World";
   return 0;


C++ Tutorial in PDF

If you think this C++ tutorial is worth of $9.99 value, kindly pay this little amount using a Credit Card or PayPal for the PDF.

Learn C Language introduction

By: // No comments:

Learn C Language 

Learn C with our popular C Language tutorial, which will take you from the very basics of C like binary trees and data structures.I recommend going through the C++ tutorial instead as it is a more modern language.

Introduction and Basic C Features


Intro to C

  • If statements
  • Loops in C
  • Functions and Program Organization
  • Switch case
  • Pointers, Arrays and Strings


Pointers

  • Structures
  • Arrays
  • C-style Strings
  • File IO and command line arguments


C File I/O

  • Typecasting
  • Command line arguments
  • Linked lists, binary trees, recursion


Linked Lists

  • Recursion
  • Variable argument lists
  • Binary Trees

if u have Finished with all above tutorials? Do some practice problems or view more tutorials.