3,892 Posted Topics

Member Avatar for Lynqu2

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, …

Member Avatar for ~s.o.s~
0
164
Member Avatar for tech291083

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 …

Member Avatar for ~s.o.s~
0
709
Member Avatar for dr.it
Member Avatar for TylerSBreton
1
239
Member Avatar for cdwind

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 …

Member Avatar for iamthwee
0
118
Member Avatar for JRM

[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 …

Member Avatar for JRM
0
4K
Member Avatar for lastcraft

Welcome to Daniweb :D You seem to be really famous among the people here...;)

Member Avatar for happygeek
0
132
Member Avatar for Gunda

Hey there buddy, welcome to Daniweb. If you want to post a link feel free to do so in the Geek's Lounge.

Member Avatar for happygeek
0
25
Member Avatar for HelpAUniStudent
Member Avatar for happygeek
0
53
Member Avatar for cdwind

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.

Member Avatar for jwenting
0
144
Member Avatar for WaltP

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

Member Avatar for ~s.o.s~
0
101
Member Avatar for **UM HASSAN**

Something like [URL="http://www.codeproject.com/useritems/UltimatePlayer.asp"]this[/URL] or [URL="http://www.freevbcode.com/ShowCode.asp?ID=1777"]this[/URL] ?

Member Avatar for waynespangler
0
91
Member Avatar for jan1024188

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 …

Member Avatar for jan1024188
0
115
Member Avatar for sosina abraha
Member Avatar for vikonava
0
52
Member Avatar for MeDuZa
Member Avatar for vikonava
0
178
Member Avatar for rallydriv3r
Member Avatar for ~s.o.s~
0
35
Member Avatar for cdwind

Welcome to Daniweb, feel free to ask all the questions you want..:D

Member Avatar for ~s.o.s~
0
18
Member Avatar for jocaz
Member Avatar for ~s.o.s~
0
15
Member Avatar for DynamitMsk

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 …

Member Avatar for ~s.o.s~
0
150
Member Avatar for The Dude

[quote=Ancient Dragon;289909]she looks great! I see everything double like that. [/quote] Bleh..what a thing to say....:twisted:

Member Avatar for The Dude
0
130
Member Avatar for road22

Good to have you here buddy, just head over to the C++ forum and feel free to ask any questions.

Member Avatar for happygeek
0
29
Member Avatar for NettNutt
Member Avatar for happygeek
0
66
Member Avatar for jeff24keegan
Member Avatar for jeff24keegan

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].

Member Avatar for jwenting
0
113
Member Avatar for mytime19

[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].

Member Avatar for John A
0
147
Member Avatar for mytime19

[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. …

Member Avatar for ~s.o.s~
0
130
Member Avatar for roryt

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.

Member Avatar for Ancient Dragon
0
104
Member Avatar for DynamitMsk

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 …

Member Avatar for Salem
0
2K
Member Avatar for himanjim

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 …

Member Avatar for himanjim
0
164
Member Avatar for ndicuh

[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

Member Avatar for ~s.o.s~
0
21
Member Avatar for purple rainx
Member Avatar for nick911e
Member Avatar for whoknows101

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 …

Member Avatar for ~s.o.s~
0
107
Member Avatar for manu124

[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. …

Member Avatar for paradox814
0
161
Member Avatar for green_oasis

[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 …

Member Avatar for ~s.o.s~
0
171
Member Avatar for Junyah

[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 …

Member Avatar for JJ___
0
143
Member Avatar for tech291083

[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 …

Member Avatar for Ancient Dragon
0
250
Member Avatar for solomon grundy

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 ).

Member Avatar for WaltP
0
109
Member Avatar for steevo
Member Avatar for lilfairywren

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..;)

Member Avatar for happygeek
0
108
Member Avatar for danikail

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]

Member Avatar for Dani
0
43
Member Avatar for mattyd

Oh I knew that ... I have already packed my luggage and my flight will leave in about um...a few decades. :D

Member Avatar for 'Stein
0
213
Member Avatar for The Dude
Member Avatar for satya007

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.

Member Avatar for ~s.o.s~
0
20
Member Avatar for remcov
Member Avatar for bassgeek

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

Member Avatar for happygeek
0
175
Member Avatar for Matt Hill

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...

Member Avatar for happygeek
0
82
Member Avatar for stealth
Member Avatar for happygeek
0
61
Member Avatar for zaphod_es

Hi there ZB, welcome to Daniweb. :D And yeah..do stick around and you definately will get something interesting to read..;)

Member Avatar for happygeek
0
35
Member Avatar for connoll

Hey there buddy, welcome to Daniweb. :D And yeah we all wish we could go back in time *Ah I miss all the fun* ;)

Member Avatar for happygeek
0
11
Member Avatar for viskii420
Member Avatar for happygeek
0
19

The End.