General C++ Programming - October 2016 (Page 15)

by Hengry
fatal error condition: SIGSEGV - Segmentation violation signal
 
Hello I need help figuring out why I get SIGSEGV error. My classroom.cpp utilizes my UniqueVector c...
[6 replies] Last: http://stackoverflow.com/questions/5856628/program-received-signal-sig... (by Robles11)
Need guidance for " this"keyword
 
Hey everyone, I need help on how to use the "this" pointer. And how can it be used in file handling ...
[1 reply] : A less crucial use is to write explicitly clear code: T Foo::bar( con... (by keskiverto)
Code help please can not debug
 
Create a program that allows the user to enter the gender (either F or M) and GPA (0.0 through 4.0) ...
[1 reply] : Don't Double Post. It's nothing but spam. Original Post: http://www.cp... (by TarikNeaj)
POS system
 
Hi guys can you help me this program output is: F1 carbonarra 2 110 F1 c...
[2 replies] Last: Thanks.. :-) it was a great help but there is one problem if I enter... (by kimrobert)
Re-assigning an istream&...
 
Consider: class X{ //... istream& source; public: //... void set_source(const istr...
[2 replies] Last: Ty sir this is the kind of thing I was looking for. I understand that ... (by TinyTertle)
by CZZ
INI file
 
Hi guys! I'm making a program that receives input parameters from a .ini external file. I would li...
[2 replies] Last: Since .INI is a fairly standard (albeit archaic) format, there are bou... (by MikeyBoy)
by Ruthra
need help identifying cause of "segmentation fault"
 
can anybody help me identify why the code causes "segmentation fault" at line 65 "colCount != 0". B...
[4 replies] Last: You're welcome - glad it helped. (by MikeyBoy)
Is it correct to use std::array<std::vector<int>, ?> in this situation?
 
Hi everyone, I wanted to know which is the best way of dealing with the following issue: I wan...
[7 replies] Last: Thank you mbozzi, that is a important point (by dariodem)
C++ Begginer - errors
 
#include <iostream> int main() { int a; int b; int c; int d; cin>>a>>b; c=a+...
[8 replies] Last: #include <iostream> int main() { int a; int b; int c; int d; cin>>a>>... (by SakurasouBusters)
need help with Array coding
 
Hello everybody, I wrote a program to output the name, ID, department, position using Class, Array, ...
[2 replies] Last: TinyTertle, i have learned how to prefixes my code . i apologize about... (by Superman99)
Help: reading and writing to the same file.
 
Lets say I want to take every character in a file and make it lower case. I could do something like ...
[4 replies] Last: Something more like //... while(in) { file.get(ch); file.s... (by TinyTertle)
by Revert
Calculating a future day
 
Hey guys I need some help with my code to calculate a future day. Everything seems to be almost ther...
[4 replies] Last: Do you mind explaining it more to me? I'm not sure what you want ex... (by cire)
by helo12
trouble with deques
 
So two things first off I am taking a data structures class so you cannot use the Standard Library a...
[1 reply] : First, I don't recommend this kind queue; Second, you should modify nu... (by HITZJP)
by zakk
error C2371: 'DATE' : redefinition; different basic types
 
class DATE { public: void extend_date(int,int,int,int ); int dif...
[2 replies] Last: Conventionally, names in ALL_CAPS are preprocessor macros. Maybe you ... (by mbozzi)
Need help with Vectors
 
I have a couple of questions through out the code. I will try to ask them. Please help answer the on...
[2 replies] Last: My first concern is that is my person.cpp file correct? or does it se... (by cire)
".exe has stopped working"
 
I am pretty new to C++ and programming in general, so I decided to make a cipher program that change...
[1 reply] : string ans[msg.length()]; //The list of characters(as strings) of the... (by cire)
by RRO
Can someone help me with me code?
 
Ive been programing this menu for a while. its rather simple but I cant figure out how to get back t...
[1 reply] : Not to be that guy but, it would be helpful if we could see the code t... (by TarikNeaj)
Can someone help me with my code?
 
Currently I'm stuck at one point, I'm trying to write something like this: class Rectangle : p...
[1 reply] : I created a very simple program for you, that lets you move around a c... (by TarikNeaj)
tic tac toe program not running
 
So I got motivated to write a 2 Player tic tac toe program,where a user enters a column no. to chang...
[2 replies] Last: oh it works now! Thanks a lot you saved my day. Plus you just reminded... (by Blazinteen)
how do i display the min value from output table and print three asterisk?
 
Here is question: rite a program that will calculate the functional values of the function f(x)on...
[1 reply] : First, please use code tags when posting code. See http://www.cplusplu... (by keskiverto)
October 2016 Pages: 1... 1314151617... 23
  Archived months: [sep2016] [nov2016]

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