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
K

ksaw123

@ksaw123
About
Posts
59
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Run a script on a linux box from Windows OS using windows-form written in C#
    K ksaw123

    Help please Does anyone know an elegant way to initiate a bash/perl script (to run on a linux box) from a windows form written in C#? Thanks

    C# perl linux csharp tools help

  • How to draw a circle in C#
    K ksaw123

    Thanks , I have modfied that , it helps now , the key thing how to create those node on to of them?

    C# csharp tutorial question

  • How to draw a circle in C#
    K ksaw123

    Very good day all, Is there a built in control & classes in C# allow me to draw a circle "dynamically"? like the image in this link? thank you!

    C# csharp tutorial question

  • Why Dns.Resolve Method in C# is obsolete ? Workaround?
    K ksaw123

    it works but what is meant by "obsolete"? Thanks my friend

    C# csharp com sysadmin help question

  • Why Dns.Resolve Method in C# is obsolete ? Workaround?
    K ksaw123

    I am trying to write a small function in C# by passing this DNS name www.google.com And the function should return the host IP , it is like querying DNS server! I wrote the following program , but it seems there this Warning Warning 1 'System.Net.Dns.Resolve(string)' is obsolete: 'Resolve is obsolete for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\CoDoNS\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 26 20 WindowsFormsApplication1 Using System; Using Sytem.Net; namespace BuilderExamples { class BuilderIPAddress { static void Main(string[] args) { try { IPHostEntry iphe = Dns.Resolve("www.google.com"); foreach (IPAddress addr in iphe.AddressList) { Console.WriteLine("AddressFamily: " + addr.AddressFamily.ToString()); Console.WriteLine("Address: " + addr.ToString()); } } catch (Exception e) { Console.WriteLine("Error: " + e.ToString()); } } } } Why Dns.Resolve Method in C# is obsolete ? is the a workaround to get that function done? Thanks

    C# csharp com sysadmin help question

  • How to Find the documentation oF MSPastry Library under MSDN ?
    K ksaw123

    Hi all, Dose any one know about documentation oF MSPastry Library under MSDN that could be utilized in C# code? thnaks to you all in advances

    .NET (Core and Framework) csharp tutorial question

  • How to Find the documentation oF MSPastry Library in MSDN?
    K ksaw123

    Hi all, Dose any one know about documentation oF MSPastry Library under MSDN that could be utilized in C# code? thnaks to you all in advances

    C# csharp tutorial question

  • Copy the string from const char* To char[500];
    K ksaw123

    Thanks CPallini

    C / C++ / MFC help question

  • Copy the string from const char* To char[500];
    K ksaw123

    Hi all can you help? part of my code i need to do this

    const char * p= "ddddd";
    char q[500];

    I want to copy the sting in p to q[]?

    C / C++ / MFC help question

  • C++ program to print the path without the file name!
    K ksaw123

    sorry, it didn't work why? look at the way you are using strcpy() function

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    the code i posted prints the base file name not the path I want to print the path without file name

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    my boss I don't want to use Microsoft C++ , I am using the lagacy C/C++ actually , my code is working but i wanna print the path without the file name as your suggested function. Thanks

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    Which .h file those functions is in?

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    How can I print the path without the base filename

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    it is C/C++ program not vasuil C++

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    it didn't work I need to print the path without the baseile name

    C / C++ / MFC c++

  • C++ program to print the path without the file name!
    K ksaw123

    here it is the C code , it prints the base filename I want to modify it to print the following /work1/data/xxxx/yyy/ const char * path = "/work1/data/xxxx/yyy/file_name.txt"; const char * filename; filename = path+strlen(path); while (filename != path && *(filename) != '/') filename--; if ( filename != path) filename++; cout << filename;

    C / C++ / MFC c++

  • String Parsing in C++ (Simple Question)
    K ksaw123

    No , I need C++ buitl-in class or a play around not Microsoft C++

    C / C++ / MFC c++ json tutorial question

  • String Parsing in C++ (Simple Question)
    K ksaw123

    Hi All I have this string /work1/data/xxxx/yyy/file_name.txt how to extract "only" the path name without the file name in C++ thanks

    C / C++ / MFC c++ json tutorial question

  • Replace numbers after the . with other numbers
    K ksaw123

    Thanks... the problem I am facing is that how can I make the code to replace any number (not specify number) with a specify number. for example, I have these numbers in the file: -9999.1234 -9999.2345 -4021.0101 -9999.0987 -9999.7654 -7892.4132 -9999.0393 and etc... I want any number that has -9999. (like -9999.1234, -9999.2345 and etc...) to be replaced with -9999.0000 I want a code that can do that in C#. Note: I wrote a code to read from the file and put each line in a array of type string. What I want is that a code to replace any number that has -9999. (like -9999.1234, -9999.2345 and etc...) with -9999.0000 Regards,

    C# help csharp tutorial
  • Login

  • Don't have an account? Register

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