Results 1 to 4 of 4

Thread: How can I create notepad in C++

  1. #1
    Join Date
    Jun 2009
    Posts
    404

    How can I create notepad in C++

    I am trying to develop a small program to create a notepad in C++. I this possible? Can I create a notepad like GUI in C++? I tried it but the problem is that I am unable to code it for clipboard. How will it work and how to count the lines?

  2. #2
    Join Date
    May 2008
    Posts
    685

    Re: How can I create notepad in C++

    Use code something like:

    Code:
    switch(key)
    {
    case '\n':
    	j++;
    	line[j]=i;
    	i=1;
    	break;
    case ' ':
    	total_words++;
    	break;
    case '\t':
    	i=line[j]-1;
    	gotoxy(i,j);
    	cout<<" ";
    	break;
    }

  3. #3
    Join Date
    Nov 2008
    Posts
    1,054

    Re: How can I create notepad in C++

    For creating such an interface use VC++. Its the best for GUI's. Visual C++ is Microsoft's IDE product for the C, C++, and C++/CLI programming languages. Visual C++ 2008 provides a powerful and flexible development environment for creating Microsoft Windows–based and Microsoft .NET–based applications. You can refer to this guide to know more about Visual C++.

  4. #4
    Join Date
    Nov 2008
    Posts
    996

    Re: How can I create notepad in C++

    Use wxWidgets to create Notepad. wxWidgets lets developers create applications for Win32, Mac OS X, GTK+, X11, Motif, WinCE, and more using one codebase. It can be used from languages such as C++, Python, Perl, and C#/.NET. Unlike other cross-platform toolkits, wxWidgets applications look and feel native. This is because wxWidgets uses the platform's own native controls rather than emulating them. It's also extensive, free, open-source, and mature.

Similar Threads

  1. Notepad 2 vs Notepad ++
    By Adamya in forum Windows Software
    Replies: 3
    Last Post: 21-07-2011, 02:47 AM
  2. Notepad is not responding
    By Flicker in forum Windows Software
    Replies: 4
    Last Post: 01-04-2010, 03:10 AM
  3. How to Use Notepad to Create a Log File
    By neonxgenesis in forum Windows Software
    Replies: 3
    Last Post: 17-11-2009, 08:25 AM
  4. VB.NET create Notepad File?
    By MandarM in forum Software Development
    Replies: 3
    Last Post: 18-02-2009, 08:08 PM
  5. Notepad in Firefox
    By Jackie in forum Customize Desktop
    Replies: 2
    Last Post: 25-11-2008, 05:15 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,457,176.70265 seconds with 17 queries