Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Naman2007

@Naman2007
About
Posts
6
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • slope of a line
    N Naman2007

    i'm getting 'divide by zero' exception here.what is the method to fix this error?

    C# csharp wpf help question

  • slope of a line
    N Naman2007

    i tried to put x and y coordinates in two different arrays but don't understand how to write a code that calculates the slope between points and displays them in a textbox. i have written the following code snippet:

    var r = File.ReadAllLines(path)
    .Select(line => line.Split(' '))
    .Select(arr => new
    {
    Column0 = Int32.Parse(arr[0]),
    Column1 = Int32.Parse(arr[1])
    // etc
    })
    .ToArray();
    int[] column0 = r.Select(x => x.Column0).ToArray();
    int[] column1 = r.Select(x => x.Column1).ToArray();

    C# csharp wpf help question

  • slope of a line
    N Naman2007

    I have a text file containing the following content:

    0 12
    1 15
    2 6
    3 4
    4 3
    5 6
    6 12
    7 8
    8 8
    9 9
    10 13

    the first column specifies the x coordinate of a point and second column specifies the y coordinate.i need to read this file and find slope between all points. like first i find slope between (0,12) and (1,15) and then between (0,15) and (2,6) and so on.i am basically building a wpf application.can anyone help?

    C# csharp wpf help question

  • record mouse coordinates when mouse is clicked on inkcanvas
    N Naman2007

    its WPF

    C# help

  • record mouse coordinates when mouse is clicked on inkcanvas
    N Naman2007

    I want to get the cursor coordinates when the mouse is clicked in inkcanvas.here i used mouse event handler and i am trying to display cordinates in a textbox but somehow its not working.i have used the following code snippet.can someone please help

    private void inkCanvas1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    {
    System.Windows.Point position = e.GetPosition(this);
    this.textBox1.Text = position.X.ToString()+","+position.Y.ToString();
    }

    C# help

  • C++ Coding
    N Naman2007

    could anyone help me with the projrct on streamline allocation i.e i need a complete coding for this project.actually in this C++ program i have to allocate marks to students on the basis of their performance in exams

    Managed C++/CLI c++ performance help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups