General C++ Programming (Page 7)

Access violation exception thrown - please help
 
When trying to fill an array of structs, I got the following exception thrown: Unhandled exceptio...
[5 replies] Last: Look at your sort function: void selectionSortNames(Student students ... (by jlb)
c++ and joystick
 
Hello everyone. I want to know if there is a way to manipulate joystick with c++ without using an...
[3 replies] Last: @Thomas1965, thanks for the reply. I know a few libraries does the sa... (by Techno01)
memory leak in code snippet?
 
Is there a memory leak in this code snippet with ptr being reassigned to another address &x to &y? ...
[4 replies] Last: Thx for clarifying. (by technologist)
Looking for some valuable help
 
Hello guys, I am new to C++ and a complete novice. I have no clue what I am doing but have attempted...
[2 replies] Last: Sorry, I am new, please forgive me. I will edit the code straight away... (by miles123v)
At last i got this 2D vector of struct syntax in C++.
 
Kindly help to visualize how i will make the database (like an excel worksheet) using this declarati...
[1 reply] : Kindly help to visualize how i will make the database Kindly use cod... (by TarikNeaj)
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)
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)
Pages: 1... 56789... 29
  Archived months: [dec2015]

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