15,300 Posted Topics
Re: There's no such thing as an integer with only 2 bits -- maybe you mean bytes instead of bits. The number of bytes in an integer depends on what computer hardware architecture and compiler you are using -- c and c++ language do not specify how many bytes are in … | |
Re: Until web becomes 100% secure I don't see many people and companies relying entirely on it. It's difficult to believe companies will give up their company secrets to use web-based programs. Yes there is room for web-based programs, but there is also going to be a lot of PC desktop … | |
Yesterday I crashed my Windows 7 when I attempted to install debian in another partition. Today I reinstalled Windows 7 by repartitioning and reformatting the hard drive. After reinstalling Chrome I noticed it retained all my previous bookmarks and settinbs. How can that be? Does Chrome keep that somewhere in … | |
Re: I just installed SharpDevelop. It looks almost identical to Visual Studio IDE. | |
Re: Check if the computer has .NET Framework 4.0 installed. | |
Re: See [this thread](http://www.daniweb.com/software-development/cpp/threads/357334/how-to-play-a-video-in-cc-program) | |
Re: IE6 is very old -- it may not know how to display the page. What version of MS-Windows is your computer running? | |
Re: I will do your homework for you after you deposit $10,000.00 USD in my PayPal account. | |
Re: Probably just bug fixes. | |
Re: You mean the icon in the taskbar when the application is running? Why would you even be concerned about that? An MFC application has a dialog or window that is visible to the user then why not the icon in the task bar? | |
Re: You don't need permission from web sites to post reviews, if you did then no one would be able to give bad reviews. I don't know about Google Adsense. | |
Re: You have an array of 10, but the loop counter only counts to 4. Any reason for that? >here's what I wrote but it's not working.. what's not working? It should print something on the screen every time you enter a number that is greater than any previous number entered. … | |
I installed WampServer on my Windows 7 Ultilate computer the other day and WordPress yesterday. I attempted to test WP registration in my web site but I never received the registration confirmation email. Is this not possible on localhost? If it is how do I go about getting email to … | |
Re: >Write a program that defines an array of integers `int a[5];` > and a pointer to an integer `int *ptr;` >Make the pointer point to the beginning of the array. `ptr = &a[0];` Now you should be able to finish the rest. Hint: to move the pointer to the next … | |
Re: One way might be to use the % (mod) operator in the loop (function Calculate returns the result of the calculation 1/M!XM int M = 5; // some value int Result = 1 - X; for(int i = 1; i <= M; i++) { if( (i%2) == 0) Result += … | |
Re: >the place where i have read this said that this is wrong Then you read the wrong article -- see the example [here](http://www.cplusplus.com/reference/cstdarg/va_arg/) | |
Re: argv parameter of main is a good and common example of a double pointer -- it is a two dimensional array of strings. It can be coded in two ways and the use of the argv is identical in both version. [code=c] int main( int argc, char **argv) { // … | |
Re: You might also check the documentation for the specific compiler you want to use, for example if you use Microsoft Visual Studio then read [this article](http://msdn.microsoft.com/en-us/library/3sxhs2ty(v=vs.80).aspx). I'm sure GCC has a similar page. | |
Re: The reason for waiting until the array is filled before sorting is because your idea is just too slow. First you have to find the spot where to insert the new value, then move all data from that place to the end of the array. This is acceptable if there … | |
Re: Visual Studio 2012 produces warning that it is a non-standard extension. The solution is to make it a pointer. | |
Re: I am running 64-bit Windows 7 and McAfee with no such Action Center messages. I also have a custom-built PC. | |
Re: Yes, I think the output will be different on \*nix then it is on MS-Windows. Have you tested it on both systems? | |
Re: you could just call strcpy() to copy the contents of s2 into s1. Replace lines 21, 22 and 23 with this one line, unless of course your teacher said you can't use strcpy() `strcpy(s1+p, s2);` | |
Re: Your program is incomplete. See the database section (Chapter 13) of [this tutorial](http://www.homeandlearn.co.uk/net/vbNet.html) | |
Re: Have you accomplished anything since you posted that question? If you have please post updated code so that we aren't looking at old obsolete code that bugs you have already fixed. | |
Re: You have to use a recursive function. I've written a code snippet that does exactly that for both [MS-Window](http://www.daniweb.com/software-development/cpp/code/216612/transversion-system-directories)s and [\*nix](http://www.daniweb.com/software-development/cpp/code/216812/searching-linux-directories). Or if you want to go a more portable way then use [boost library](http://www.boost.org/doc/libs/1_53_0/libs/filesystem/doc/index.htm). | |
![]() | Re: Conrol Manager --> Administrative Tasks --> Computer Management -->Disk Management. There you will see your hard drive(s) and partitions. Dis you install Windows 8 in a separate partition? That would make it a lot easier to remove it. ![]() |
Re: Is there a reason you want to use that library instead of just standard C FILE\* functions? If all you want to do is write it to a file then just standard C library fwrite(), then fread() to read it back. You won't get more efficient then that. But if … | |
Re: > instance of the class' member function is required to call the non-static member function Maybe I misinterpreted that, non-static member functions can call both static and non-static member functions. Static member functions can only call other static member functions and use static class data. ![]() | |
Re: you can download [URL="http://www.azalea.com/BarcodeFonts.html?gclid=CPuJkZzxw4gCFRorWAod0E4PKQ"]barcode fonts[/URL] for MS-Windows | |
Re: Depends on what you want to use it for. If all you want is a computer to browse the internet and get email then it doesn't really matter what computer you have. If you want to play high-end games then you need a computer with a lot of horsepower. I … | |
Re: >We would like to run a vbulletin forum on that site as well. I would suggest not -- vBulletin forums are heavily spammed and you will spend 3/4 your time removing spam. But if you really want to go that route I have a vBulletin license I'm not using any … | |
Re: jump is a macro which is defined to be the name of a register -- you can use register names as labels. Suggest you just delete lines 3 and 4. lines 8 and 9 should appear after lines 10 and 11. The way they appear now lines 8 and 9 … | |
Re: how to do that will depend on the compiler you are using. A Turbo C++ compiler code will not be the same as Visual Studio 2012 or Code::Blocks code. [Here](http://electrosofts.com/cgraphics/) is a nice beginner's tutorial for Turbo C | |
Re: why? Is there also a Cloud based compiler to go along with that Cloud based editor? Why not just use the editors that already exist on your PC? [edit]I just read about it in the link you provided. It might be ok for web programming (HTML, java, etc) languages which … | |
Re: try this (I don't know if it will work or not): `time > time.out | wc > wc.out` | |
Re: I just checked at PFO and I don't see you in the moderation queue. It's highly possible I deleted your account thinking it was spam -- almost all new registrations at PFO are spammers. Register again and I'll make sure that doesn't happen again. | |
Re: Is the database going to be on a LAN? If yes, then your job is quite easy -- there is not much difference connecting to a databse on a LAN then there is connecting to the database on the local computer. Just put the server's IP address in the connection … | |
Re: What's the purpose of that function, why do you need to convert the int to a string? In c++ you can use stringstream to make the conversion #include <string> #include <sstream> using namespace std; std::string foo() { int i = 20; string n; stringstream str(i); str >> n; return n; … | |
Re: According to Sams, it will only take 24 hours, see [Sams Teach Yourself Java in 24 Hours](http://www.amazon.com/Teach-Yourself-Covering-Android-Edition/dp/0672335751). ![]() | |
Re: [Here](http://www.winprog.org/tutorial/) is a very popular tutorial. But it's much easier to write GUI programs in C# or VB.NET ![]() | |
Re: What in the world are you talking about??? | |
Re: One way is to call ReadLine() then convert the String to int using `Convert::ToInt(str)` | |
Re: >Can it be possible to give the header file windows.h in turbo c No -- turbo C compiler is too old. It is an ancient compiler that pre-dates MS-Windows and only uses ancient MS-DOS operating system. You need to get a more modern compiler such as free Visual Studio 2012 … | |
Re: [Here](http://www.easysoft.com/developer/languages/c/odbc_tutorial.html) is an odbc tutorial. BTW what compiler and operating system are you using? | |
Re: They are properties of the main form. For example look in properties for MinimizeBox and set it to either True or False. Change ControlBox property then see what happens to your program. | |
Re: Declare it like this and it will work because the compiler copies each of the fruits into it's own 10-byte buffer that can be overwritten. `char fruites[5][10] = {"apple", "banana", "orange", "apricot", "pineapple"};` | |
Re: use a modern compiler such as free Visual Studio 2012 or Code::Blocks with MinGW and you can easily do what you want. Turbo C++ is just too old to be able to do modern graphics objects. It's a nice compiler for universities to teach intro programming classes but not much … | |
Re: [I found this](http://vitaly_filatov.tripod.com/ng/asm/asm_000.31.html) |
The End.