34 Topics

Member Avatar for
Member Avatar for can-mohan

Hi guys, I would like to discuss my design with one query. below is the code snippet. It is clear from below code snippet that class pd is privately derived from AbstractClass as both are different classes and there is no relation between them.Now in my class pd i need …

Member Avatar for can-mohan
0
407
Member Avatar for Sphinx'LostNose

How are keys and passwords stored in a computer to make them secure? If encryption is used to secure keys and passwords - won't there need to be a key or password for it also? Will that one be encrypted as well? It seems to me that eventually there will …

Member Avatar for mike_2000_17
0
278
Member Avatar for chahinez.abdelo.9

Hello guys, i never worked before with java and it was told to me to make a solution of cloud computing private for my university and i don't know how or even which How choose the layer to develop. Can you just help me please.

Member Avatar for chahinez.abdelo.9
0
452
Member Avatar for kannan mangalar
Member Avatar for tallman kinene

hae please help me understand the use and benefit of a virtual private network.I need to know how to use one

Member Avatar for Rose Ab
0
229
Member Avatar for can-mohan

Hi, Is there any way to not allow private construction in friend function, In case we do have private constructor with friend function in our class.Only Static method should be responsible for object creation and other than this compiler should flash error message. #include<iostream> #include<memory> using namespace std; class a …

Member Avatar for can-mohan
0
286
Member Avatar for essaydoctor

What does a "private" area of a website involve?Webhooks, tokens, APIs? I am developing a website which will allow registered users to register, make a payment, and then get transferred to an area where they write an online essay in a textarea. I DON'T WANT NON-PAYERS TO GO HERE. The …

Member Avatar for diafol
0
193
Member Avatar for XerX

Hi, I am having a problem overriding methods in a subclass when they contain private methods from the master class. The is the master: package blabla; public class Person { private String firstName; private String secondName; private String familyName; public Person() { firstName = ""; secondName = ""; familyName = …

Member Avatar for JamesCherrill
0
234
Member Avatar for markstylor

please suggest the best vps provider company in india. i urgently need virtual server hosting provider ...so help me

Member Avatar for code739
0
145
Member Avatar for umesh_at_dani
Member Avatar for kevin.peris.90

i want to represent some locations using a vector map. which website allows this kind of private map creation and sharing. tried arcgis they make it compuslory to make the map public to share. thanks

Member Avatar for yewbhex
0
97
Member Avatar for nathaniscool99

Hello, I have been given a class diagram where a variable called light_years must be a const int and stored in the space class, but later on that value must be used in the main file. Below is the space class class space { private: static const int LIGHT_YEARS; public: …

Member Avatar for deceptikon
0
265
Member Avatar for eburlea

Hello. The code below returns an error. Please advise what is wrong with it. Thank you. class Login { private var $good_username; private var $good_password; public function Authentification () { private $this->good_username = "myusername"; private $this->good_password = "mypassword"; } }

Member Avatar for eburlea
0
315
Member Avatar for Pyler

consider public class awah{ private int x=0; private int y; private int w; public awah(int width){ w=width; } public void sety(){ y=(Int)(Math.random()*4);}//meth1 public int gety(){ return y; } public void setx (){ x+=this.gety(); } public int getx(){ return x; } public void showUpdate(){ System.out.println(x); } }//end of awah public static …

Member Avatar for Taywin
0
214
Member Avatar for Carpetfizz

Hello! I'm relatively new to C++ and I'm learning about classes and objects. I've learned most of what I know from YouTube tutorials and some books. Well, in almost all of those, they mentioned that it was poor programming practice to make all your data members public, inside of a …

Member Avatar for Carpetfizz
0
310
Member Avatar for rahul.ch

General rules is that: 1) A private method cannot be overridden. 2) Subclass method should be a lower access modifier than a overridden superclass method. But the output of the program is "I am Son". Why? Is it because of the rule 2 the output comes? If that's the case …

Member Avatar for JamesCherrill
0
202
Member Avatar for ObjectOriented

It's useless. Why are stupid classes in C++ having private members for? [snip] I am never using OOP in C++ I'm just using structs to organize data fuck OOP and classes it's so ridiculous to me that I'm SMH

Member Avatar for Divyab
-1
303
Member Avatar for Philippe.Lahaie

I totally understand this is probably not what it was actually called but i dont recall, what I am looking for is the page where you would see some info on reputation changes and post statistics and other stuff, but it was not the public profile that other users can …

Member Avatar for Dani
0
253
Member Avatar for corvenzo

Hi, I'm a pretty new Java student and I was just confused on a few basic concepts. What exactly is the difference between public and private classes and in which case would you use each one? also, what is a constructor, mutator, or accessor? Thank you.

Member Avatar for ash.28.88
0
375
Member Avatar for greatman05

So, I'm a bit confused with how inheritance works in relation to variables. Let's say that I had the following class: class Test { private: int var1; float var2; public: void getInfo(int,float); void setStuff(int,float); }; Now, let's suppose that I wanted to derive a class from that base class; I …

Member Avatar for Ancient Dragon
0
205
Member Avatar for phummon

Hi everyone, I'm a moderate-level C++ programmer who is a little rusty at the moment. I've got an object question which is driving me nuts. I'm sure this is a C++ 101 level question, but for the life of me, I can't recall the solution. Basically, I've got one object …

Member Avatar for phummon
0
254
Member Avatar for jonow

Hello, I am trying to set up E-Commerce using Magento. I was wondering if I need SSL for it. If all the transactions are through PayPal then do I need it? And if I do need SSL, can I use shared or does it have to be private. Thanks

0
180
Member Avatar for Reeseoo

Hi all new to this forum, just thought i'd post in here because i am having a bit of trouble with an assignment... basically i have this class in a header file called Product.h... [CODE] class Product { private: int _id; unsigned int _price; public: }; [/CODE] I access this …

Member Avatar for Reeseoo
0
513
Member Avatar for tvm78

So I'm trying to write a program that is due tomorrow. I am trying to overload operators and dealing with template classes. I have everything written already but keep getting this error whenever i try to compile the driver file: NOTE: proj4.cpp has #include "box.h" and box.h compiles fine, but …

Member Avatar for NathanOliver
0
268
Member Avatar for maxlipman

Hi,  Here is what I want to do: I already have a php login system and I want to integrate a private messaging system into it. Does anyone have any recommendations of Private Messaging scripts? Thanks so much, Max.

Member Avatar for ronysios
0
226
Member Avatar for Labdabeta

Is there a way to make a class visible only from within another class. i.e: [CODE]class myclass { private: class anotherclass { //stuff that only can be used from within a myclass function void dosomething(); float dosomethingelse(); }*anotherclasses; int numanotherclasses; public: int createanotherclass();//creates anotherclass object, puts it in the array …

Member Avatar for mike_2000_17
0
227
Member Avatar for willywhomperz

I am trying to do several things. 1. Intialize - engage a user in a series of questions to assign values to the class variables, no args, no return value, called from constructor. 2. Display - displays all the class values, each in an sentence, no args, no return value. …

Member Avatar for Majestics
0
205
Member Avatar for Annuate

Hi everyone, I'm working on a summer coding project with few friends from school and we have a design issue that we need some input on.(The language is Java) We have for example a 2D vector class called Vector2. It has two properties float X, and float Y. When I …

Member Avatar for jwenting
0
229
Member Avatar for kutuup

I have no idea what is going on here, first, the code: [CODE] #pragma once #include <stdio.h> //#include <stdafx.h> #include <allegro5/allegro.h> //#include <allegro_image.h> class DisplayController { public: int bitmapx; int bitmapy; // ALLEGRO_DISPLAY display; ALLEGRO_BITMAP *crosshairs; ALLEGRO_EVENT ev; ALLEGRO_EVENT_QUEUE *event_queue; void display() { this->event_queue = al_create_event_queue(); al_register_event_source(event_queue, al_get_mouse_event_source()); al_wait_for_event(event_queue, &ev); …

Member Avatar for kutuup
0
1K
Member Avatar for arthurav

I have the following program : [CODE] #include<iostream> #include<string> #include<conio.h> using namespace std; template <class T> class matrice { T **a; int m,n; public: matrice(); matrice(int,int,int); matrice(char *); matrice(int,int,T **); matrice(matrice &x); ~matrice(){}; template <class U> friend ostream &operator <<(ostream &,matrice<U> &); int getNrLinii(){ return m; } int getNrColoane(){ return …

Member Avatar for Fbody
0
187

The End.