General C++ Programming - May 2013 (Page 15)

If Statement Within a Switch
 
Hello! I am having a bit of difficulty with this. I wish for the program to output "The number zero ...
[2 replies] Last: Ah. You are correct, Mister Vlad. I didn't realize that the '=' operat... (by Vauxhall)
Binary tree Insert?
 
Hello everyone. I recently finished implementing a Binary search tree for a project I was working on...
[5 replies] Last: I know what they are. And to be pedantic, a BST is a type of binary tr... (by Duthomhas)
by MaxFox
Problem in my c++ code
 
here is the code: #include <iostream> #include <cmath> #include <conio.h> using namespace st...
[3 replies] Last: he means: edit your message and put code enclosed by tag [ code ] ... (by Nobun)
Destructors being called more then expected?
 
In this code: #pragma once #include <iostream> class CBox // Derived class { pub...
[12 replies] Last: So true thanks Peter87. and thanks cire! (by Anmol444)
by Bhallu
Doubly Linked List
 
Please Tell me what is wrong in this program and how it can be solved? #include <iostream> using...
[no replies]
libusb win 32
 
Hi Can anyone give me some correction about libusb win 32? Thanks!! :)
[4 replies] Last: Yes I read the documentation but I don't understand how to configure V... (by fabioGiudici)
Random access iterators
 
In this code: vector<int> mydata(100); mydata = 999; In statement 2 does that call t...
[18 replies] Last: Ok, thanks. (by Anmol444)
Indicating a sequence of elements
 
Why is it that in the STL it is standard to indicate a sequence of elements in a container by a begi...
[2 replies] Last: Oh true, thanks! (by Anmol444)
question about headers and objects files
 
Hi all, I have a question regarding how GCC relates a header file and its binary file. The followi...
[7 replies] Last: Thanks for the prompt replies! I wasn't sure how GCC searches for refe... (by santiagorf)
Calculate date and time from UNIX time
 
I need to calculate the date and time from UNIX time. And i need to do this without any extra librar...
[no replies]
AVL tree deletion
 
So I am new when it comes to tree data structures and I am supposed to implement an AVL tree. My pro...
[no replies]
Help Please
 
So I've been tasked with creating a program that checks to see whether or not a string is a palindro...
[7 replies] Last: Found one problem you should be able to fix easy. If you type !@#$%^... (by SamuelAdams)
GDB for Memory leaks
 
Hi Guys, Please help me to understand why the below command has failed with the error "gdb: unrecog...
[1 reply] : http://stackoverflow.com/questions/14775312/enable-memleak-option-in-g... (by cire)
by yl88
Problem with deleting pointer
 
not nedde any more.
[1 reply] : You need to take another look at your sort function. The line: int*... (by cire)
Convert PDF to TIFF
 
I am developing a program that convert PDF files to TIFF files. I use imagemagick++ and can accompli...
[7 replies] Last: I don't know anything about imagemagick++ either, but the one thing d... (by doug4)
Executing of batch file
 
I want to execute one command using batch file but non of below code is working where Please tell me...
[2 replies] Last: @aryanLohia Your code works ok for me, if I ensure that the batch fil... (by andywestken)
vulnerable recursive programming on "define"
 
hi guyz! i've been studying "algorithm" by myself by book. and there's this part - vulnera...
[1 reply] : Look at the y term of max. For each recurrsion of max_arr2, the y ter... (by AbstractionAnon)
by labeeb
Error in reading struct from binary file.
 
Below is the code for reading a struct that was stored in a binary file. Problem is while reading f...
[3 replies] Last: By the way, the version of the while loop I proposed can be easily c... (by KRAkatau)
by ReVolt
Turning BMP Image To Min. Finite Automata
 
Hello I have problem with this... I don't know how to start with it, first thing that came up to my ...
[12 replies] Last: thanks, but I have to consider the offset at each row em I right? (by ReVolt)
Question about unordered map
 
This http://www.cplusplus.com/reference/unordered_map/unordered_map/ Says that -----------------...
[13 replies] Last: Thanks! (by Anmol444)
May 2013 Pages: 1... 1314151617... 47
  Archived months: [apr2013] [jun2013]

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