ZIP code + 4 validation using graphs



Category : C & C++ & C#

Hello,

I have to create a graph based program that will validate a zip code given an expression to match eg. ddddd - dddd, where d is a digit 0 - 9. I am new to graphs and don't know how to accomplish this. I'm trying to make graph class, and this is what I have so far using my textbook as a guide. Any help would be appreciated: Thank you.

class graph{public: bool isEmpty() const; void createGraph(); void ClearGraph(); void depthFirstTravesal(); graph( int size = 0); ~graphType();protected: int maxSize; int gSize;private: void dft(int v, bool visited[]);};void graph::createGraph(){ int index; string zip; int vertex; int adjace

View Replies

Related to : ZIP code + 4 validation using graphs


ZIP code + 4 validation using graphs
Category : C & C++ & C#

Hello,

I have to create a graph based program that will validate a zip code given an expression to match eg. ddddd - dddd, where d is a digit 0 - 9. I am new to graphs and don't know how to accomplish this. I'm trying to make graph class, and this is what I have so far using my textbook as


View Replies


How to make charts/graphs (such as line graphs, bar graphs, circle graphs), etc. in C++, Qt, QML, Blackberry 10 Cascades Beta 3 SDK?
Category : C & C++ & C#

I need to know how to make charts/graphs in Blackberry 10 Cascades Beta 3 SDK, QML, Qt, C++. If anyone can show me an example or point me to something that shows me how to do this, it would be much appreciated.


View Replies


open source code for extracting API call sequences and control flow graphs from assembly code
Category : Programming Languages

Is there any open source code for extracting API call sequences and control flow graphs from assembly code?


I use a disassembler to come up with the assembly code of a PE file first. And now I need to extract the API call sequences and of course the cfg.


View Replies


VBA code for ranges in graphs
Category : Excel
Hi
How do you use VBA CODE for ranges in graphs?
Code:

Sub ChartCreate()
Sheets("Sheet2").Select
lr = ActiveSheet.Range("C2").End(xlDown).Row
'ActiveWorkb

View Replies


wpf validation - how can I get this code to trigger a validation as typing occurs (cf when leaving the field)
Category : Programming Languages

how can I get this code to trigger a validation as typing occurs (cf when leaving the field). The code below works OK in terms of validation, however it does not work until leaving the field (not as you type).


XAML


<Grid.Resources>
<Style TargetType="

View Replies


Code to paste graphs as pictures
Category : Excel
All,
I have a graph that loops through all charts on one tab and then pastes the charts as pictures on another tab.
The code keeps getting hung up on a section, but the hangup is inconsistent. In other words, sometimes the code works fine, ohter times I get an error:
"Run time

View Replies


Powerpoint Graphs automated via VB code
Category : VB & VBnet
I have a procedure that updates a datasheet in a powerpoint template and I also need to somehow set the format of the Y axis - but am not sure on how to code this
I have tried to set oAxis to graph.axis and then reference the category but can't get it to work
What I really want to do is set

View Replies


code needed related to graphs
Category : Programming Languages
hello everyone.I want a java code to identify acyclic components in a graph.I will be really greatful if somenone provides me this code.

View Replies


VBA Code to Move Pictures on Graphs
Category : Excel
Hello All,
I'm looking for a way to use VBA to solve the following issue:
I have an excel workbook with pages of data and bar graphs. Above the bars in the graphs are data labels containing two numbers (one over the other), first a yield percentage, and then the actual yield, e.g.
50%

View Replies


How can I return additional (i.e. more than just field=>error message) validation information from custom validation code to the Controller or View
Category : Programming Languages

I am looking for a way to return the following information from my custom validation code:


public enum ValidationErrorTypeFlags
{
Error_Input = 1 << 0, // a "field specific" error which is checked both clientside and serverside
Error_Inpu

View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .