[ create a new paste ] login | about

Link: http://codepad.org/W960Lbyf    [ raw code | output | fork ]

C, pasted on Apr 4:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace musicDB
{
    public partial class Form1 : Form
    {

        private musicDB MDB;

        public Form1()
        {
            InitializeComponent();
            MDB = new musicDB("Cool Stuff Here Pty Ltd");
        }

        private void AddAlbum_button_Click(object sender, EventArgs e)
        {
            if (!MDB.AddAlbum(AlbumNameTextBox.Text))
            {
                MessageBox.Show("Could not add Album");
            }
            AlbumNameTextBox.Text = "";
        }

        private void listAlbums_Button_Click(object sender, EventArgs e)
        {
            MDB.ListAlbums(AlbumListBox.Items);

        }

        private void deleteAlbum_Button_Click(object sender, EventArgs e)
        {
            if (!MDB.RemoveAlbum(AlbumNameTextBox.Text))
            {
                MessageBox.Show("No Such Album Exsists");
            }
        }

        private void AddDetails_Click(object sender, EventArgs e)
        {
            if (!MDB.AddSong(SongBox.Text))
                MessageBox.Show("Unable To Add Song");
        }
    }
}


Output:
1
2
3
4
5
6
7
8
9
10
Line 1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'System'
Line 11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'musicDB'


Create a new paste based on this one


Comments: