General C++ Programming - November 2011 (Page 8)

Multiple Consoles
 
i wrote a program which copies itself and runs the copy, but it still runs in the same console but i...
[2 replies] Last: A process can have only one console. See MSDN page for AllocConsole().... (by modoran)
Using templates in classes also operator overloading
 
I am trying to add two objects via operator overloading and some sort of runtime error occurs. just ...
[5 replies] Last: @blue coder Thanks for pointing out..... here is the correct way te... (by mahinkhan22)
How to remove identical elements from array of integers
 
array is allocated dynamically., after that i want to re-size the array...
[3 replies] Last: You could use std::vector, rather than an array and std::sort() and st... (by Galik)
How to get the return of opendir in C++
 
How do I read opendir and search the buffer for the string .png what more is required? heres my atte...
[2 replies] Last: Thanks kbw... (by bluecoder)
by rithan
Giving error message when user inputs alphabets
 
Can any1 tell me hw to prevent user from key in alphabets in a calculation program....
[no replies]
by teocl5
Strange phenomenon!
 
I am trying to get a random number that is between 1-10. This is the code that i am using, int r...
[2 replies] Last: Hi Gaminic, Thanks for the prompt reply. I have found the fault. fo... (by teocl5)
bubbleSort
 
We got an error C2664: 'BubbleSort' : cannot convert parameter 1 from 'int' to 'int . Please help. ...
[2 replies] Last: The function BubbleSort is expecting an array/pointer of ints. The arg... (by Gaminic)
std::map, find function does not accept const Key* even though docs and error message seems to say it does
 
When using std::map, find function does not accept const Key* even though docs and error message see...
[9 replies] Last: However, then I think the compiler error message is a bit misleading ... (by kbw)
by agnk33
I need help with a program please.
 
Hello fellow programers. I have written this program and I keep getting back a building error. The e...
[5 replies] Last: Hi , you haven't declared the constructor . (by bluecoder)
by zurn
Words array problem
 
Hi. I have an assignment to grab a text file, read all the words from it, assort them in an arra...
[1 reply] : Well your populate() function in the class is ignoring all punctuation... (by Tatipu)
Tutor needed URGENT !!!
 
Hey!! I need an urgent tutor for 2 questions...Please email me at mastermindisnow@gmail.com ...
[16 replies] Last: You should just ask people to explain them (the parts you don't know) ... (by Tatipu)
Suggestions about my program
 
#include <iostream> #include <string> #include <fstream> #include <vector> #include <windows.h> ...
[10 replies] Last: Im sorry that i'm a beginner, but at least i'm admitting that. Also, ... (by IWishIKnew)
socket programming c++
 
Hi all, I am new here. I am try to make an easy c++ code to manage socket communication in OSX. ...
[4 replies] Last: thank you very much :) (by carambola)
Update Record Random Access
 
Im in a bit of a mess here. I have Every thing Working that i need but for some reason i can not Get...
[3 replies] Last: ok I still stuck in this, When i display the Location of the Array..... (by SliverFoxGB)
How to take Screen shot using C++
 
Hi, I want to take screen shot and save it in any image format like jpg, bmp, ppm or any other . Pl...
[11 replies] Last: For a basic, plain WIN32 example: Capturing an Image http://msdn.micr... (by andywestken)
smooth.cpp
 
lll
[2 replies] Last: tl:dr if you want me to do your homework you'll have to pay seriously,... (by closed account 236Rko23)
HELP dont understand why it not working
 
in this program we have to make a kill function that kill to the right using a link list and a skip ...
[2 replies] Last: if you could add some comments explaining what each function does, bec... (by closed account 236Rko23)
How to compile a C++ code through another C++ code
 
Hi, i want to compile a .cpp file(suppose Test.cpp ) living in an other C++ file ( Pro.cpp ), mea...
[11 replies] Last: u mean to compile a piece of code , that is inside another c++ file as... (by closed account 236Rko23)
classes
 
hi, i want to make sure that no more than one object of a class should be constructed please help me
[5 replies] Last: user of your programm should not be abe to make more than one object? (by HAFIZ MUJADID)
Pure virtual function call
 
I need help to overcome this problem: Window base class class Window { protected: ... ...
[4 replies] Last: Thats it. Thanks. (by morando)
November 2011 Pages: 1... 678910... 47
  Archived months: [oct2011] [dec2011]

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