- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 2
- Upvoting Members
- 4
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
23 Posted Topics
Re: Dev-C++ uses the MinGW compiler, which can compile both C and C++, so yes, you can program C with Dev-C++. | |
Hello! I have just started learning assembly language, and I have decided to use the NASM assembler. I made a small program, included below, that is supposed to take a number, add 5, and print out the final result. The program correctly prints the prompt, and takes a value, but … | |
Re: You need a database library I would recommend you look into sqlite, it is a great database library. Hope that helps! -tundra010 | |
Re: First of all, change "public static computeAngleC()" to "public static double computeAngleC()" Next, change "int angle" to "double angle" That should fix the errors, then put the parameters through the functions and print the results. BTW, in the main method, you may want to change the int's to double's, so … | |
Re: The reason why the loop will not end is because you have not decremented iResult, so when the computer executes "while (iResult > 0)", it will always evaluate to be true, and therefore keep on running. | |
Re: To make any type of graphics, you will need a graphics library. I recommend SFML (sfml-dev.org), as it is easy to learn and use, but there are many others as well, such as SDL. After you learn how to use the graphics library of your choice, you can write that … | |
Re: Well, you could take a look at the source code of some open source antivirus software, such as ClamWin: [url]http://sourceforge.net/projects/clamwin/[/url] | |
Re: Along with the system() function, you could also try to use the fork() and exec() methods, shown here: [url]http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html[/url] For a GUI toolkit, the big ones are -Qt -GTK+ -WxWidgets There is also FLTK, which is a very powerful GUI toolkit, and it has a less steep learning curve than … | |
Re: [url]http://lmgtfy.com/?q=c%2B%2B+best+compiler+windows+7[/url] | |
Re: You could use the timer in Boost Libriaries: [url]http://www.boost.org/doc/libs/1_43_0/libs/timer/timer.htm[/url] hope that helps | |
![]() | Re: Just add the include statement to the top of the source file, which will use the functions from windows.h : [CODE]#include <windows.h>[/CODE] ![]() |
Hello all As the title suggests, I have tried to write a sorting program in C++ The code compiles right, but does print the sorted numbers, but rather prints a list of zeros. I have tried to find the cause of this error for a while, but I can't seem … | |
Re: Well, you would need regular expressions. There is a regular expressions library in Boost, you can find it here: [url]http://www.boost.org/doc/libs/1_43_0/libs/regex/doc/html/index.html[/url] As for the regular expression itself, see the third post on this site: [url]http://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses[/url] | |
Re: Here is how to fix your problem: 1) Go to [url]http://www.cplusplus.com/doc/tutorial/[/url] 2) Learn C++ 3) Do it yourself | |
Just recently, I have upgraded from gcc 3 to gcc 4.5.0. However, when I try to compile a basic "hello world" example in c++, I get the following warning: Info: resolving std::cout by linking to __imp___ZSt4cout (auto-import) c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: a uto-importing has been activated without --enable-auto-import specified on the c … | |
Hello everyone! I wrote a basic c++ program using classes and pointers. Although it compiles without any errors, it will not run, saying "This program has stopped working". I am assuming that this issue may have been created by a memory leak, but I made sure to delete all dynamically … | |
Re: I think you are confused. C++ is the language, whereas Visual C++ is an ide and compiler suite created by Microsoft, which helps with programming in C++ | |
Re: Depends on your compiler/ide If you are using VC++, go to Project > Properties > Config Properties > Linker. Add libboost_thread-vc90-mt-gd-1_43.lib to the Additional Dependencies list Make sure that you include the directory path, too The same is true for most other ide's, just go to linker settings, and add … | |
Hello everyone I know that one cannot pass a parameter to destructor functions in classes. Is there a reason why this functionality was left out of c++, and is there a way to get around it? Thanks! | |
Re: [url]http://doc.trolltech.com/4.5/dnd.html[/url] [url]http://sector.ynet.sk/qt4-tutorial/dnd.html[/url] [url]http://www.handhelds.org/~zecke/apidocs/qt/dnd.html[/url] | |
Re: here's a website that helped me a lot learning c++(and I'm still learning!): [URL="http://www.cplusplus.com/doc/tutorial/"]http://www.cplusplus.com/doc/tutorial/[/URL] | |
Re: I would recommend the 940, because it is already faster than the 920 and you can overclock the 940 to even faster. Also, you are getting the 940 for a way cheaper than usual price, and that's hard to come by. | |
Hi I have Microsoft Visual C++ 2008 Express Edition and I downloaded fltk from fltk.org. When I tried compiling it, i got many of these errors: LINK : fatal error LNK1181: cannot open input file 'fltk.lib' How do i compile FLTK now? Please help |
The End.