15,300 Posted Topics
Wan t to share this with you :) [quote] [URL="http://www.vistahelpforum.com/showthread.php?t=1183"]A brief history of windows:[/URL] WINDOWS FOR WORKGROUPS - A newborn child WINDOWS 3.1 - A 3 year old WINDOWS 95 - A 6 year old know it all, stamping its feet on the ground WINDOWS 98 - Just graduated elementary … | |
Re: get the source code for vangrind and compile it yourself with a windows compiler ??? I don't know how difficult that might be. | |
Just a quick note that I just finished installing a wireless keyboard and mouse, and everything works great right out of the box :) :) All I had to do was turn off my computer, unplug my old monster of keybaord + mouse, plug in a Logitech gadget (some technical … | |
Re: IMO charge rate + expenses (travel/lodge/food) | |
Re: Instead of Sleep() you can use WaitForSingleObjectEx(), which lets you abort the sleep early. | |
Re: How about this one? But this has the danget of writing outside the bounds of the array, so you need to add more checkiing. [code] rows = cols = 0; while( infile >> numbers[rows][cols]) { cols++; if(cols > 7) { cols = 0; rows++; } } [/code] | |
Re: c++ compilers don't know how to compile resource files. Use a resource compiler for that. | |
Re: >>I am not sure how to prevent the padded characters within a string array from printing. Post an example of such a string -- something like this perhaps: [code]" Hello World "[/code] | |
Re: [QUOTE=KMY;642719]Does any one have any recommendations as it certainly works for the limited durations I was aloud. Are there any particular forums which would allow me which have a big active membership. Preferable a Uk based forum Thanks[/QUOTE] Recommentations: DaniWeb is one that fits your description. I looked at your … | |
Re: >>cin >> setw( 20 ) >> toolName; setw() is only for output streams, it does nothing on input streams such as cin. 1) You didn't post the rest of the code so no way to answer that question. My guess is that you may need to clear the '\n' from … | |
Re: [URL="http://forums.msdn.microsoft.com/en-US/vcgeneral/thread/36971526-95f3-4a9f-a601-1843c86332c1"]Read this [/URL]and follow the links Also you might read some of [URL="http://www.google.com/search?hl=en&q=%27The+application+has+failed+to+start+because+its+side-by-side+configuration&btnG=Google+Search"]these google links[/URL] | |
Re: [URL="http://www.google.com/search?hl=en&q=how+to+make+windows+themes"]how to make windows themes[/URL] >>does winapi have a future? i mean is it possible to make entire Yes, and yes. | |
Re: how is chRead declared? What do you expect it to contain? an unsigned char can only hold the integer values between 0 and 255, or the hex values between 0 and 0xff. decimal values can be easily converted to hex. | |
Re: you can't have the same function name in two or more *.cpp files and link them together. >>what should I do pls. Name one of the functions something else. | |
Re: That pointer is used to create a linked list of structures -- each pointer points to another structure in the list. Study linked lists and you will find out how all that works. There are many tutorials available, [URL="http://www.friedspace.com/cprogramming/linkedlists.php"]such as this one[/URL]. | |
Re: dump that old version of basic and get the latest-and-greatest free [URL="http://www.microsoft.com/Express/Download/"]Visual Basic .NET[/URL] | |
Re: 1) departure time, arrival time and landing time should be integers, not floats since they should be entered in YYYMMDDHHMM format. Just entering HHMM is not much value because they could span two or more days, especially if the airplain crosses the international date line. 2) you need to create … | |
Re: [QUOTE=selfhelpebooks;604571]Do what the forum admins do here.. snip url's.[/QUOTE] delete threads and ban spammers. We have mods located all over the world so that DaniWeb gets 24/7 (normally) coverage. And what the mods don't immediately catch there are many regular members who report spam and other problems to the mod … | |
Re: Here is another instance I have seen today where someone posts the same problem on multiple programming web sites. That deminishes the probability you will get the answers you want and increases the probablility that you will get the same or conflicting answers. Also, you posted the description of the … | |
Re: >>Contributor (string Name, double Donation =0.0, gender sex=none, int IDKey=0); >>Jerry = new Contributor(Jerry,500.00,male,1); What you are passing in main() is a pointer to a Conmtributor object (named Jerry). What it wants is a std::string that contains the name of a person, for example put quotes around Jerry in the … | |
Re: ShowFile() is coded incorrectly. This is how to read the file one character at a time. This will only read the first sizeof(s) characters, so if the file consists of more lines it may not read the whole file. [code] memset(s, 0, sizeof(s)); // clear the array of all junk … | |
Re: You could write your own -- [URL="http://www.codeproject.com/KB/edit/ddxfolder.aspx"]like this one[/URL] | |
Re: >>3. Better use tabs \t to adjust columns in all trailing printfs. That can easily screw up the spacing. Better to use printf() correctly, such as [icode] printf("%-10.10s%15d%15d%15d\n", n1, g1, w1, p1); [/icode] The above will insure consistent spacing | |
Re: Yes that will work, and its done like that all the time. >> And is linux and unix the same thing? No. [URL="http://www.google.com/search?hl=en&q=difference+between+linux+and+unix"]click here[/URL] | |
Re: You can not compile the client files by themselves -- see the test project (the third download). The files in that client download are intended to be incorporated into your own project which you want to add the looging feature. >>Do you want to permanently remove the source control bindings … | |
Re: [URL="http://www.daniweb.com/forums/thread134666.html"]click here[/URL] | |
Re: since you did not declare the using clase you will have to declare the namespace in which Func() exists, that is a::Funct() | |
Re: Write the program just a little bit at a time so that you don't get overwhelmed with all those instructions. 1) Start out by creating a structure that holds the information for one passenger. 2) Then create a 2d array of those structures that represents the seats in an airplain. … | |
| |
| |
Re: Here is the output I get [code] Empezar? 4 - si 5 - no [/code] There are quite a few compiler warnings -- conversion from float to int may loose data. And a couple of uninitialized variables are used. | |
Re: In c++ NULL is defined to be 0. There is no general agreement about whether to use NULL or 0 for pointers [quote="Bjarne Stroustrup"] In C++, the definition of NULL is 0, so there is only an aesthetic difference. I prefer to avoid macros, so I use 0. Another problem … | |
Re: 1) are those null-terminated strings? If yes, then the first row in A would be abc, not abcd. 2) I guess C will contain the row number in B that matches the row in A? probably something like this [code] const int maxrows = 15; for(int i = 0; i … | |
Re: line 10: That won't work because the vector is an empty vector. Wait until you get ready to use the iterator before assigning it to begin(). you could code that j loop using an iterator instead of an int counter [code] vector<CObject>::iterator it; for(it = group.begin(); it != group.end(); it++) … | |
Re: What you are learning from that book is the c++ language itself. What you see in the VC++ Forms code is just an implementation of c++. You need to know the c++ concepts before you will understand [b]managed[/b] code programming. And yes, there are books written to teach managed c++, … | |
Re: Read [URL="http://www.codeproject.com/KB/combobox/combobox_tut.aspx"]this short tutorial [/URL]and see if it gives you any hints about your problem. If you have not yet done so already you should join that web site because it has hundreds of MFC programs, tutorials, and free MFC libraries you can use in your own MFC projects. | |
Re: [QUOTE=williamhemswort;654674] [CODE=CPP] char strarray[100]; string str = "Hello"; int arrayLength = str.length(); for (int i = 0; i < arrayLength; i++) strarray[i] = str[i]; [/CODE] [/QUOTE] 1) Don't use [noparse][CODE=CPP] use instead [CODE=CPLUSPLUS][/noparse] 2) The code above contains the same bug as the version previously posted. Q: What is the … | |
Re: You could rewrite it and remove all the MFC stuff, but you might need to buy a book to figure out how to do it because it can get complicated. I don't know if you can write a service program with the Express compiler or not -- never tried it. | |
Re: You should be asking [URL="http://sourceforge.net/forum/forum.php?forum_id=48211"]these people[/URL]. I don't think Dev-C++ knows how to compile the resource files, but there are several free resource compilers available via google. | |
Re: If you have already done the previous parts then you should have vew problems with Task 3 (a). All that is asking you to do is write a function that (1) asks for a member's name, and (2) search the file for that member and display the payment info. parts … | |
Re: Note: This really belongs in web site reviews, but since you posted here I'm going to comment here. aarya: why is freewebschools.com incomplete? I clicked on most of the links and only got "Webpage cannot be found" errors. If you're going to advertise your web sites at least the links … | |
Re: are you trying to do big/little endean swapping? [code] unsigned char buf2[4]; buf2[0] = buf1[2]; buf2[1] = buf1[3]; buf2[2] = buf1[0]; buf2[3] = buf1[1]; unsigned int x = *(unsigned int*)buf2; [/code] | |
Re: It means what it says. Post code because I can't see your monitor. | |
Re: Since that is a c++ program, in introduction() replace all those C printf() statements with c++ cout. You should allow 4-digit year, such as 2008, instead of 1 or 2 digit. Your program has what is commonly known as the Y2K bug. Otherwise, I compiled with VC++ 2008 Express with … | |
Re: [QUOTE=kafil03;500467]hi, i am to planning for a device driver please if u have the info about that please reply me[/QUOTE] Didn't you even bother to read the replies to this thread??? Salem already provided you the links and all you have to do is read them. | |
Re: 1) Yes, but I don't think anyone does because its only a beta compiler 2) No. They are two different compilers. Visual C++ is by Microsoft and Dev-C++ is by Bloodshed | |
Re: which one(s) to use depends on the operating system. MS-Windows uses the win32 api functions, and here is a short introduction [URL="http://www.winprog.org/tutorial/"]tutorial[/URL]. There are several other GUI libraries too, but that tutorial will get you started. |
The End.