Search Result

Collapse
3 results in 0.0053 seconds.
Keywords
Members
Tags
illegal
  •  

  • martinezgeno199
    started a topic Local function definitions are illegal?
    in C

    Local function definitions are illegal?

    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
    ...
    See more | Go to post
    Last edited by Niheel; Sep 30 '11, 02:18 AM. Reason: code tags

  • Fuzz13
    started a topic Loop test itterates to many times.

    Loop test itterates to many times.

    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:
    Code:
    
    
    ...
    See more | Go to post

  • 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.

    Thanks.
    See more | Go to post
Working...