Been at this for a while now. Can't for the life of me figure it out... All help is very much appreciated.
Code:
#include "Menu2.h"
#include <iostream>
//additional includes
using namespace std;
Menu::Menu()
{
void Menu::display_main_menu() const
{
cout << "Here is the MAIN MENU \n";
}
void Menu::display_info() const
I am writing a program which reads a file into an array creating a member for every line of text. I am trying to create a test that will examine each member for a given list of char's and IF any of the listed char's are found it needs to spit out an error. If no errors are found it needs to go to the next set of instructions. It seems like a simple If Else statement but in order to iterate for every line I'm using a for loop as such:
Checking for illegal characters in a textbox (eg. <,>,!,@,#,$,%,^,&,*,(,) )
I have a textbox named "txtName" and a button (btnSave) on a webform.
After I have typed the illegal characters into the textbox and click "Save", I would like the webform to check for those characters and display a message, "Illegal Characters not allowed". How do I achieve that in JavaScript?
Sorry if it seems too simple as I am kinda weak in programming.