Friday, July 31, 2009

C++ error, Please Help!!!!!?

i got this error in C++ 'Terminal bash'. what does it mean, how did it come and how can i fix it?





Also, do you know any good GUI tutorial website?

C++ error, Please Help!!!!!?
If you happen to be using a Linux environment, bash is your command shell and it is telling you it doesn't know how to interpret the command you issued. Check the path to the directory and the existence of the file or link, if you are indeed using Linux of some flavor. I hope this will help you find your problem.


Any similarity BTN Java languages? & C++ Languages?

Does all Java languages use the same commands? and


Does all c++ languages use the same commands?


Where can Find free really good VB.NET tutorial?

Any similarity BTN Java languages? %26amp; C++ Languages?
Firstly there's only one java language, which is written with several interfaces, but the java compiler is the same.


The syntax in Java is pretty much the same as in C++. The only thing is that Java is fully object oriented while C++ is only partially. Which means that if you write Java code, you have to declare classes, while C++ can run C codes which aren't object orinted, so you can write programs without classes. For VB tutorials try:


http://www.programmingtutorials.com/vbne...
Reply:no similarity. nowhere.

daylily

Does anybody know of a good website to learn C++ or C Computer Language?

I've been trying to learn Python, but I haven't had any luck. So I decided to try to learn C or C++. Does anyone know where I can learn it or where there is a good tutorial? Also, should I learn Python before the others?

Does anybody know of a good website to learn C++ or C Computer Language?
C++ or C? They are two different languages. You may want to pick one first. I’ll give you a general site that’s pretty useful: http://cprogramming.com , but the real way to learn C++ is through books. There’s a lot of bad learning resources out there (incorrect, obsolete, etc.) and you want to make sure you learn C++ correctly. If you pick C++ by any chance, get the books Accelerated C++ (by Koenig) and C++ Primer (by Stanley Lippman).





%26gt; I've been trying to learn Python, but I haven't had any luck.


When you didn’t understand something, did you take the time to Google it?





%26gt; Also, should I learn Python before the others?


If you can’t learn Python, you probably won’t get very far with C++ or C. Python is considered a very easy language to learn, while C++ is considered very difficult.





Edit 1:


%26gt; I was actually just wondering if Python must be learned first.


No. I would recommend starting with Python first though.
Reply:No, you don' have to learn Python first. I don't think learning C or C++ will be much easier though, so ultimately which one you learn first is up to you.





I'm linking a website that has C++ tutorials.
Reply:C++ tutorial = http://www.cplusplus.com/doc/tutorial/





Python tutorial = http://docs.python.org/tut/


Help please on microsoft visual c++ express edition 2008?

well this is really annoying me im trying to do a tutorial i downloded (the game creators) but i go to debug and it says this: c:\program files\the game creators\dark gdk\include\darksdkcamera.h(16) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory


Build log was saved at "file://c:\Documents and Settings\dan\My Documents\Visual Studio 2008\Projects\Dark GDK - Game1\Dark GDK - Game1\Debug\BuildLog.htm"


Dark GDK - Game1 - 1 error(s), 0 warning(s)


========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== any help would be good thanks

Help please on microsoft visual c++ express edition 2008?
d3dx9.h is part of the DirectX 9 SDK, you need to download and install it from the Microsoft DirectX site (see the link below). Make sure you download the SDK and not the runtime version.





***UPDATED***





Seriously, that's the problem...I'm a professional game developer, I have to include this file in all of my 3D applications. The d3dx9.h file is in the DirectX 9 include directory, if you have already installed the DirectX 9 SDK then you haven't added that directory to the list of directories that Visual Studio searches for its include files, you can do that in the options page. Alternatively you can add it to the project settings, although that's not as good an option because you'll have to do that for *all* projects you download that include it.
Reply:The video has an issue in step3. Look at the instructions at http://msdn.microsoft.com/vstudio/expres... and specifically step 3 to set the include path.


Fatal Error C1083


Error Message


Cannot open filetype file: 'file': message


To fix by checking the following possible causes


File does not exist.


File, subdirectory, or disk is read-only.


No access permission for file or directory.


Not enough file handles. Close some applications and recompile.


The INCLUDE environment variable is set incorrectly.


An #include directive uses double quotation marks around a path specification, which causes the standard directories to be skipped.


You did not specify /clr and your program uses CLR constructs.


You attempted to compile a single file in the project without first compiling stdafx.cpp. Before you can compile a single file in the project, you need to compile stdafx.cpp. In the case of the /analyze (Enterprise Code Analysis) compiler option, you will need to use the same /analyze setting for stdafx.cpp that you use for the .cpp file.


the following sample generates C1083:





Copy Code


// C1083.cpp


// compile with: /c


#include "test.h" // C1083 test.h does not exist


#include "stdio.h" // OK








Hope this helps!


ctc


C++ beginner problem!?

hey everyone, im starting out C++ programming using Visual c++ 2008.


I have done the whole hello world file. The problem is when i press start debugging (i.e. play) the prompt comes up for like less than second! Its weird, they said the prompt should come up in the tutorial but i never get a chance to see anything?


Any help?


Appreciate it:)

C++ beginner problem!?
Either set a breakpoint on the last line of your main() function, or add something like this to the end:





std::string x;


std::cin%26gt;%26gt;x;





That'll pause the program until you type something and press Return.
Reply:that isn't supposed to happen but you can make an infiite loop if you need to keep the prompt there.





like:


boolean foo;


do{


foo = true;


} while (foo == true);
Reply:If you are using Visual C++ (express?) 2008, it should stay up until you "Press any key to continue". Try pressing Ctrl + F5 instead. It runs AND compiles it. If that doesnt work, try adding system("pause"); after your cout%26lt;%26lt;"hello world"; statement.
Reply:Attempting to read anything from stdin should keep your dialog up.


Suggestions for C++ development libraries?

I'v been looking for quite a while now, and have found many different types of SDK's (software development kits). The trouble is, that their is to many to pick from and related resorces such as tutorials and instalation guides are difficult to find. Can anyone suggest a SDK that allow C++ programs to be executed without using the .NET framework and an abundent sorce of tutorials ect.... I'm using MS Visual C++ 2005 at the mom, if thats any help. thanxs

Suggestions for C++ development libraries?
You can always write C++ programs that don't use the .NET framework. In Visual Studio, select "Win32 application" or "Win32 Console Application" rather than some flavor of managed code to write a traditional compiled program.





SDKs exist to allow you to do a particular task easily. For instance, if I'm writing a game for, say, a mobile computing device there are some great SDKs that make that job a LOT easier. Most SDKs have tutorials associated with them. But you are never REQUIRED to use an SDK; you could, in principle, do everything in vanilla C if you want. No tutorials for that but there are plenty of programming books for C and C++.

flamingo plant

Microsoft Visual C++ Error C2447?

Microsoft Visual C++ error c2447?





I had decided i wanted to learn C++ so i downloaded microsoft visual C++ express 2008 and tried doing a simple "Hello World!" project.I got it to run once but now it wont run i keep getting error C2447: missing function header (old-style formal list?)





this is the code


#include %26lt;iostream%26gt;


using namespace std;





int main();


{


cout %26lt;%26lt;"Hello World!\n";


return 0;


}





it is not just this project even when i tried copying the exact code used in a microsoft tutorial it gave me the same error





Hope some can help


Thanks


=]™

Microsoft Visual C++ Error C2447?
I am conversant with earlier versions of Visual C++ and am sure they would run if you removed the semicolon after the function main(). All the best!
Reply:Your code is incorrect and the program can't read it. That's why your getting the error message. I don't know much about C++ but there is a book I used once and it was very helpful called "C++ for Dummies" don't let the word dummies trick you it has lots of information and will assit you. Good Luck