51,593 Topics

Member Avatar for
Member Avatar for shane.shaffer.50

I am looking for some advice on where to start with building my guy. I will mostly be coding on my mac, but have the option of windows or linux. I am going to be building an application that will be based around a database for my business and want …

Member Avatar for iamthwee
0
209
Member Avatar for Labdabeta

Hello. I am wondering how EOFs are indicated to either the cstdio functions or the fstream functions. Mainly I am wondering how it differentiates it from data. For example, if EOF is a 2-byte code wouldn't this break the system by inserting a 'false' eof flag: for (int i=0; i<256; …

Member Avatar for Labdabeta
0
182
Member Avatar for sireiz

Kindly take look at this code, it is giving me an error in the main function. #include<iostream.h> #include<fstream.h> #include<cstdlib> #include<cstring> ofstream re; class studentinfo { private: char* VUID; char* campusID; char* Studentname; char* Fathername; public: void Storefile(char*, char*, char*, char*); char* Display() ; studentinfo(char*, char*, char*, char*); ~studentinfo(); }; studentinfo::studentinfo(char* …

Member Avatar for sireiz
0
199
Member Avatar for Knoxarama

'Ello. I'm having a concern about the ability for several objects that require access to one another. Visual studio intellisence shows no errors, but the compiler does. Mostly that classes become unrecognized. I can get different errors by shuffling around the classes within the sapa namespace. Sorry, its a bit …

Member Avatar for JasonHippy
0
208
Member Avatar for warraich22

Starting output at console: Enter : Starting output at console: Enter : 1 for >>>> Ay=75,By=110,Cy=170 2 for >>>> Ay=100,By=150,Cy=250 3 for >>>> Ay=150,By=250,Cy=350 2 for >>>> Ay=100,By=150,Cy=250 3 for >>>> Ay=150,By=250,Cy=350

Member Avatar for Ancient Dragon
0
214
Member Avatar for Abhinisha

in command line argument i am writing argument for the main function as follows int main(int argc,char*argv[]) here argc and argv is cleared to me but why we are using char* with argv... means why we are using * ???

Member Avatar for NathanOliver
0
214
Member Avatar for christinetom

Hi everyone.. I have to ask this question even though it will look a little silly to some of you. If I have a plugin for some open source software then how to do Install it. I'm using FLTK and have found a pluging for it. Just the sourcecode and …

Member Avatar for christinetom
0
128
Member Avatar for omidex

write an program which gets the data from posters and calculate the whole area.in these picture. http://www.upload7.ir/images/03547135115551138326.jpg there is a 7 posters in picture i wish understand these:|

Member Avatar for omidex
0
161
Member Avatar for CPT

Currently I have something like this: class FileWritter{ ofstream file; public: FileWritter(string filename,A_Class a){//A_Class is class which has defined the >> and the << operators file.open(filename.c_str()); file<<a; } ~FileWritter(){ file.close(); } }; what I want is to have something like this: template <class AbstractClass> class FileWritter{ ofstream file; public: FileWritter(string …

Member Avatar for mike_2000_17
0
518
Member Avatar for johans22

A loop continuouly runs 3*Y/8. In intel processor, how to optimize the speed of this computation: 3*Y/8

Member Avatar for rubberman
0
97
Member Avatar for mahesh113

Hi All Can somebody clear my query that why the second operand of '+' operator is called first in the code below? When operator '+' takes left to right. #include <iostream> using namespace std; class A { int i; public: A(int i=-1){cout<<"A const i = "<< i <<endl;} int operator+(const …

Member Avatar for rubberman
0
140
Member Avatar for shane.shaffer.50

The plan is to build an app based around a database and have it run on a server. People will then use, mac, pc, linux, or mobile devices to access the server app, mainly to pull information from the database or add to the database. I have never done any …

Member Avatar for Ancient Dragon
0
98
Member Avatar for sanyam.mishra

I had connected mouse successfully using 33h interrupt in my program in turbo c++ 3.0. My problem is when i press right button it takes many input and automatically jumps select other menu options by just hovering cursur over them. I want to knw how clear this buffer after every …

Member Avatar for sanyam.mishra
0
131
Member Avatar for omidex

hi guys. how we can find area of posters in the pan? i need a answer!!

Member Avatar for tinstaafl
0
79
Member Avatar for eldiablo1121

I have to write a program that takes a two dimensional array of dice and sees the combinations the dice makes within 360000 rolls. I have my code to work, but what I'm completely stumped with is printing it in a matrix. I know you have to embedd 2 for …

Member Avatar for eldiablo1121
0
1K
Member Avatar for Suzie999

Hi. Parden me if I do not express my question very well. A project I am considering would benefit greatly from the ability to to compile a dll at runtime, on machines which may or may not have appropriate tools installed (so I may be looking at using third party …

Member Avatar for Suzie999
0
190
Member Avatar for omidex
Member Avatar for bebesilang

ARP ARP LANGUAGE Introduction ARP ARP Talk is a fun variation of the English language. The conversion to ARP ARP is carried out as follows: 1. When a vowel or vowel sound (a, e, i, o, u, or y as in why) is found, arp is placed in front of …

Member Avatar for Suzie999
0
357
Member Avatar for MRehanQadri

char* f(){ char* result;//I have to return 'result' at the end of this function, where result should be containing i (i.e. int i=97) in it. int i = 97; //Do whatever you can return result; }

Member Avatar for Ancient Dragon
0
402
Member Avatar for omidex
Member Avatar for subash sonar

Can any body help me in inserting mouse pointer in my program. I m using turbo c++ and i m a novic in this field.

Member Avatar for subash sonar
0
59
Member Avatar for cudawella

Design a function that computes integers whose factorial is less than number read from input data?

Member Avatar for Echo89
0
126
Member Avatar for hackoman96

can someone please tell me how much time will take to learn java , i have already learnt c++ and looking forward to learning java

Member Avatar for iamthwee
0
275
Member Avatar for pravinda333

I would like to learn the Win32 or the Windows API. But I have no clue. I just need some guidance to go ahead. Thanks

Member Avatar for iamthwee
0
92
Member Avatar for Swayat

i wrote but the Read function is just for a single character any function for int numbers? int i = Console::Read(); Console::WriteLine(i);

Member Avatar for tinstaafl
0
253
Member Avatar for alaba81

design a digitally controlled washing machine that sets the wash temperature to 80degree celcius for cotten clothes 40degree celcius per quick wash and 1000 revolution for rinse and dry only using Microsoft visual STUDIO 2010 c++ programming //please this is all i could do, help improve in respect to the …

Member Avatar for Moschops
0
2K
Member Avatar for John Linux

In a past prac. exam for an algorithm course I'm doing is the challenge below, and their are no solutions but it seems like a really interesting one to solve. Can someone please help and point me in the right direction, I would like to try this on my own, …

Member Avatar for Sergio_1
0
513
Member Avatar for ppotter3

Hello! My name is Page, and I am still in the process of becoming a more seasoned programmer. I am trying to get a .txt file with first names in it to be sorted after I read the file and input it to a array from a function. Now I …

Member Avatar for jawad.ikram
0
3K
Member Avatar for subash sonar

Hi, I m new in programming language and i m using turbo c . Can it be possible to give the header file windows.h in turbo c ? And if it is possible then please give the detail function and related code of it.I will be remain thankful to you.

Member Avatar for Moschops
0
358
Member Avatar for Vasthor

// 9-2. If we define the name function as a plain, nonconst member // function, what other functions in our system must change and why? based on the question, the answer would be // answer bool compare(const Student_info&, const Student_info&); // because this function uses the member function as it's …

Member Avatar for mike_2000_17
0
273
Member Avatar for wumeed

where is the run-time error in that code? void main(){ .... char *fruites[5] = {"apple", "banana", "orange", "apricot", "pineapple"}; bubble(fruites,5,10); } void bubble(char *a[], int size, int columns) { int j,i; char * x= new char[columns]; for (int z=0; z<columns;z++){ *(x+z) ='0'; } for (i = size - 1; i …

Member Avatar for Ancient Dragon
0
151
Member Avatar for eldiablo1121

Hello, I'm having trouble with one of my coding assignments. I have to compare 2 arrays to see if they're identical. My code compiles fine, but i'm not getting the correct results. Mind you I'm in a beginner's course so I cannot have any advanced coding, I appreciate those suggestions, …

Member Avatar for Moschops
0
199
Member Avatar for Ajay krishna

I want a programe witch automaticaly open a html typed file . Please help me to create a c++ programe # How to open internet explorer using a c++ programe #

Member Avatar for nksridevi
0
524
Member Avatar for soche123

compiler is showing this error but I don't know where I went wrong with my simple structure program. #include <iostream> #include <conio.h> using namespace std; #include<iostream> #include<conio.h> using namespace std; struct distance //structure { int foot; float inches; }; int main() { distance a,b; distance c={3,6.34}; cout<<"Enter feet and inches …

Member Avatar for tinstaafl
0
381
Member Avatar for VilePlecenta

This is strange, I looked it up and by default C# should pass parameters by value but I've always had them get passed by pointer. ie [ICODE] public class foo { public foo() { derp = 123456; } public int derp; } public static void dontcare(foo z) { z.derp = …

Member Avatar for zadkielmodelre
0
225
Member Avatar for Abhinisha

i am studying c++... and i have come across the topic constructors.. and in that i am confused between ...basic constructors, copy constructors, dynamic constructors... please explain what are these and also the program in which they can be used...???

Member Avatar for crescendo
-1
194
Member Avatar for mahesh113

Hi All, Could you please clear my doubt why this second catch block is called when exception is thrown only once. #include <iostream> using namespace std; class E { public: const char* error; E(const char* arg): error(arg) {} }; class B { public: B() {}; ~B(){cout<<"~B() called"<<endl;} }; class D: …

Member Avatar for deceptikon
0
350
Member Avatar for subash sonar

Hello, I m new in programming languge and using turbo c . I need your help in completing my projects. I want to display the numbers in column with classification as even, odd, prime and composite numbers. And i want to use int array for 8 numbers. That is, first …

Member Avatar for Lucaci Andrew
0
180
Member Avatar for Abhinisha
Member Avatar for sid78669

I am working on an assignment that does the following three things when a valid expression is provided: 1. Convert to postfix 2. convert to prefix 3. Evaluate expression. I'm using stacks and Binary trees to do this and have been able to do the first two without a hick. …

Member Avatar for Chandana Ravali
0
570
Member Avatar for subash sonar

Hello, I m new to the programming language and i m using turbo c++. If any one kindly give me a link for the meaning and definition and the uses of the different type of header file used in the c++ and there different types of function.

Member Avatar for subash sonar
0
153
Member Avatar for Mak!zZz

Can someone help me with this problem I need program in c++ ,that can sum number DIGIC COMPLEMENT and RADICAL COMPLEMENT IF the input is in DC 1111111111110101 0000000000100010 my output should be 0000000000011000 Please help

Member Avatar for Labdabeta
0
169
Member Avatar for subash sonar

Helo, I m using turbo c++. I want to give menu bar with drop down list. I actually don't know the code for this. So, can u plz. help me to this by giving the source code to this. I shall be thankful to u.

Member Avatar for Ancient Dragon
0
172
Member Avatar for vishalonne

Hi All I have a query regarding constructor and destructor. How accessibility of constructor and destructor affects the scope and the visibility of their class. If someone give some explaination on this I will be thankful. Regards

Member Avatar for David W
0
260
Member Avatar for rakibtg

friends please do me a help, please solve this: All class must have encapsulation, constructor, destructor and in any one solution you must have to use operator overloading 1) Define a class name DVD_DB. Include the following members. `DATA MEMBERS:` Name of DVD – private character array, size 10 Price …

Member Avatar for tinstaafl
0
1K
Member Avatar for RLS0812

For some reason my string is spitting out pure trash, and I have no idea why it's doing it. There are no errors kicked out when debugging. #include <iostream> #include <string> using namespace std; void main(){ string xx = ""; string yy = ""; for( int x = 0; x …

Member Avatar for Lucaci Andrew
0
165
Member Avatar for Abhinisha

#include<iostream.h> class counter { private: int count; public: counter():count(0) { count 1 } }; int main() { counter c1; return 0; } whats wrong in this program i am not able to know?

Member Avatar for Lucaci Andrew
0
124
Member Avatar for mahesh113

Hi all, Please answer this question. Why the output is ACA?? In the line obj = obj+6; the 6 should have been converted to obj type but, why it is converting the obj to int type? Please help... #include <iostream> using namespace std; class Base { public: Base(int m_var=1):i(m_var){ cout<<"A"; …

Member Avatar for Lucaci Andrew
0
153
Member Avatar for mesbahuk

In java this is how a DerivedClass can implement it's BaseClass's constructor. public DerivedClass extends BaseClass { //some properties public DerivedClass(param) { super(param); } } I have learnt C-Sharp's *base()* does the similar thing, but when I replace *super(param)* with *base(param)*, it does not gives what I'm expecting. How can …

Member Avatar for Ketsuekiame
0
271
Member Avatar for Vasthor

this is what the question said. // 9-1. Reimplement the Student_info class so that it calculates the // final grade when reading the student's record, and stores that grade // in the object. Reimplement the grade function to use this // precomputed value. this is what I thought! 1. Reimplement …

Member Avatar for Vasthor
0
230

The End.