General C++ Programming - November 2016 (Page 12)

by bozmin
Passing an object through a function on separate file
 
I am having real trouble trying to make this code working. App.cpp (main file) #include "Hardwa...
[8 replies] Last: fare enough ! Just a small update. If there is lot of files to be com... (by bozmin)
HELP!!
 
I am completely lost on what to do next, here's my code:<> # include <iostream> # include <st...
[11 replies] Last: Your conditions are messed up: Line 51: while (time1&&time2&&time3 >... (by AbstractionAnon)
by gmm796
Help with Queues
 
There are two parking garages each have a maxqueue of 5. There is also a street that cars could wait...
[no replies]
Bubble sort duplicates linked list items
 
My assignment is to create a function that sorts the provided linked list. When I run the program an...
[2 replies] Last: Not knowing exactly what the LinkedList member functions do, I have so... (by doug4)
Is this code correct?
 
#include"Hobbit.h" Hobbit::Hobbit() { name="Bilbo"; } Hobbit::~Hobbit()...
[2 replies] Last: Line 45: What's the purpose of this line: bool check=hasBeenSummone... (by AbstractionAnon)
by k162j
Caesar Cipher
 
Hello! I'm making a program that read Caesar Cipher. Everything works fine, but the program stops if...
[6 replies] Last: go another step further #include<iostream> #include<string> #include... (by KOOKIEVADER)
Code to Design Pattern
 
Hi, I'm studying C++ programming and I was wondering if anyone has any tips on how to figure out wha...
[1 reply] : More often than not, the names of entities involved (classes, template... (by JLBorges)
Making a program module for patient management. But it's not working properly. What's wrong?
 
http://ideone.com/e.js/qxX7AS (The program code was too long. Hence, please follow the link to the p...
[2 replies] Last: I checked Also, now the view all function is working but the ID is alw... (by Anne693)
by Ahmaoj
How do I get started with learning C++ at the age of 12?
 
How do I get started with learning C++ at the age of 12?
[1 reply] : One place to start is the tutorials here on this site. There are plent... (by closed account 48T7M4Gy)
by miglr
Help with adding the occurence of each read character
 
Hello, I'm having trouble displaying the number of times a character has been read from a file. for ...
[6 replies] Last: @arzhon Thank you so much I really appreciate it! As I was reading the... (by miglr)
Error - no operator ">>" matches these operands (1,2)
 
Hi, i'm beginner in c++. Currently facing some issue on my codes. Below is the snippets of codes tha...
[28 replies] Last: hi, was wondering can anyone send completed codes for the program? @ju... (by alpha34)
Cannot Debug this Code
 
#include <iostream.h> #include <string.h> int main() { char partno ; int length; cout << "\nE...
[1 reply] : Use this code to compile. #include <iostream> #include <string.h> us... (by Chidoro)
Arrays Program
 
Good evening. I am working on a program with two arrays. Both have seven elements. One would be the ...
[4 replies] Last: Use a for loop: double total = 0; for( int i = 0; i < 7; i++) { ... (by closed account 48T7M4Gy)
Code Error Help C++
 
#include <iostream> #include <fstream> #include <string> #include <cassert> #include <iomanip> /...
[2 replies] Last: #include <iostream> #include <fstream> #include <string> #include <ca... (by Chidoro)
programming project help c language
 
7.30 (Calculating Circle Circumference, Circle Area or Sphere Volume Using Function Pointers) Using...
[1 reply] : First: Don't use while(1), use something like getchar so you can analy... (by lazpeng)
by miglr
reading strings from files character at a time
 
after reading a file and distributing each character, I get a period(.) where it don't belong. Can a...
[4 replies] Last: the reason I put all characters into arrays was to sort them... thinki... (by miglr)
help with class
 
My goal is to design a class named Automobile that holds the vehicle identification number, make, mo...
[3 replies] Last: Where are you getting this error? Your compiler should be telling you... (by MikeyBoy)
OOP_Classes
 
Hello! For Oriented Object Programming course I have the project below. First of all I need to d...
[3 replies] Last: I would think the classes are straightforward according to the require... (by coder777)
corrupted double-linked list error
 
I am building a hashmap using "unorderd_map". key will be unique id and its corresponding value wil...
[5 replies] Last: Do you think which one is more efficient "string" or "char*" for valu... (by mbozzi)
Printing out sort array?
 
int main() { } [\code]
[1 reply] : what do you mean? You can just call printArray(Movies, Stud); agai... (by arzhon)
November 2016 Pages: 1... 1011121314... 23
  Archived months: [oct2016] [dec2016]

This is an archived page. To post a new message, go to the current page.