General C++ Programming - November 2013 (Page 28)

Linked List Problem in delete and memory leak
 
please check the program and correct the delete option and memory leak.Thanks in advance. #include<iostream> #include<stdlib.h> using namespace std; str...
[2 replies] Last: #include<iostream> #include<stdlib.h> using namespace std; struct ... (by helios)
user created power function
 
This is my assignment, please look at my program and give me any tips? (I'm not quite sure I did it right). Write a prototype and function for calculating pow...
[no replies]
heavy explananations needed (BST)
 
I'm taking an intro to C++ class and this is our third assignment. I have never seen or heard of 75% of the words used in this assignment. I have no idea what I...
[no replies]
Using an Array in a function!?!
 
I need help with this program. I need to use 3 different functions. The first function should read in N amount of integer values from the user.If any values are...
[2 replies] Last: Sorry Im new to this. I didn't know where to post it (by painith)
A calculator issue
 
Hey guys, I'm new to all of this, just starting out and I have a question. I'm finally attempting to get my grasp on if else loops and the such and have wr...
[13 replies] Last: Here is the code for the whole program so far... Here are my issues s... (by ohnobigloudog)
Hey Coder777 Where are you?
 
hey all, I'm wondering what is wrong with these codes: while(*ptr != 0) { total = atoi(*ptr); num += total; *ptr++; } ...
[no replies]
Qt and boost: can't get it to work
 
I can not get boost to work with Qt... Can anyone tell me what's wrong with this?? here is the .pro file: INCLUDEPATH += C:/Qt/Tools/mingw48_32/includ...
[5 replies] Last: Actually, I got them to work. I added MinGW/Boost build as the compil... (by IWishIKnew)
Explanation
 
int main(int nNumberofArgs, char* pszArgs ) { char szString1 ; cout << "Enter string #1:"; cin.getline(szString1, 128); char szString2...
[no replies]
Poker program help.
 
Hello there, I need help creating a simple beginners poker game on c++. Can anyone help me out, I only have the introduction to the game. #include <iostream...
[no replies]
Separating Chars From Ints
 
Hello. I have an array as such: char array1 cin.getline(array1,10) //now I want to separate the integers entered from the characters entered. How can I d...
[no replies]
by cshu
recursive vowel counter
 
I need help adding a vowel counter to my recursive program which i completed, i have a small idea how to do it and i even tried it but its not working, i dont k...
[4 replies] Last: ok im not having much luck heres what my program looks like now here a... (by cshu)
Getting errors compiling the program help?
 
So i was doing my Intro to c++ homework and i cant seem to get it right. The Goal is : Make a program that asks the user for two one digit numbers from 1-...
[1 reply] : [co de] "Please use code tags" //and indent properly [/co de]... (by ne555)
vector reverse??
 
Hi guys.I need your help about vector. I wrote a method but it does not run. what i want to do is to reverse given vector and method should generate a new vecto...
[2 replies] Last: Thank you very much Duoas. (by earthquake)
need help with a lexing algorithim
 
so after many months, i finally have a working symbol table that is tested for the important parts (ie the storing of data correctly. user friendly access to el...
[4 replies] Last: bump (by closed account Dy7SLyTq)
Im trying to complie the code but it isnt compling
 
Im trying to compile the code but it isnt compiling, it gives error in calculation section ans also how to use same variables used in main function to be used i...
[1 reply] : Don't spam the forum with multiple threads asking the same question. (by MikeyBoy)
by fafner
gdb segfault in main_arena
 
I'm trying to debug a game. The game is compiled with debug symbols, and when I run it in gdb and make it crash, I get the following message: Program rece...
[3 replies] Last: Thanks both of you, I ran a stacktrace and it pinpointed where it was ... (by fafner)
by Rudy13
C programming "while" loop help?
 
I am trying to write a C program to take numbers from an input file (input.dat), calculate the sum and average of the numbers for each row, and display them in ...
[1 reply] : You're missing some semicolons near the closing brace for the while lo... (by Albatross)
Write a program language C + +
 
Write a program that prompts the user to input the x-y coordinate of a point in a Cartesian Plane. The program should then output a message indicating the loc...
[3 replies] Last: Well, what code did you come up with? We like seeing effort. The more ... (by Albatross)
error message - assertion failed!!
 
hi, i need help about my oop code.. i got this message after i delete allocated class object, should i check the deleting? if it's object what is the correct...
[3 replies] Last: Do not call the destructor directly. You only do that if you are writ... (by Disch)
my assignment project but am having big problem with it
 
Using OOP concepts write a C++ class to implement a transaction log that records all customer transactions in a store. Each transaction contains the following...
[8 replies] Last: how about this i re write the first step no error syntax so far please... (by bimmybell)
November 2013 Pages: 1... 2627282930... 46
  Archived months: [oct2013] [dec2013]

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