Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #20.4K
Ranked #3K
~6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for FEC

Hi am trying to write a program and its giving me this error "cannot instantiate abstract class", can someone help me please? this is the code: Header: [CODE]#ifndef ABSTRACTGEOMETRICOBJECT_H #define ABSTRACTGEOMETRICOBJECT_H #include <string> using namespace std; class GeometricObject { public: GeometricObject(); GeometricObject(string color, bool filled); public: string getColor(); void setColor(string …

Member Avatar for Kanoisa
-1
376
Member Avatar for sansalama

Hi all I have a program, which I can do and in that program the user can enter information if he had missed to enter it in the required field and he must to be informed about this option. [CODE]//verification of the PIN Edit6->Text = ""; int digits[10]; AnsiString egn …

Member Avatar for adityatandon
0
119
Member Avatar for kankaortiz

how would i stop a user from entering a letter when they should be entering a number? [CODE]#include <iostream> #include <cstdlib> #include <cstdio> #include <cstring> usin namespace std; int main(int nNumberofArgs, char* pszArgs[]) { char nAns; do{ int nPly1; int nPly2; int nPly3; int nPly4; int nPly5; int nPly6; int …

Member Avatar for adityatandon
0
5K
Member Avatar for vignesh viki

i need to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether the argument is …

Member Avatar for L7Sqr
0
99
Member Avatar for mrnobody

Hi guys, I've been struggling for days to do this. I've got 2 form. The first form (Form1) is to assign a variable (Result) a value. Another form (DisplayResult) is to display out the value. Actually, my purpose is to learn how i can use global variables to share information …

Member Avatar for mrnobody
0
243
Member Avatar for burcinerek

problem: five students pick five balls, but they must not choose the same ball this program does not work i dont know what is wrong. [CODE]#include <cstdlib> #include <iostream> #include <stdio.h> #include <conio.h> using namespace std; int main(int argc, char *argv[]) { int i; int student[5] = {0}; int ball[6] …

Member Avatar for vijayan121
0
270
Member Avatar for Raisefamous

Hi, I'm using Codeblocks as a compiler. So when i'm creating a new class by following File>New>Class it creates two files xxxx.h xxxx.cpp Ok, code is simple. [CODE]#include <iostream> #include "Sally.h" using namespace std; int main(){ Sally so; } [/CODE] Sally.h [CODE]#ifndef SALLY_H #define SALLY_H class Sally { public: Sally(); …

Member Avatar for Raisefamous
0
207
Member Avatar for Srinivas0

i am trying to write a program for friend functions but it isnt working. :( [CODE] #include <iostream> using namespace std; class Z; { private: int a; friend void fn(); }; void fn() { Z one; one.a=5; cout<<a<<endl; } int main() { fn(); return 0; }[/CODE] can someone please tell …

Member Avatar for Srinivas0
0
132