error: expected an expression

This is a discussion on error: expected an expression within the C++ Programming forums, part of the General Programming Boards category; hi all I'm dutch so sorry for my bat English can somebody help my I'm creating a program to hack ...

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    1

    Question error: expected an expression

    hi all

    I'm dutch so sorry for my bat English

    can somebody help my I'm creating a program to hack a password of 4 numbers
    but I get an error in this piece:
    Code:
    #include "dfndcd.h"
    #include <windows.h>
    #include <windowsx.h>
    #include <iostream>
    using namespace std;
    
    int main()
    {
    	int code;
    	int _DFNDCD_H;
    	
    	
    	switch(_DFNDCD_H)
    		{
    	case "1111" : 
    				VK_RETURN;
    	break;
    		
    	case 1112 : 
    				VK_RETURN;
    	break;
    	case 1113 :
    				VK_RETURN;
    	break;
    	case 1114 :
    				VK_RETURN;
    	break;
    	case 1115
    
    
    	cout << "het wachtwoord is: " << psswrd;
    
    	return 0;
    }
    the underlined piece
    that says that there is an error:
    Error: Expected an expression

    please help my
    thanks in advance
    cdmstr

  2. #2
    a_capitalist_story
    Join Date
    Dec 2007
    Posts
    2,651
    Yeah, people are sure to be lining up to help you hack a password.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    2,492
    the forum rules explicitly forbid assisting anyone with such a task.

  4. #4
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,625
    I forsee a lock!... And i'm no psychic!
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with making a Math Expression DLL
    By MindWorX in forum C Programming
    Replies: 19
    Last Post: 07-19-2007, 11:37 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. recursion error
    By cchallenged in forum C Programming
    Replies: 2
    Last Post: 12-18-2006, 08:15 AM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Expression Evaluator Contest
    By Stack Overflow in forum Contests Board
    Replies: 20
    Last Post: 03-29-2005, 09:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21