DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   3 problems (http://www.daniweb.com/forums/thread159795.html)

smeezekitty Nov 28th, 2008 12:39 am
3 problems
 
i have three problems first one is in vc++ 2008 express heres the code
#include <windows.h>
#include <iostream>
#include <stdafx>
using namespace std;
int _tmain(){
        console::writeline("Window Text");
}
Second is in old turbo C++ 1.01
how can i use a similer to if ( X = X) for char instead?
and third how do you erase a graphic element in turbo C++ 1 without closing graphics?

smeezekitty Nov 28th, 2008 2:43 am
Re: 3 problems
 
by the way the error code for the first prblem is:
general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified .\ i_am_doing_a_Test.exe.intermediate.manifest

WaltP Nov 28th, 2008 2:50 am
Re: 3 problems
 
Quote:

Originally Posted by smeezekitty (Post 746108)
i have three problems first one is in vc++ 2008 express heres the code...

And the problem is....?

Quote:

Originally Posted by smeezekitty (Post 746108)
Second is in old turbo C++ 1.01
how can i use a similer to if ( X = X) for char instead?

The exact same way you do it in VC++ 2008. Either that or I don't understand the question.

Quote:

Originally Posted by smeezekitty (Post 746108)
and third how do you erase a graphic element in turbo C++ 1 without closing graphics?

Depends on how you created the graphic element. First thought is to rewrite the graphic element but with the background color.

smeezekitty Dec 3rd, 2008 10:28 pm
Re: 3 problems
 
no more troubles about the char
but on the code aove it should form a window right? why is it not compileing
the graphics element was created with bgi
and i was hoping to create and erase atleast 3 times per second


All times are GMT -4. The time now is 9:20 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC