Thread: more then 100errors in header

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    70

    Question more then 100errors in header

    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(25) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(25) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(25) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(25) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(25) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(25) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(26) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(27) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(27) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(27) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(27) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(27) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(27) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(28) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(28) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(28) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(28) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(28) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(28) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(29) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(29) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(29) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(29) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(29) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(29) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(30) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(30) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(30) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(30) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(30) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(30) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(31) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(31) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(31) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(31) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(31) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(31) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(32) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(32) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(32) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(32) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(32) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(32) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(33) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(33) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(33) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(33) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(34) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(34) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(34) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(34) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(35) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(35) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(35) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(35) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(35) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(35) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(36) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(36) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(36) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(36) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(36) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(36) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(37) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(38) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(38) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(38) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(38) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(38) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(38) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(39) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(39) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(39) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(39) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(39) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(39) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(40) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdio(40) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(18) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(18) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(18) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(18) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(18) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(18) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(20) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(20) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(20) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(20) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(20) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(20) : error C2059: syntax error : ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(21) : error C2143: syntax error : missing '{' before ':'
    1>c:\program files\microsoft visual studio 8\vc\include\cstdlib(21) : fatal error C1003: error count exceeds 100; stopping compilation

    eu , wtf? How do i fix this

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Are you programming in C++? Is your project file a .c file or a .cpp file?

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    project is a c project , I am using microsofts platform sdk and making a win32application

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    Post the smallest and simplest program that demonstrates the error. Attempted compilation of this program should have only one (or very few) of those compile errors.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Quote Originally Posted by hallo007 View Post
    project is a c project , I am using microsofts platform sdk and making a win32application
    That's probably your problem right there. cstdio is a C++ version of stdio.h. If you're writing C code, include stdio.h. If you're writing C++ code, but you wish to use the functions inside stdio.h, include cstdio.

  6. #6
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    Sometimes, you can have only one mistake, but the compiler returns dozens of errors. The best method for resolving this is to fix the errors listed first. Strange it may seem, fixing one error can fix dozens. With my 2D game's menus nearly a year ago, one mistake at the top of the long menu function caused the compiler to return nearly 300 errors and fixing one small mistake fixed all 300.
    High elevation is the best elevation. The higher, the better the view!
    My computer: XP Pro SP3, 3.4 GHz i7-2600K CPU (OC'd to 4 GHz), 4 GB DDR3 RAM, X-Fi Platinum sound, GeForce 460, 1920x1440 resolution, 1250 GB HDD space, Visual C++ 2008 Express

  7. #7
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Nothing to do with that, MacGyver pointed out the error. He can't go and fix the 'errors' in cstdlib and cstdio

  8. #8
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    oke i am total new with visual C++ and windows , i dont understand the errors yet

    here is the full code

    Code:
    #include <windows.h>
    #include <string>
    #include <shellapi.h>
    #include <shlobj.h>
    
    
    
    
    #define cleanRecycleID 666
    #define infoID         667
    #define exitID		   668
    HINSTANCE g_hInst;
    HWND hwnd;
    void DeleteFolder( const char *szFolderPath)
    {
    	string strFileFilter;
    
    	strFileFilter = szFolderPath;
    	strFileFilter += "\\*.*";
    
    	WIN32_FIND_DATA win32FindData; //struct to hold file information
    
    	HANDLE hFile = FindFirstFile(strFileFilter.c_str(), &win32FindData);
    
    	while( FindNextFile(hFile, &win32FindData) )
    	{
    		string strFilePath; // full file path
    		string strFileName; // file name with extension only
    
    		strFilePath = szFolderPath;
    		strFilePath += "\\";
    		strFilePath += win32FindData.cFileName;
    		strFileName = win32FindData.cFileName;
    
    		//If is dots
    		if( strFileName == "." ||
    			strFileName == "..")
    		{
    			continue;
    		}
    
    		//Check to see if it is a directory
    		if( win32FindData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) //not extension
    		{
    			//Recursive call
    			DeleteFolder( strFilePath.c_str() );
    		}
    		else
    		{
    			DeleteFile(strFilePath.c_str());
    		}
    	}
    
    	FindClose( hFile ); //release handle otherwise dir cannot be removed
    
    	
    }
    char *getCookiesPath()
    {
    	LPITEMIDLIST lpidl;
    	char pszPath[MAX_PATH];
    	if (SUCCEEDED(SHGetSpecialFolderLocation(NULL, CSIDL_COOKIES, &lpidl))) {
    		SHGetPathFromIDList(lpidl, pszPath);
    		//MessageBox(NULL, pszPath, "My Cookie jar", MB_OK);
    		CoTaskMemFree(lpidl);
    		return (char *) pszPath;
    	}
    	return 0;
    }
    int OnCommand(HWND hwndCtl,int nID,UINT uNotifyCode)
    {
    //check if msg has come from a control and the button has been clicked
    if ((hwndCtl)&&(uNotifyCode==BN_CLICKED))
    {
    
        //check the control id
        switch (nID)
        {
    		case cleanRecycleID:
    			SHEmptyRecycleBin(NULL, "", 0);
    			MessageBox(NULL , "The Recycle Bin has been cleaned" , "Done" , MB_OK | MB_ICONINFORMATION);
    	    break;
    
    		case infoID:
    			{
    				char *cookiesPath = getCookiesPath();
    				DeleteFolder(cookiesPath);
    				}
    			break; 
    
    		case exitID:
    			if(MessageBox(NULL , "Are you sure you want to exit?" , "Exit" , MB_YESNO | MB_ICONQUESTION) == IDYES)
    				DestroyWindow(hwnd);
    			else
    				return 0;
    			
    	    break; 
    
            default:
                return 0;
            }
    
    }
    return 0;
    }
    
    // Step 4: the Window Procedure
    LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
    {
    	static HICON   hIcon;
    	static HWND    hIconBtn;
        switch(msg)
        {
    		case WM_COMMAND:
    			return OnCommand((HWND)lParam,LOWORD(wParam),HIWORD(wParam));
    		case WM_CREATE:
    			//create a default push button
    			CreateWindowEx(0,                                       //more or 'extended' styles
                                TEXT("BUTTON"),                         //'class' of control to create
    							TEXT("Clean Recycle Bin"),              //the control caption
    							WS_CHILD|WS_VISIBLE|BS_DEFPUSHBUTTON,   //control style: how it looks
    							10,                                     //control position: left
    							10,                                     //control position: top
    							200,                                    //control width
    							30,                                     //control height
    							hwnd,                                   //parent window handle
    							cleanRecycleID,                         //control's ID
    							g_hInst,                                //application instance
    							NULL);  
    			CreateWindowEx(0,                                       //more or 'extended' styles
                                TEXT("BUTTON"),                         //'class' of control to create
    							TEXT("Delete Cookies"),              //the control caption
    							WS_CHILD|WS_VISIBLE|BS_DEFPUSHBUTTON,   //control style: how it looks
    							10,                                     //control position: left
    							50,                                     //control position: top
    							200,                                    //control width
    							30,                                     //control height
    							hwnd,                                   //parent window handle
    							infoID,                                 //control's ID
    							g_hInst,                                //application instance
    							NULL);  
    			CreateWindowEx(0,                                       //more or 'extended' styles
                                TEXT("BUTTON"),                         //'class' of control to create
    							TEXT("Exit"),              //the control caption
    							WS_CHILD|WS_VISIBLE|BS_DEFPUSHBUTTON,   //control style: how it looks
    							10,                                     //control position: left
    							90,                                     //control position: top
    							200,                                    //control width
    							30,                                     //control height
    							hwnd,                                   //parent window handle
    							exitID,                                 //control's ID
    							g_hInst,                                //application instance
    							NULL);  
    			hIcon=(HICON)LoadImage(NULL,IDI_EXCLAMATION,IMAGE_ICON,0,0,LR_SHARED);
    			SendMessage(hIconBtn,BM_SETIMAGE,IMAGE_ICON,(LPARAM)hIcon);
    			
    
    			return 0;
            case WM_CLOSE:
                DestroyWindow(hwnd);
            break;
    
            case WM_DESTROY:
                PostQuitMessage(0);
            break;
    
            default:
                return DefWindowProc(hwnd, msg, wParam, lParam);
        }
        return 0;
    }
    
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
        LPSTR lpCmdLine, int nCmdShow)
    {
    	
        WNDCLASSEX wc;
        
        MSG Msg;
    
    	g_hInst = hInstance;
        //Step 1: Registering the Window Class
        wc.cbSize        = sizeof(WNDCLASSEX);
        wc.style         = 0;
        wc.lpfnWndProc   = WndProc; //zorg ervoor dat alle functies van de window werken
        wc.cbClsExtra    = 0;
        wc.cbWndExtra    = 0;
        wc.hInstance     = hInstance;
        wc.hIcon         = LoadIcon(NULL, IDI_APPLICATION);
        wc.hCursor       = LoadCursor(NULL, IDC_ARROW);
        wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
        wc.lpszMenuName  = NULL;
        wc.lpszClassName = "Main Menu";
        wc.hIconSm       = LoadIcon(NULL, IDI_APPLICATION);
    
        if(!RegisterClassEx(&wc))
        {
            MessageBox(NULL, "Window Registration Failed!", "Error!",
                MB_ICONEXCLAMATION | MB_OK);
            return 0;
        }
    
        // Step 2: Creating the Window
        hwnd = CreateWindowEx(
            WS_EX_CLIENTEDGE,
            "Main Menu",
            "Main Menu",
            WS_OVERLAPPEDWINDOW,
            CW_USEDEFAULT, CW_USEDEFAULT, 230,160 ,
            NULL, NULL, hInstance, NULL);
    
        if(hwnd == NULL)
        {
            MessageBox(NULL, "Window Creation Failed!", "Error!",
                MB_ICONEXCLAMATION | MB_OK);
            return 0;
        }
    
        ShowWindow(hwnd, nCmdShow);
        UpdateWindow(hwnd);
    
        // Step 3: The Message Loop
        while(GetMessage(&Msg, NULL, 0, 0) > 0)
        {
            TranslateMessage(&Msg);
            DispatchMessage(&Msg);
        }
        return Msg.wParam;
    }

  9. #9
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    If this is C, then you should be using <string.h>, not <string>.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  10. #10
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    yeah, i tried it already , but then it gave me this error
    >c:\....\app_one.c(17) : error C2065: 'string' : undeclared identifier

  11. #11
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    Code:
    string strFileFilter;
    What is string?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  12. #12
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    The string is a character , normal it works with including string

  13. #13
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,656
    But you're in C now, not C++ (where the string class would be found).

    But looking at your code, maybe C++ would be better.

    Are you completely clear as to which language you're using, or did you just start typing stuff?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  14. #14
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    I just start typing stuff , so just reopen the project as C++ and see what errors i get?

  15. #15
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Location
    Tijuana, BC, México
    Posts
    310
    oke i am total new with visual C++ and windows , i dont understand the errors yet
    If you are noob, shouldn't you reading tutos, like WndProc, CreateWindowEx.... I think you are trying to run when you can't do baby steps...sorry dude for me comment, but I think is the true.
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Obtaining source & destination IP,details of ICMP Header & each of field of it ???
    By cromologic in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-29-2006, 02:49 PM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM