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
  1. Home
  2. General Programming
  3. C#
  4. use math.h in C#

use math.h in C#

Scheduled Pinned Locked Moved C#
questioncsharp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    max_dev2006 yahoo com
    wrote on last edited by
    #1

    Hi friends, I have some code in C which I need to convert in C#. The very first line of C code is an Include file. So how can I convert this line in C# code or what is the equivalent of this in C#? I have already tried system.math class but I want to convert this particular in C#. #include max dev

    N B 2 Replies Last reply
    0
    • M max_dev2006 yahoo com

      Hi friends, I have some code in C which I need to convert in C#. The very first line of C code is an Include file. So how can I convert this line in C# code or what is the equivalent of this in C#? I have already tried system.math class but I want to convert this particular in C#. #include max dev

      N Offline
      N Offline
      Nouman Bhatti
      wrote on last edited by
      #2

      u can't use .h file i think u have to convert it into class library then u can use it

      M 1 Reply Last reply
      0
      • M max_dev2006 yahoo com

        Hi friends, I have some code in C which I need to convert in C#. The very first line of C code is an Include file. So how can I convert this line in C# code or what is the equivalent of this in C#? I have already tried system.math class but I want to convert this particular in C#. #include max dev

        B Offline
        B Offline
        blackjack2150
        wrote on last edited by
        #3

        You'll have to use the corresponding methods of System.Math and do some manual labor to adapt your C code.

        1 Reply Last reply
        0
        • N Nouman Bhatti

          u can't use .h file i think u have to convert it into class library then u can use it

          M Offline
          M Offline
          max_dev2006 yahoo com
          wrote on last edited by
          #4

          Thanks so much for your reply. Can you tell me how can I convert it in system library ? or can you suggest any source or converter where I can convert my C Code into C# ? max dev

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

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