Beginners - September 2017 (Page 6)

Make it faster
Write your question here. So my program is ready and it works just fine but im sending it to our s...
[10 replies] Last: Since in both vectors, "The numbers go in non-increasing order", they ... (by JLBorges)
Pthread Multithreading
I'm still very new with multithreading(pthread) and I'm still trying to familiarize with this. Right...
[no replies]
Write a C++ program for two students comparing their grades
I need help writing a C++ program to compare between two students grades. Two students A,B in CSc 10...
[4 replies] Last: Hello basel07, //#define RELEASE // <--- Uncomment when compiled f... (by Handy Andy)
Multiple Definition Error with Operator[] ??
So i'm messing around with the operator since prof wasn't very clear on it but I get a build error ...
[2 replies] Last: If you define myClass::operator outside the class body in a header fi... (by andywestken)
by SasuKe
Run time error
[4 replies] Last: could he have said that because there's more linked lists? I have no... (by Thomas1965)
Segmetantion fault
Write your question here. So im writing a program where where i have to find how many rectangles ...
[4 replies] Last: Alright thank you very much i should just change my array from array ... (by lastchance)
moving elements in arrays
Anyone know how to take the first element in an array and move it to one spot behind end point? For ...
[1 reply] : Copy/move element: #include <iostream> #include <string> #include <al... (by JLBorges)
Trouble passing variables by reference. I think?
Hello all! As always, thanks in advance. Im trying to make a text based game in C++, attempting to s...
[4 replies] Last: Thank you jlb, figured out what I was doing wrong. Thank you Globalto... (by MoreUmph)
MIPS Assembly to C++ convert
I am doing book problem that wants translated MIPS assembly to matching C++ lines. it gives: k...
[6 replies] Last: Ha, yea. May have to do that when I get the chance. Yea... don't want ... (by sonar87)
Server: Need to have the Home_Page read an HTML file
#if defined(LINUX) || defined(SOLARIS) #include <sys/time.h> #endif #define BUFFSIZE 256 #defi...
[no replies]
by ncant
Censor Code not Compiling
Hello. I am writing a program that will read a text file containing "sensitive" words followed by a ...
[1 reply] : Put the files back the way they were and make sure everything still ru... (by closed account 48T7M4Gy)
Program Design
I need to create a program design for a program that will read in data from a file, store it in a 2d...
[2 replies] Last: Andy, I did end up doing something similar to pseudo code just in a ... (by Rodr1697)
c++ code help
I have a problem with the output of my code again. This time it doesn't show negative loss. I'm supp...
[4 replies] Last: Thanks you! (by bal160730)
ArrayBag bagIntersection & bagDifference
Working on a problem and I'm currently stuck on the bagIntersection method. Here is essentially w...
[3 replies] Last: I'm so sorry, my sugar has been off and my brain isn't functioning all... (by Duthomhas)
by chuvak
Issues passing a pointer pointing to a struct to a function
I am running into an issue that I cannot seem to resolve. My prototype functions are, void displ...
[10 replies] Last: I am deallocating memory to avoid memory leaks, hence the delete Ye... (by jlb)
Error Checking
I'm in my first semester of CS at school and we're starting off with C++. We've been doing projects ...
[1 reply] : Something like this, perhaps: #include <iostream> #include <cctype> ... (by JLBorges)
How to read lines from a fiile, then split each line into words without arrays? (1,2)
This may be a dumb question, but I am trying to figure out how I can read each line from a file, the...
[31 replies] Last: Ok, the only problem that I am having now is how to implement a delete... (by Metalman488)
this is what I have so far. #include <iostream> using namespace std; int main() { ...
[7 replies] Last: What we want to find out is, over the intervening 14 years, what is t... (by keskiverto)
by b1yku
when i type 8 and 22 or anything it wont comes up and disappear am i type something wrong? i su...
[5 replies] Last: #include<iostream> using namespace std; int main(){ int number1; i... (by closed account 48T7M4Gy)
by samcro
Insurance Premium Calculator
C++ I'm tasked with an assignment to create an insurance premium calculator. I have built my code s...
[1 reply] : A few things look like they need fixing. First, the declaration at li... (by Chervil)
September 2017 Pages: 1... 45678... 21
  Archived months: [aug2017] [oct2017]

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