General C++ Programming - April 2014 (Page 25)

Modifying object data in linked list
 
I'm having a problem trying to modify my patient's data. It seems to work, but once the block of co...
[1 reply] : The variable patient on line 72 is not related to list1 , so if you... (by coder777)
Headers and arrays
 
Hopefully you get what I'm trying to do from the below, if it is possible then could you explain to ...
[2 replies] Last: still produces the same error, I thought of something else instead tho... (by awsdert)
by rdekou
Segmentation fault Core dump (1,2)
 
I'm writing a code using least mean square to fit a sample of data. The code is running till an ite...
[21 replies] Last: Hey I solve my problem, I used to have an unitialize pointer pass as a... (by rdekou)
by rva03
Question about backtracking issue
 
Hello, i'm writing a backtracking program. The program ask the user for a height and width of the fi...
[4 replies] Last: Ok, I changed the thing you said to if (((x + s) <= n) && (kanzet)){ ... (by rva03)
Assertion failure
 
My adjacent_difference function is causing my program to crash. What am I doing wrong? //C++ ...
[3 replies] Last: Thank you for the replies, I had newList(8) in the declaration but was... (by yoked88)
by km2594
C++ programming help
 
#include<fstream.h> #include<ctype.h> #include<iomanip.h> #include<conio.h> #include<stdio.h> ...
[2 replies] Last: I made the correction. But i'm still not getting the output. (by km2594)
Newbie to c++ (1,2)
 
Hi guys. Im totally new to C++ and coding has never been straight forward to me. I have commented...
[32 replies] Last: Sorry I misunderstood the problem. I believe removing line 118 will f... (by Goliathus)
Custom Shared Ptr
 
Hi, this is my first time asking a programming question on here so forgive me if you don't like my w...
[3 replies] Last: > Anyway, I'm writing my own version of a shared pointer to utilize my... (by JLBorges)
Allocator and Inheritance
 
Hello, I've read somewhere that std::allocator works by allocating a block of memory that is large e...
[3 replies] Last: Yes, there is - that is what the example is doing. The 'T' is the deri... (by TwilightSpectre)
Need help on fixing a loop.
 
Hello. I am currently working on a project for a class and I need help trying to figure out why when...
[6 replies] Last: Thanks Pindrought, that fixed it. And thank you everyone else for othe... (by D3ATH94)
Error message meaning
 
Hey would anyone be able to translate this to English for me? In file included from VectorBag.h:36...
[1 reply] : Basically, you are passing a constant reference to your 'remove' funct... (by TwilightSpectre)
Pointer trouble
 
Having trouble with this piece of code, it's giving me a pointer error. Help? #include <iostr...
[1 reply] : Nevermind, stupid syntax error. (by yoked88)
by graphi
fgets() misses first word
 
Hi everyone, I am quite new to c++ so i apologise if this is a simple mistake. I cannot seem ...
[3 replies] Last: Thank you long big main and miinipaa for such quick responses to my qu... (by graphi)
pointing to NULL and 0 the same thing?
 
Is: char *endp = NULL; the same thing as: char *endp = 0; ?
[1 reply] : Yes http://www.cplusplus.com/reference/cstring/NULL/ (by Smac89)
c++ program on periodic table
 
i need a help on this program in which i have to write a code in c++ to print a periodic table and w...
[2 replies] Last: Ankita, MiiNiPaa is right. We do not know how to help you if you aren'... (by faust058)
Assembly and C++ dont know the error
 
I am following this tutorial: http://www.drpaulcarter.com/pcasm/ So i got to my first program i h...
[4 replies] Last: http://www.cplusplus.com/forum/lounge/128933/ From what I remember, ... (by Danny Toledo)
Help Linked List Search
 
I am getting an Unhandled exception at 0x00CB569E in AusitnHorton_Chapter17_7.exe: 0xC0000005: Acce...
[3 replies] Last: Okay, a few things: 1) You should define a default constructor for you... (by long double main)
.exe not running outside codeblocks
 
Hello friends, I have created a game.It is working fine in codeblocks, but when I am trying to run ...
[2 replies] Last: The alternative solution to what modoran posted is to not use relati... (by Computergeek01)
help with a question please.
 
im trying to write a program that populates an array of 100 interger elements with the numbers from ...
[5 replies] Last: That's not a crash, that's the anti-virus doing it's job. This is a ve... (by Computergeek01)
by Xann
'defining object' redeclared as different kind of symbol
 
Hello all I am currently having problems with defining an array of objects. I am getting 'redeclared...
[7 replies] Last: Welcome to the world of using namespace std; . Your compiler probably... (by long double main)
April 2014 Pages: 1... 2324252627... 41
  Archived months: [mar2014] [may2014]

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