15,300 Posted Topics

Member Avatar for christina>you

I usually visit relatives. Went to Branson Missouri one year and enjoyed all the country & western music.

Member Avatar for sk8ndestroy14
1
209
Member Avatar for meiyantao

[QUOTE=meiyantao;381180] As you know,it's impossible to study C++ well without English. Thanks ^_^[/QUOTE] Probably because English has become the universal language of business. Anyone who needs to conduct business in todays global world needs to know English. And the English you posted looks great to me. :)

Member Avatar for WolfPack
0
174
Member Avatar for peter_budo

>>Can Dani or her team member answer my question so we can close this? HappyGeek already did in his post immediately following yours. >>And what I see after few posts? Some of the members starting flaming war between them ! ! ! I agree, and they are walking on thin …

Member Avatar for WolfPack
0
249
Member Avatar for jbennet

[QUOTE=Serunson;380153]What they going to war with light sabres? now that will be fun! I cut u with light! ~ jumping while using a mystic power. Oh wait it's all done with green screens ~ boo[/QUOTE] Don't laugh too hard -- many objects of science finction have become reality. The communicators …

Member Avatar for jbennet
0
636
Member Avatar for christina>you
Member Avatar for jbennet
0
1K
Member Avatar for christina>you

None of those certifications are worth the paper they are written on because people can just read the book and pass the tests with no experience. That makes the certifications worthless. Experience is what really counts.

Member Avatar for christina>you
0
806
Member Avatar for jaepi

I don't know how to use it but it is definitely not c++ language related (that is, it is not part of the c++ language). It is just a method of communicating with scsi drives, as short of explained [URL="http://support.microsoft.com/kb/251369"]here.[/URL].

Member Avatar for jaepi
0
162
Member Avatar for MrMan2787

char data type is a small int whose value is between -126 and 127. So do do what you want just loop through the array and add 1 to the char value. [code] char str[] = "Hi blah blah"; // add 1 to the first character, syntax is idental to …

Member Avatar for Ancient Dragon
0
104
Member Avatar for Matt Tacular

you will want to create an array, or vector, of strings. [code] vector<string> names; <snip> for(unsigned int i=0 ; i<numOfPlayers ; i++) { string name; cout << "Enter name #" << i << "\n"; getline(name, cin); names.push_back(name); } [/code] >>how could I access each one individually? From the above vector: …

Member Avatar for Ancient Dragon
0
104
Member Avatar for jaepi

Its just another way of initializing variables -- those could have just as easily been coded like this: [code] CDriveControl::CDriveControl() { m_pPort = NULL; m_pSPTIDriver = NULL; m_bInitFlag = NULL; m_onlycomp = NULL; } [/code]

Member Avatar for jaepi
0
304
Member Avatar for Daco

line 6 does nothing -- delete it. >>problem is that CButton needs to be a const char No, it needs to be const wchar_t* because you are calling the UNICODE version of ShellExecute. You will have to convert c_str() to wchar_t* which requires another function to make that conversion.

Member Avatar for Daco
0
153
Member Avatar for kinggarden

Attempting to debug a WinCE program is really a huge bummer! What compiler are you using? Microsoft has made it a lot easier with VC++ 2005 Pro compier. The only way to do it with previous versions is put message boxes all over the place to display values of variables …

Member Avatar for kinggarden
0
128
Member Avatar for Eko

[QUOTE=Eko;381580].I understood C++ pretty well ,.[/QUOTE] I hope you are smart enough to realize the coding style of the code you posted is just awful. [URL="http://geosoft.no/development/cppstyle.html"] Here[/URL] are some tips, although they should not be read as if they are written in stone. Pay attention to the indention, placement of …

Member Avatar for Narue
0
130
Member Avatar for mike.mclennan

[QUOTE=Sturm;377673] Mac: Treats you like a moron. Too many graphical effects. [/quote] That's enough to convince me -- I'm buying a Mac tomorrow! :) [QUOTE=Sturm;377673] Not fully open source.[/quote] I could care less -- I don't want to read or change the source code. [QUOTE=Sturm;377673] Windows: Everyone uses it. Not …

Member Avatar for joshSCH
0
427
Member Avatar for Ancient Dragon

is there any difference between [ code=c ] and [ code=cplusplus ] ? I don't see the difference except, of course, the title. If no other difference why do we need both of them ?

Member Avatar for John A
0
150
Member Avatar for fahima.s

CCeSocket sucks cannel water! Use normal winsock socket functions, just as you would on in a pc program.

Member Avatar for jbennet
0
37
Member Avatar for sundar divas

what's happening is called stack overflow. Each recursive call required a little more stack space (or a lot more depending on how you wrote the function). Try to figure out how much stack space the function needs, add about 8 bytes for return address then multiply that by 22460. That …

Member Avatar for vijayan121
0
105
Member Avatar for joshSCH

[QUOTE=cscgal;381224]The ability to unsubscribe from within the thread page was removed because it requires a large table scan on each thread load to check whether you are subscribed to the thread or not ... and the percentage of users actually unsubscribing via thread pages is minimal compared to the overhead …

Member Avatar for Ancient Dragon
0
134
Member Avatar for Jishnu

appears to be buffer overrun -- since you decided to start a whole new thread I can't see what you previously posted, and I'm too lazy to look. you need to post your code in THIS thread and not expect anyone to look in other threads for it.

Member Avatar for Ancient Dragon
0
95
Member Avatar for Covinus

dllexport can only be used in DLL, so I suspect your release version thinks it is compiling for a DLL. Check the properties for debug and release to see if something is defined in debug that is not in release, or vice versa. Sounds like the release version contains an …

Member Avatar for Ancient Dragon
0
486
Member Avatar for complete

Anothere difference: defines can be changed but const can not. Anywhere in your program you can redefine X to be anything you want, including a string. You can not do that with a const int.

Member Avatar for vijayan121
0
121
Member Avatar for Sir_BigOne

don't attempt to jump ahead of what you know now, which seems to be nothing at all. Start at the beginng and work your way up. Some of the code and algorithms you will encounter may seem to be trivel or not relevent, but it really is. The Hello World …

Member Avatar for Covinus
0
99
Member Avatar for Kenya19

[URL="http://en.wikipedia.org/wiki/Computer_network"]Computer networking[/URL] -- allowing two or more computers to talk to each other via serial ports or ethernet cables. [URL="http://en.wikipedia.org/wiki/Computer_science"]Computer Science[/URL]: the study of computers and how they relate to people. That's a terribly broad description because there are many many specializations you can study.

Member Avatar for stymiee
1
319
Member Avatar for EnderX

[QUOTE=Aia;376330] Sorry, the proper c tagging is not working at this time. [/QUOTE] would you please explain what you mean by that? you can use [ code=c ] if you want to see line numbers, but I assume you already know that. If something is broken maybe you should start …

Member Avatar for Aia
0
156
Member Avatar for Jishnu

>>float **a; that is the declaration of a 2-dimensional array of floats. Somewhat similar to this when both dimensions are known: [inlinecode]float a[2][5][/inlinecode] Before allocating memory for the second dimension (5 in the above dimension) you have to allocate memory for the first (2 in the above example) Line 18 …

Member Avatar for Salem
0
72
Member Avatar for MrMan2787

Enter the data as a string or get them from the keyboard one character at a time and check each character. You can use the macro isdigit() for that purpose.

Member Avatar for Ancient Dragon
0
180
Member Avatar for wujianwei

first, create an vector of all [URL="http://simple.wikipedia.org/wiki/Preposition"]prepositions[/URL]. (I don't know if that is a complete list, but it is a good start) Then read the file one word at a time and search the vector created above for the word. If the word read from the file is found in …

Member Avatar for Ancient Dragon
0
119
Member Avatar for Asif_NSU
Member Avatar for lasher511
0
128
Member Avatar for Siva_sbj

I never tried it but you might search MSDN for LoadIcon() and related functions. LoadIcon() loads the icon from a resource file which is attached to the .exe program by the linker so I think you will need to write an MS-Windows program to accomplish that. But there are other …

Member Avatar for Ancient Dragon
0
75
Member Avatar for cinger

Oh! I see you are spamming all the programming web sites with this question :@ I've already seen the answer on another site so won't bother with an answer here.

Member Avatar for Ancient Dragon
0
46
Member Avatar for dotcom123

>>Please correct my source code. Impossible for us because we don't have the hardware and there is nothing in the code you posted that indicates any obvious coding flaws. You need to learn to use a debugger and step through the code so that you can see what it is …

Member Avatar for dotcom123
0
124
Member Avatar for gajmp

[URL="http://www.google.com/search?hl=en&q=font+editor"]Google is your friend [/URL]-- al you need is a font editor and you can create all the fonts (or even edit existing ones)

Member Avatar for John A
0
81
Member Avatar for complete

I have the latest Platform SDK. I created an MFC mdi program using VC++ 6.0 so that it will generate the include files needed in stdafx.h then copied those into the stdafx.h that was generated by the VC++ 2005 Express. It compiles ok but will not link because it can …

Member Avatar for Ancient Dragon
0
168
Member Avatar for tunday

>>NB: I'm sorry if I haven't followed all the forum's posting rules. It's my first time and I've done it to the best of my understanding You did ok -- at least you tried which is more than many do. :) I'm not able to help you out because I …

Member Avatar for Ancient Dragon
0
164
Member Avatar for adr1

you need to write a win32 program that hooks into the keyboard. See [URL="http://msdn2.microsoft.com/en-us/library/ms644990.aspx"]SetWindowsHookEx[/URL] function in MSDN

Member Avatar for jbennet
0
125
Member Avatar for srinath.sec

And it gets a little more complicated because there are *nix compilers that have been ported to MS-Windows os, and consequently still use *.a library extensions. Dev-C++ is one such compiler. So for libraries the extension depends on the compiler.

Member Avatar for dwks
0
96
Member Avatar for alienlinux

Sometimes I mark them solved if the OP clearly indicates he has received the help he was looking for. Otherwise I let it go because I don't know if its solved or not. And I don't normally bother to read threads that have not had any posts for over a …

Member Avatar for MidiMagic
0
139
Member Avatar for parthiban

The result does not have decimals because 9 and 5 are both integers and 9/5 returns an integer. you are typcasting the result of the division which is 1 to a float. Read Salem's example for the correct way to do what you are attempting, unless you want to get …

Member Avatar for parthiban
0
127
Member Avatar for quintoncoert

the parameters to main() can be in one of two forms [code] int main(int argc, char **argv) { } or int main(int argc, char *argv[]) { } [/code] Both the above are identical and access individual arguments the same way. Convert the third argument like this (recall argv[0] is the …

Member Avatar for vijayan121
0
147
Member Avatar for imrickyduh

Also once in college you might be able to shorten your time there by taking bypass tests to get credit for the material you already know. No point in being bored in class listening to elementry stuff you have already studied.

Member Avatar for mariocatch
0
168
Member Avatar for silveto_smiley

A common problem is to write a class called Animal and use it to derive two more classes called Cat and Dog. class Animal has a pure virtual method called Speak that is implemented in Cat and Dog to either meow or bark.

Member Avatar for mariocatch
0
107
Member Avatar for arjunsasidharan

I recall watching an episode of "[URL="http://dsc.discovery.com/fansites/mythbusters/mythbusters.html"]Myth Busters[/URL]" awhile back where they attempted to prove or disprove the myth about cell phones causing gas stations to blow up. They made many attempts and all failed.

Member Avatar for dcc
0
122
Member Avatar for jaepi
Member Avatar for jaepi
0
212
Member Avatar for sk8ndestroy14

Illegal -- probably not. But it depends on the policy of the company (Best Buy in your example). I'm pretty certain they will put a stop to that real quick if and when they find out about it. Its not worth it to lose your job over a few quick …

Member Avatar for sk8ndestroy14
0
115
Member Avatar for jlb_2_99

my guess is that the '\n' (<enter> ) needs to be flushed out of the keyboard after entering a number. you can use getchar() to do that. Example: call getchar() after line 20 to remove the '\n' from the keyboard buffer.

Member Avatar for ~s.o.s~
0
94
Member Avatar for rapperhuj

Wasn't difficult to find -- [URL="http://www.google.com/search?hl=en&q=wxgtk&btnG=Search"]get it here[/URL]

Member Avatar for richsewell
0
78
Member Avatar for sk8ndestroy14

me -- I'm just too lazy to answer them. Almost didn't answer this one either for the same reason. :)

Member Avatar for sk8ndestroy14
0
111
Member Avatar for The Dude
Member Avatar for joshSCH

I can no longer see any of the mod threads in Coffee House. Also lost my mod status :(

Member Avatar for Dani
0
817
Member Avatar for MAI&

maybe a dumb question, but why use putback() at all? Why not just use the seek functions to move the file pointer to where-ever you want it? I would suspect putback() just calls seek to move the file pointer back one char in the buffer.

Member Avatar for MAI&
0
143

The End.