General C++ Programming (Page 3)

Pointer Being Freed Was Not Allocated Error!
 
Hi there, I have a program which creates a stack of doubles. in my test driver I needed to create ...
[6 replies] Last: Thank you so much y'all!!! Everything works perfectly now and I am a h... (by Crthomas)
Given a full name in a string, how do I output the first, last, and middle names without using an array?
 
Hi, I'm taking an Intro to Programming course, even though I already have some C-style progra...
[2 replies] Last: I would like to learn about this. Mooman, kindly elaborate on the fin... (by Mwangi Elijah)
Array issues
 
I am writing a project in C++ (college entry level), where i need to define an array with 5 items - ...
[6 replies] Last: finally finished it 20 minutes before it was due, thanks a ton guys! y... (by Sparrow17)
C++ Highest and Lowest array value.
 
This is what I'm required to write: "Write a program that allows the user to enter seven double valu...
[4 replies] Last: I've solved that problem on my computer by including <limits.h> . Als... (by naaissus)
attribute for culture class
 
i am creating a culture class, other than entrance fee,name,what attributes and members function ca...
[3 replies] Last: why should i listen toa u (by mike9407)
Airplane Reservation Seat
 
How can I make my code like this? 1A 1B 1C 1D 2A 2B 2C 2D 3A ...
[3 replies] Last: You're very welcome :) (by TarikNeaj)
Debugger stopping constantly at __cxa_throw() during execution
 
IDE: Code::Blocks Debugger: GDB OS: Linux Mint 64-bit ( 17.3 'Rosa' ) Hello all! I'm using t...
[5 replies] Last: @TheIdeasMan Sorry, I though OpenGL was for Windows only, like in ter... (by RUNNER PRO AGARIO)
Filling a dynamically allocated array with values/strings
 
I need to write a program that dynamically allocates an array of a size input by the user and fill i...
[8 replies] Last: So even though function fillArray() doesn't return anything, it still ... (by DragonOsman)
Roman Numeral Help
 
I need to be able to sum Roman numerals in the most simple way, not necessarily proper numerals. Som...
[3 replies] Last: It doesn't even compile. To convert Roman→decimal, I recommend the ... (by Duoas)
Can anyone answer why both if statement run?
 
#include <iostream> #include <string> #include <cmath> using namespace std; int main() { ...
[4 replies] Last: There are two ways to avoid this problem. 1. Listen to your compiler.... (by Thomas1965)
Debugging Help!! Pointers in Arrays
 
So My program runs great in Xcode, but when Transferred to Visual Studio it dies(Says it can't find ...
[3 replies] Last: Tarik, That was the issue. Thanks! (by StoriesOfRen)
Getting website source code using cURL
 
hello , i want to get website HTML code. the code i am using is #include <stdio.h> #include <stdl...
[no replies]
How to use stdafx.h?
 
How do I use stdafx.h in VS in such a way that I can still also use iostream? I don't really want t...
[4 replies] Last: You're welcome! (by RUNNER PRO AGARIO)
time complexicity problem in the code
 
#include "bits/stdc++.h" #include <stdlib.h> using namespace std; int compare (const void *...
[3 replies] Last: @Duoas . Thanks for the idea :) I solved it . (by samarth123)
Is it ram problem? (1,2)
 
Every program i create its take 2 sec to execute
[21 replies] Last: OMG Mike, think about it. RAM IS STORAGE, Random Access Memory t... (by RUNNER PRO AGARIO)
Need help with calendar
 
this is my output for the first 3 month. For some reason this website moved all numbers to the left ...
[4 replies] Last: thanks, will try. (by tango13)
Halp PLEASE !
 
Hy guys. I am new here and I need your help.Long story short I want to improve my efficiency at work...
[2 replies] Last: I agree with @TarikNeaj on using Vectors instead of arrays. In many ca... (by RUNNER PRO AGARIO)
Run Time error! Vector subscript out of range
 
Not sure why this would be out of the range I made my vectors hold 8 elements. My comments in the c...
[2 replies] Last: When you are writing code, end it with a tag (by RUNNER PRO AGARIO)
runtime error
 
#include "bits/stdc++.h" #include<stack> using namespace std; int main() { while(true) { int n...
[5 replies] Last: Okk !!thanks for the advice @Moschops (by samarth123)
Reverse Polish Stack Help
 
I have to create a Reverse Polish Stack that's managed or maintained by a linked list. I have done q...
[no replies]
Pages: 12345... 25
  Archived months: [dec2015]

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