3,892 Posted Topics
Re: To make the output window stay you can make the program wait for the user to press a key, so that you get to see the output of your program. If using C++ you can place [I]cin.get( ) [/I]at the end of your program, before [I]return 0. [/I]If using C, … | |
Re: When you make changes to your code, you need to compile it to generate a recent version of your object file. You are getting the same output even after changing the program since its executing the previous executable. Try compiling the new program and then pressing the execute button. Or … | |
Re: M$ -> Microsoft(MS) with their only motive explained. :D | |
Re: Okay from what I gather, you want your program to look like a real software with all the graphical user interface and all that ? Well the thing is that creating user interfaces is not the thing C++ is best at. Creating GUI applications require a *lot* of code and … ![]() | |
Re: [quote=JRM;290940] I'm sure you eagle -eyed pro's can spot the problem in a New York minute, but I've been straring at this too long![/quote] I don't blame you, since what you encountered is one of the C++ gotchas and not many starters know about it. What you are trying to … | |
Re: Welcome to Daniweb :D You seem to be really famous among the people here...;) | |
Re: Hey there buddy, welcome to Daniweb. If you want to post a link feel free to do so in the Geek's Lounge. | |
Re: You can look [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]here[/URL] for a two good C++ free IDE's. They both are integrated with interactive and graphical debugger which should really go easy on you. | |
Re: Bleh... what you are saying Mr. Iamthwee makes no sense at all. This is a suggestion for providing a new shortcut (like CTRL + B) specific to Daniweb and not a query on his part....After all this is community feedback :D | |
Re: Something like [URL="http://www.codeproject.com/useritems/UltimatePlayer.asp"]this[/URL] or [URL="http://www.freevbcode.com/ShowCode.asp?ID=1777"]this[/URL] ? | |
Re: Few points: [LIST] [*]Don't use [I]void main( ) , [/I]use [I]int main( ) [/I]since main always has and always will return int according to the standards. [*]Don't use old style of header inclusion i.e. the .h notation. Instead use [I]#include <iostream> [/I]followed by [I]using namespace std ;[/I] [*]As far as … | |
Re: Hey there dude, welcome to Daniweb, and yeah Merry Christmas :D | |
| |
Re: When you are doing [I]City* map[200] , [/I]map is an array of 200 pointers to the type City. So in order to access the members of the City struct using its pointers you need to use the -> operator. Here are the two ways you can do it: [code=cplusplus] *map[i].visits … | |
Re: [quote=Ancient Dragon;289909]she looks great! I see everything double like that. [/quote] Bleh..what a thing to say....:twisted: | |
Re: Good to have you here buddy, just head over to the C++ forum and feel free to ask any questions. | |
Re: Hey there buddy, it would be better if you post your question in the correct forum to get quick answers. Which OS are you using ? Windows ? Linux ? You can find the appropriate forum [URL="http://www.daniweb.com/techtalkforums/forum1.html"]here[/URL]. | |
Re: [quote=mytime19;292381][B]i need computer graphics programs written in c..[/B] [B]thanks a lot..:sad: [/B][/quote] You can get started by using API's like [URL="http://msdn.microsoft.com/directx/"]DirectX[/URL] or [URL="http://nehe.gamedev.net/"]OpenGL[/URL]. | |
Re: [quote=Ancient Dragon;292438]>>enterance papers What are these? You mean students in India have to take a test in order to advance to the next grade ?:eek: And why would you want the solutions to some previous year's test? I would think you would want the solution to the next year's test. … | |
Re: Forums like Daniweb, CProgramming etc. and email posts just don't go hand in hand. It beats the very idea of forums. If you love email posts that much you can try suscribing to Google groups wherein you receive the notifications and the post contents through emails. | |
Re: Because when you are reading data from the file, it is read in the form of string and in your case, its C string. The thing about C strings is that other than the characters it holds, it reserves a extra space at the end of the character array for … | |
Re: There is no portable way of changing text color in C. It is highly a compiler dependent or OS dependent feature. If you are using Turbo compiler you can use the console I/O functions cprintf() and cputs() for color output. [code=c] #include <conio.h> int main() { textcolor(BLUE); cprintf("I'm blue."); return … | |
Re: [quote=happygeek;292047]Hi Mathew, happygeek here - 6'2", bald, pale and interesting [/quote] Welcome to Daniweb buddy and for the actual description of Mr. Happygeek just take a look at his avatar.....:P | |
Re: Goto Start -> Run -> sfc /scannow Simple. | |
Re: All your problems are solely related to the [I]findKey( ) [/I]method. You have overloaded the [I]findKey( ) [/I]to work with three different types of parameter sets but using it in wrong manner. See the comments marked in red by me in your code. [code] Key key; // key holds the … | |
Re: [quote=niek_e;291416]This way you would be sure of the fact that the sum of 10 times this statement can never be more then 1.[/quote] ..and neither would the sum be more than 0.7 ;) @manu124: I sure hope you understand the implications of the statement you are trying to put up. … | |
Re: [quote=Narue;291817]The only problem with being right all of the time is that people really let you have it when you make a mistake. [/quote] and the good thing about being err...rough is that they all support you when you don't get it right for the fear you might fly in … | |
Re: [quote=sharky_machine;286706]Indian food: besides Italian, this is my favorite food from a paticular country. Aloo Gobi (sp) with nan bread, chutneys, finished off with rosewater ice cream, perhaps a glass of white wine-- heavenly.[/quote] Yeah Aloo gobi paranthas with bamboo pickle are heavenly( Bet you haven't had this combination :p ).And … | |
Re: [quote=Ancient Dragon;291550]None of the MS-Windows win32 api was written in c++. But some of the other programs and make up the OS may have been, I don't know.[/quote] *Ahem* [quote=Bjarne Stroustrup] Literally everything at Microsoft is built using various flavors of Visual C++ - mostly 6.0 and 7.0 but we … | |
Re: To test whether the matrices are compatible for multiplication, you have to check that the second dimension of the first matrix ( y1 ) is equal to the first dimension of the second matrix ( x1 ). | |
Re: Hello there Sir, welcome to Daniweb..:D We have got a lot of grandpa's around here so you won't be bored by being with the younger generation alone..;) | |
Re: Hey there buddy welcome to Daniweb. You can start catching up some new ideas from [URL="http://www.daniweb.com/techtalkforums/forum61.html"]C# forum.[/URL] | |
Re: Oh I knew that ... I have already packed my luggage and my flight will leave in about um...a few decades. :D | |
Re: Hey there Satya, welcome to Daniweb...:D Maybe you should post your question in the [URL="http://www.daniweb.com/techtalkforums/forum14.html"]Computer Science[/URL] forum to get more help. | |
Re: Hey there Bassgeek welcome to Daniweb... Head over to the spyware section of the forum and you will find many newbies in search of expert advice...:D | |
Re: Hey there Matt welcome to Daniweb...:D Head over to the website development section of the forum for your site and see if you can find the solution to your problem... | |
Re: Hi there ZB, welcome to Daniweb. :D And yeah..do stick around and you definately will get something interesting to read..;) | |
Re: Hey there buddy, welcome to Daniweb. :D And yeah we all wish we could go back in time *Ah I miss all the fun* ;) | |
The End.