49,757 Topics

Member Avatar for
Member Avatar for Kaushalya15

/* SPRPTA Bus Ticket Reservation System C++ Software Development Project */ #include <iostream> #include <fstream> #include <cstdio> #include <conio.h> #include <cstdlib> #include <stdio.h> using namespace std; int count01 ; // class Passenger class Passenger { string str_City, str_ContactNumber, str_UserName, str_Password, str_name ; protected: string str_NIC ; public: Passenger(){} Passenger(string name, …

Member Avatar for Yashwanth_1
0
8K
Member Avatar for Urfa2

Need help to edit this code to allow user to find words in the grid that are touching horizontally, vertically, and diagonally adjacent. For example, the board: Q W E R T A S D F G Z X C V B Y U A O P G H J …

Member Avatar for rproffitt
0
360
Member Avatar for Urfa2

Need help to edit this code to allow user to find words in the grid that are touching horizontally, vertically, and diagonally adjacent. For example, the board: Q W E R T A S D F G Z X C V B Y U A O P G H J …

Member Avatar for rproffitt
0
443
Member Avatar for Lee_20

Victor and Francis are looking to buy a house in a new development.After looking at the several of models,the three models they like are colonial,split-entry and single-story. The builder gave them the base price and the finished area in square feet of the three models.They want to know the model(s) …

Member Avatar for Lee_20
0
1K
Member Avatar for sobaan30

INTERSECT(p1,p2) 1 answer <----() 2 while p1 not equal Nil and p2 not eqaul Nil 3 do if docId(p1) = docId(p2) 4 then ADD (answer, docId(p1)) 5 p1 <--- next(p1) 6 p2 <---- next(p2) 7 else if docId(p1) < docId(p2) 8 then p1<--- next(p1) 9 else p2<--- next(p2) 10 return …

Member Avatar for Dani
0
426
Member Avatar for kshahnazari

I have an HDC file(that is taken by screen that I want to save it to any image file (prefer Bmp) , the thing is I don't really know the format and any function that I find for saving takes to many function inputs (that must be maximum 2). Any …

Member Avatar for Tajuddin_1
0
5K
Member Avatar for iranano

In the follwong program a class-type temporary is cast to a refrence and they changed: struct A { int a; A() { a = 100; } }; void f(A& x) { x.a = 200; }; int main() { f((A&)A{}); } No errors in Visual Studio and GCC. But is it …

0
275
Member Avatar for tun712

I was wandering aimlessly on google, I found [ReactOS](https://www.reactos.org/). It's interesting. I tried this OS, many windows applications are running well on it. But some latest applications are unable to run like **Firefox 65.0.1** I have few questions, * How worth is using this OS? * What is future of …

Member Avatar for tun712
0
858
Member Avatar for varie_nyoka15
Member Avatar for rproffitt
0
220
Member Avatar for differentiation

Hi, I've been playing a game from a few years back (I really enjoyed it) and I found that it was open source on github. I would love to make my own version and see how it goes. I have experience with python as a hobby, and I've had a …

0
352
Member Avatar for Abi_2

Hey, I am in desperate need of some assistance with this Baffles coding. I do not know where to begin and I am completely confused with the instructions https://www.daniweb.com/programming/software-development/threads/324780/baffle-game-c#js-quick-reply the link above is a link to the old thread as a reference. I am using the c++ language and the …

Member Avatar for Alexander_17
1
2K
Member Avatar for santhosh_8

**Create a student class which has following functionality:** - Initialise a student with mandatory parameters - Create a student with name, email and phone number - Add a list of subjects based on which class he is - Add a function to calculate his percentage based on marks scored ***I …

Member Avatar for Reverend Jim
-1
3K
Member Avatar for Murali_3

Hi , Im looking for c++ design for tools like abode photoshop. Can you point me any URLs/source code where i can refer c++ design for photoshop?

Member Avatar for Reverend Jim
0
303
Member Avatar for Kelvin _1

Write a C++ program that would depict car pooling is of much advantage to the environment and to the user . NB:Enforce security in currency output.

Member Avatar for rproffitt
0
663
Member Avatar for Weird Nerd

Hey everybody, I was just wondering, how do you create Lens Distortion in OpenGL? As in, the rendered image looks bloated or sucked in when you implement it. I would typically want it in a simple format that works nicely and doesn't eat up too much CPU. As an extra, …

Member Avatar for WaszStary
0
2K
Member Avatar for Fernando_14

What useful plug-ins / debuggers for Visual Studio do you use (for Windows)? P.S. I know Visual Studio has a good debugger)

Member Avatar for bob.clarke.16
1
3K
Member Avatar for ammysh

Hi, im still new in c++ so i'm happy if anyone can help me Hi, is anyone know how to search two text file and the output will be - show which text file - line number - the word itself currently what i did is i need the user …

Member Avatar for AndrisP
0
355
Member Avatar for open2join

Hi Pobably it is going to be repeated question but I wasnt able to find such thread. I just would like to do sql through C++ and I have 2008 ms database. What are free libraries available for doing such job? Thanks

Member Avatar for rproffitt
0
343
Member Avatar for Aaron_17

plz someone help me with this problem. i have uploaded the code file down Make a class fraction () with a numerator and a denominator. Create a constructor and overload some operators so that the code below can run on

Member Avatar for Reverend Jim
0
382
Member Avatar for FriQenstein

Greetings. I'm working on a small project using Visual Studio 2017. Basically I'm taking a small console based Banking Software program and porting it to a GUI based windows application. I'm having issues getting access to certain variables from within a private function. EX: MyForm.h has the following code: class …

Member Avatar for rproffitt
0
412
Member Avatar for Aziz_6
Member Avatar for Aziz_6
0
271
Member Avatar for sadada

## Hey, ## I crated a program which can search a text for a string and gives you every line which conatins that string back. Now I want to create another text file with the output. But I cant get it to work. Actually I have no problems with creating …

0
365
Member Avatar for KLane

[CODE] //I need to make a class that calculate the mean and standard deviation. I have to test my program with an external file containing about 300 data. My program doesnt return the correct valuesAny help? #include <cstdlib> #include <iostream> #include <cmath> #include <fstream> using namespace std; class Statistics{ double …

Member Avatar for mellguth
0
1K
Member Avatar for open2join

Hi I having trouble to export DLL which would contain one fucntion. The function would create an MFC dialog object, then the object is instantiated and then run method is invoked. The user input from the dialog would be the return value to the function and also it would the …

Member Avatar for rproffitt
0
318
Member Avatar for open2join

Hi I am considering to use C++/CLI because of .NET. My aim is to create DLLs where these would be used by some language. Would I be getting any problems if I decided to export DLL containing managed code? Any portability issues? Thanks in advance

Member Avatar for rproffitt
0
287
Member Avatar for cppgangster

Hi I am developing using C/C++ window application using winapi. I will be using some standard STL containers and some win api functions provided by windows.h. I would like use the app on different windows versions such as windows 7 and 10. The apps will be builded for x86 architecture. …

Member Avatar for zigale
0
572
Member Avatar for Yasin_4

The program needs to get loan amount, loan term, and loan interest rate from the user and then use those same numbers to create a function that calculates the monthly payment of the loan using monthlyPayment = principal * rate / ( 1.0 – pow(rate + 1, -term)); I've come …

0
241
Member Avatar for hollywoood69

Hey everyone of the c++ world. I am a little stuck. Here is what i am suppose to be doing. Write the program as an object-oriented C++ program that calculates and displays the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, …

Member Avatar for Yasin_4
0
2K
Member Avatar for dekker13

I'm trying to add insert functionality to a textbook code example. I have an "off by one" error and I can't think of a way to fix it. Here's my attempt below: template< class NODETYPE > void List< NODETYPE >::insertMiddle( const NODETYPE &value, int position ) { ListNode< NODETYPE > …

Member Avatar for Amanuel_1
0
4K
Member Avatar for MattyEva

I should go to this program mentioned below. make a double loop (do ... while) to suppress an incorrect daily calculation!note :::: work with a char variable "error" for erroneous daily calculation. In contrast to the origin program, deposit and payout data should be requested again for a result of …

Member Avatar for Reverend Jim
-1
384

The End.