Forum: C Oct 10th, 2006 |
| Replies: 3 Views: 1,206 x is not declared as a variable anywhere that I can see. this should give a complier error.
Also, your while statement is terminated by a semicolon. This would work for do-while statement but not... |
Forum: C++ Aug 10th, 2006 |
| Replies: 2 Views: 1,079 Here is a link:
http://msdn.microsoft.com/visualc/vctoolkit2003/ |
Forum: C++ Jul 29th, 2006 |
| Replies: 7 Views: 2,277 Remember also that now you are competing in a global market. If you go into computer science with an eye to writing programs as your only job, you will be competing with many other (offshore)... |
Forum: C++ Jul 24th, 2005 |
| Replies: 4 Views: 2,667 If you are using Visual C++, MFC has a class called CRecordSet (there are variants of this, as well) that handle all the I/O for you. In my experience, they work very well. In fact , your app won't... |
Forum: C++ Jul 24th, 2005 |
| Replies: 4 Views: 2,667 If you use Visual C++, you can use the CRecordSet (and its variants) to do all the file handling for you. It works very well (in my experience) and will save automatically thru the database... |
Forum: C++ Mar 17th, 2005 |
| Replies: 3 Views: 12,629 Do you have a variable of type control? In other words, it would be a variable defined something like as CComboBox m_Box. If you have a vaiable like this, you can use AddString. That would look... |
Forum: C Feb 17th, 2005 |
| Replies: 2 Views: 2,452 Try compiling it in Rlease mode. It should'nt look for the DLL then. |
Forum: C++ Feb 17th, 2005 |
| Replies: 3 Views: 4,833 You can also use the function FileDelete("path"). "path" is a string containing the filename. This fxn also supports wildcards if you are not sure of the file's extension. |
Forum: C++ Feb 7th, 2005 |
| Replies: 5 Views: 4,187 If you are allowed to use MSVC++, the application wizard will write the program for you. |
Forum: C Feb 7th, 2005 |
| Replies: 5 Views: 2,317 Google for Ballistics Game Programming. |
Forum: C++ Jan 25th, 2005 |
| Replies: 9 Views: 2,198 if (alt == 10.000); is incorrect (as far as logic).
I usually use Visual C++ 6.0 but had Dev C++ handy, it gives the following error:
[Linker error] undefined reference to `get_fuel(int&, int&,... |
Forum: C++ Dec 20th, 2004 |
| Replies: 4 Views: 4,244 Use CreateProcess function for 32 bit applications |
Forum: C++ Dec 20th, 2004 |
| Replies: 3 Views: 2,772 If you don't mind using the old FILE structure, you can print by using:
FILE *fp;
fp = fopen(prn, w);
fprintf(prn, "%s", charstr); |
Forum: C++ Dec 15th, 2004 |
| Replies: 5 Views: 1,949 Go to www.codeguru.com and search for this topic. they have an example there. |
Forum: C++ Dec 6th, 2004 |
| Replies: 2 Views: 1,425 You can go into mesage handlers and add a function for WM_INITIALUPDATE. If you click on this, it will probably show that the OnInitialUpdate fxn is there but not shown in ClassWizard yet.
If you... |