THIS PAGE IS CREATED TO ASSIST THE STUDENTS OF
DAFFODIL INTERNATIONAL UNIVERSITY.
NOTE: DO NOT COPY THIS CODES FROM THIS PAGE! ONLY LEARNING PURPOSE. IF IT IS FOUND THAT YOUR LAB REPORT CONTAINS COPIED CODE FROM THIS PAGE, THEN – (F) GRADE!!!.
Lab Reports – CSE -122L/CS-116/122L/CSE-210 (Structured Programming)
CSE-222/ETE-215 (Object Oriented Programming)
Teacher – Ahmed Shamsul Arefin, Senior Lecturer, CSE & CIS, Daffodil International University, Bangladesh.
E-mail: asarefin@yahoo.com
Required Book(s):

Programming in C

সফটওয়্যার ডেভেলপমেন্ট ইন C#

Art of Programming Contest




Ami C programming a akdom notun. I need tips.
sir,i am solving acm prob no:10079 but all time when i submit then ans is wrong …whats the wrong?can u tell??
here is my code:
//prob no:10079
#include
int main(){
long int n,r[21000],count=0,i;
for(i=0;;i++){
scanf(“%ld”,&n);
if(n<0)break;
r[i]=((n*n)+n)/2+1;
count++;
}
for(i=0;i<count;i++){
printf(“%ld\n”,r[i]);
}
return 0;
}
would u please give some link from which i can find solved problems of some contest
Hi i am siddik & This is my first C# Windows Application:”A simple WebBrowser” and the code for it…………………
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(comboBox1.Text);
}
private void homeToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.GoHome();
}
private void goBackToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.GoBack();
}
private void goForwardToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.GoForward();
}
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.Refresh();
}
private void stopToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.Stop();
}
}
}
Hi i am siddik & this is my first C# windows application .
this is the code for a WebBrowser:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
webBrowser1.Navigate(comboBox1.Text);
}
private void homeToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.GoHome();
}
private void goBackToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.GoBack();
}
private void goForwardToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.GoForward();
}
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.Refresh();
}
private void stopToolStripMenuItem_Click(object sender, EventArgs e)
{
webBrowser1.Stop();
}
}
}
” The End ”
**********************************************************