General C++ Programming (Page 41)

A little push with C++ assignment
Hello, I have a program I need to solve, and i can't seem to figure out how to code it. the question...
[2 replies] Last: Looks like that was what i was doing wrong with the operator function,... (by JacobMakeup)
Counting Repeating Words
Hello, My instructor is asking us to write a program that counts the number of repeating words in...
[1 reply] : I will assume that "words" is taken as the English (or <insert human l... (by Duoas)
by Ferris
Converting Rectangular to Polar Coordinates (1,2)
1) Write a method that takes as input parameters a pair of Cartesian coordinates and which sets as o...
[20 replies] Last: I think you're right, you don't need showPolarCoord(), at least not in... (by Chervil)
mail.dat code problem
I have no clue what is wrong with this code. The only output I get is the last email address from ma...
[2 replies] Last: It worked great! Thank you so much for your help! (by stormy6161)
c++ append
Trying to get this function to work. It's supposed to append list2 to list1 and then removes all the...
[5 replies] Last: I need to append list 2 to list 1 and then empty out list 2. That s... (by dhayden)
Need to fill in a hollow shape.
this is a diamond generator it generates diamonds that are hollow. But if someone knows how to make ...
[6 replies] Last: I like way you run from -rows to rows. This is a common problem and i... (by dhayden)
by NBL
Streams and files
I'm having a problem understanding what this problem wants me to do and what encrypt and decrypt are...
[1 reply] : Double posting won't help you. (by Thomas1965)
Store names in String Array.
I have the coding below for an array for characters, but I'm having trouble figuring out how to alte...
[2 replies] Last: Yes it is a homework assignment, I asked my professor for help but he ... (by brownn gal1)
Converting a Decimal into Inches
Hi guys, so in my program I need to have the user enter in 1 cin statement their height in decimal-l...
[6 replies] Last: @ prestokeys Very true. Unfortunately, the OP's assignment is specifi... (by Duoas)
how to output the file including Bin& ASCII
hey everyone, I wanna get the idea how to output the data from a file that including binary and ASCI...
[1 reply] : You can us an ifstream to open the file in binary mode and read char b... (by Thomas1965)
Error in perfomance of cin function!!!
#include<iostream> using namespace std; class profile{ public: int age,name,gender; char ocuupat...
[4 replies] Last: Thank u guys : ) (by harshildj99)
by jeggu
How to pass main object reference to its all low level modules in c++
When ever I create my main(Car) object, internally its creates low level modules one by one. I am r...
[4 replies] Last: Thanks. (by jeggu)
Need help on array initializiation (Class attribute)
Hi, I recently started a personnal project : A Match-3 type of game (Where you match 3 of the same t...
[2 replies] Last: Yeah that's what I did and it fixed it ! WOOT (by Viiarge)
what am I missing or doing wrong
I am trying to finish my midterm project and at line 10 when I enter what I want from line 11 to the...
[5 replies] Last: You remind me some people im at university with :P Handing out their p... (by Viiarge)
Gradebook Program Help?
I'm trying to make a program that'll add students and their ID's as well as courses. I'm stuck on th...
[2 replies] Last: okay guys I got it to added students to a course and show how many are... (by Physiccx)
Comparing Merge and Heap Sorts
I am trying to compare the heap and merge sort using their runtimes and have the program all created...
[2 replies] Last: First, Is it not in code tags? When I look at it, it is in code tags. ... (by Indianna32)
Attack function for a game
At my university, we have to build a prototype for a game, and my team and I have decided to make it...
[2 replies] Last: Ok, so I figured it out. board ->legal_attack(fr,fc,tr,tc,board) is r... (by Pat0010)
Using a while loop write a simple coin flip game.
Hello can you help me change the code so that it functions properly. It keeps saying sorry you l...
[5 replies] Last: What do you think this line if (headsortails == zeroOne) is doing? z... (by booradley60)
String letter comparisons
if (input ==letter ){ word=true; Where input is a string and letter is an array. Somehow, ...
[1 reply] : letter is an array of what? (by Peter87)
by lmg275
Duplicate symbols for architecture?
I have an assignment where I am supposed to create a header file, a function.cpp file, and a main.cp...
[1 reply] : One problem is that you have names in your class with the same name as... (by Thomas1965)
Pages: 1... 3940414243... 46
  Archived months: [feb2016]

Cannot post in this page. To post a new message, go to the first page.