Beginners - July 2010

'Bitmap' was not declared in this scope
 
Hello, anyone know what is the header for Bitmap? When i try compile Bitmap myBitmap; i ge...
[16 replies] Last: Thanks a lot Athar. Im able to save the .bmp file now but i still have... (by temporaryavailable)
Game
 
So I have this project and im almost done, I just need help with a string. I have to create a hangm...
[1 reply] : That's done by getline(cin,word); (by Athar)
error using random functions
 
Hello, I am trying to execute the following program and I get an error. The error says that 'main'...
[2 replies] Last: thank you! I'm considering it - this is around the 10 mistake I have ... (by margiesam)
atoi issue, cannot get integer value for a character
 
I am hoping someone can help me. I am reading the book C++ Programming Fundamentals (CyberRookies) ...
[3 replies] Last: Hello PiMaster, Thank you for your response. I tried the program yo... (by margiesam)
by V0idZ3
C++ learning cd/ easier tutorial?
 
Hello cplusplus users. I'd like to start learning c++ programming language. I recently moved into...
[5 replies] Last: The http://www.cplusplus.com/doc/tutorial is great for beginners. It w... (by HooklessFastener)
by Morph
Web Programming with C++
 
Is it possible to do ? If it's possible how ?
[16 replies] Last: The documents are called the help/documentation and Google. Search for... (by Athar)
by ali1
covert between char* to cstring.
 
I have two problem in my app. fstream file; file.open(filePath.GetString()); file.seekp(0, ...
[1 reply] : When you want to read strings, you should use >> operator, std::getlin... (by hamsterman)
Should a static object be dynamically allocated?
 
Example: namespace System { class Context { public: static Context* Create(){return new ...
[1 reply] : If you want to destroy a dynamically allocated object, static or not, ... (by hamsterman)
double to CString with dynamic number of decimal digits
 
string.Format(_T("%5f"), number); I want to convert double-type value to CString, but the probl...
[4 replies] Last: I don't use windows but I don't see why you can't do this: doub... (by Galik)
variable initialization
 
I've a doubt regarding the following syntex. int x(10); what the above line actually do.. d...
[1 reply] : Does the same as int x=10; The above is not an assignment either, it ... (by Athar)
by takure
what are "+=" and "-=" ?
 
can anyone tell me what does "+=" or "-="mean? for example; int main() { int start,end; co...
[1 reply] : See: http://www.cplusplus.com/doc/tutorial/operators/ (by Athar)
New to the forum Math formula issue
 
Hi every one I'm new to this forum and would greatly appreciate some help with a formula. I am cu...
[2 replies] Last: Also, it's supposed to be h*(2*r-3), not h(2*r-3). You can slightly im... (by helios)
by DKB
Mouse Clicking
 
Hey, so I just was making a program that basically makes the mouse click, cause i thought it would b...
[2 replies] Last: GetTickCount() returns the number of milliseconds the program has been... (by helios)
by Reguba
Various Questions
 
Hey there! And so begins my trek into the world of C++! I have become quite fluent in Java and ha...
[7 replies] Last: Depends on whether you want to return dynamic objects that the caller ... (by helios)
Basic Encrypt/Decrypt of file: Having problems when EOF is encountered
 
My program is encrypting a text file that says the following: Two of the most important things in...
[4 replies] Last: Hey thanks a lot ya i didnt realize that. Works perfectly. you the man... (by bradp33)
Exiting a while(cin>>..) loop
 
Hello everyone, I wrote the following code and can“t exit the while(cin>>buf) loop through the comm...
[1 reply] : That operator>>() overload only returns false when the user's input ca... (by helios)
Sorting Two Arrays
 
I am having issues with this program I've been working on. The program is supposed to take a menu i...
[2 replies] Last: Great, thanks for your help. I changed a few things (got rid of the d... (by slg5094)
Passing two vectors into a function??
 
These are the two vectors that hold derived objects from the base classes Alclass and Axclass. ve...
[4 replies] Last: No worries. Thanks. (by AlphaBravo)
by Mreza
currect code, wrong resault.
 
Hi! my name is reza. I write this code: //This program uses switch with char variable. #include...
[1 reply] : Works fine for me... I'm using: Win7 Code::Blocks (IDE) BTW,... (by PiMaster)
Class inside another class
 
Guys, how can I instantiate a class inside another class? I tried the normal way and did not work. ...
[10 replies] Last: Yes!!!!!! It works!!!!!!! Thank you very much!!!!!! (by brazyuri86)
July 2010 Pages: 123... 31
  Archived months: [jun2010] [aug2010]

This is an archived page. To post a new message, go to the current page.