Results for "Volume: 2002ASP"
Changed the code on Dec 17th so that when searching for a contact, you can enter only part of the contact info to search for it instead of the whole string. This is a simple example with some explanation of a class that creates an address book. You can add contacts to the address book with their name, phone number, and email address (of course you can add whatever else). You can search thru the address book by any of the elements to display a specific contact or display the entire address book.
Sometimes in the about box of your program you want to put your email address, and web site address, wouldn't it be great if at one click the default email client would open with your address in it?, or the default web browser to your address?, and a plus!, open any file to its association, all of this with no declarations, no APIs, and with ONE line of code? Sounds impossible? here's how:
It is a simple include file that has functions for clearing the screen, moving the cursor, changing the text color, and outputting colored text to a specific section of the screen. I know this is pretty simple to most people, but I've seen many people asking for this.
The user enters 20 names (or whatever) into an array and the program outputs the 20 inputs alphabetically. The program also stops and sorts what the user has entered so far if the user does not enter anything.
This is small program written in Assembly language for intel pentium processors of series 80x86.This will out put 16 bars of different colors .This Color Bar can swing the mood and will make people happy.I am including '.exe' file also if some body don't have a assembler like MASM they can get from the web.You need masm to compile this program .
A Word Statistics Tool to count and report words statistics of an input file. The output is displayed in alphabetical order of the words with the counts. Demonstrates a friend class, operator overloading, file iostream and text parsing. It processes 337KByte text file in ~3 seconds on AMD 550MHz. And there's no limit on the length of each line - a benefit of using STL string. The zip contains a ready-to-use console app along with the source and a make file. The source code should be compilable using any compiler that supports STL, and default template parameter values.
RECURSIVE DESCENT PARSER FOR NUMERIC EXPRESSIONS
TimeDelay fuction is good for when you want to time out a loop, in milliseconds. Does'nt use a timer control, Uses simple api declare.
This code allows you to quickly center a form within the screen without eating up alot of cpu time.
If you don't like compiling from DOS when you use borland C++ 5.5.. well this is the solution for you. UPDATED!!! It now compiles windows programs as well as DOS, and can edit CPP source files too!
Learn how to write a simple DLL in C++ and then call it in Visual Basic. I scoured the web trying to look for beginning tutorials on how to write DLL's in C++ but came up with NULL examples. All the examples were to complicated for a beginner. Some of them were out-dated i.e. "Learn how to write a DLL to communicate with an ISA card". I soon gathered enough information to write a very simple one. Check it out.
produces a link list as a queue. it is part of my billing project and so uses order placing. nothing complicated.
Introduction This is a telnet console application that implements the Telnet client protocol (rfc854.) I have run it on VC6, NT4.0 SP3 Telnet The purpose of the TELNET Protocol is to provide a fairly general, bi-directional, eight-bit byte oriented communications facility. Its primary goal is to allow a standard method of interfacing terminal devices and terminal-oriented processes to each other. It is envisioned that the protocol may also be used for terminal-terminal communication ("linking") and process-process communication (distributed computation). General Considerations A TELNET connection is a Transmission Control Protocol (TCP) connection used to transmit data with interspersed TELNET control information. The TELNET Protocol is built upon three main ideas: first, the concept of a "Network Virtual Terminal"; second, the principle of negotiated options; and third, a symmetric view of terminals and processes. When a TELNET connection is first established, each end is assumed to originate and terminate at a "Network Virtual Terminal", or NVT. An NVT is an imaginary device, which provides a standard, network-wide, intermediate representation of a canonical terminal. This eliminates the need for "server" and "user" hosts to keep information about the characteristics of each other's terminals and terminal handling conventions. All hosts, both user and server, map their local device characteristics and conventions so as to appear to be dealing with an NVT over the network, and each can assume a similar mapping by the other party. The NVT is intended to strike a balance between being overly restricted (not providing hosts a rich enough vocabulary for mapping into their local character sets), and being overly inclusive (penalizing users with modest terminals). This Project has five Main Classes CSocketDx CSocketDx Class is used to establish TCP connection. It has 3 functions CSocketDx(char *,int); ~CSocketDx(); int Create(); int Connect(); SOCKET TelnetConnect(); CSocketRx CSocketRx Class is used to Receive data. It has only one thread. CSocketRx(); CSocketRx(SOCKET,HANDLE&); virtual ~CSocketRx(); static DWORD RdTh(CSocketRx *); CSocketTx CSocketTx Class is used to Send data. It has only one thread. CSocketTx(SOCKET,HANDLE&); virtual ~CSocketTx(); static DWORD SendTh(CSocketTx*); CProtocolRx CProtocolRx Class is used Implement Telnet protocol. inline void yesreply(SOCKET server, _verb verb,_option option); inline void noreply(SOCKET server, _verb verb,_option option); inline void askfor(SOCKET server, _verb verb,_option option); void TelentProtcol(SOCKET server,unsigned char code); Platforms I have run it on VC6, NT4.0 SP3; I did not test it on 95 and VC5 Limitations Cannot handle arrow keys
Expiredate, it's very usefull for makers of shareware. It can worked for 30 days long or 60 days long. you can make new demo for. After expiredate your programma will not worked until customer pay to you.
a class to make using fstream easier. NOTE: after a call to openfile() it is HIGHLY recomended to call closefile()
this shows an example of how to create a DLL in C++, and use it in visual basic... hope you like it :)
Creates a DLL, and shows how to link dynamically at run-time or compile-time.
The HELLO WORLD of 3D programming :) A rotating cube demo. You can adjust the rotation (clockwise or anticlockwise) and the speed by moving the mouse cursor towards the right and left edges of the form.
This code allows the user to input the number of disks for the classic Towers of Hanoi problem. The instructions on how to solve the tower in the fewest moves possible are written to HANOI.DAT Thanks goes out to my Computer Science teacher for his suggestions.
This code takes the common dialog color, extracts the R, G, B values, and converts each value to the correct HEX equivilant supported by HTML.