Beginners - September 2011 (Page 11)

Need help finding a few bugs
 
I have a program that I'm writing that has at least one bug in it, if someone could maybe point out ...
[7 replies] Last: ok, I found the bug, somehow a line of code got in there that changed ... (by c0d3Man15)
Help with project
 
#include <Windows.h> #include <iostream> #include <fstream> using namespace std; ofstream out...
[4 replies] Last: thanks that did the trick ^ (by imgregduh)
Sorting Names Alphabetically
 
Hello, I am having a little trouble writing this program that lets the user enter an amount of names...
[no replies]
coding C++ for class, need help on code error
 
im doing the box office question. my question thus far is why is the code skipping past my cin state...
[1 reply] : Firstly, use string rather than char for a word, as char is one 8-bit ... (by GisleAune)
by pooshi
Doubly Linked List
 
Hey Everyone, it's been a while but I am back and needs some assistance. I have a linked list and I ...
[4 replies] Last: Alright, I will give it a go. You will be hearing form me again, I'm s... (by pooshi)
cin with std::string crashing
 
Hello all, I'm sort of mystified (and embarrassed) by this. I'm trying to simply cin a std::st...
[3 replies] Last: Ah-ha, indeed! Yeesh *embarrassed*. I'm aware of the differences; I ... (by patricio2626)
by jalfor
Draw Pixel
 
I know that there are lots of ways you can draw a single pixel, though none of them seem to be fast....
[9 replies] Last: And display lists are deprecated (or removed, depending on the OpenGL... (by ultifinitus)
by dugeen
new char(10) is wrong, but what was it doing?
 
I spent a long time puzzling over a crashing program and realised that I'd put ptr = new char(10)...
[4 replies] Last: Stupid me. Yeah sorry disch, I got stuff like that sometimes. I should... (by hanst99)
C++ Card Class?
 
I am supposed to write a Card class for my C++ class and have it display a single card. It builds wi...
[8 replies] Last: This picture may help illustrate what the problem is and how to solve ... (by closed account DSLq5Di1)
Trying to create a summation program
 
I'm trying to make some sort of program that would assign some values to an array and then create a ...
[1 reply] : Never mind, I finally figured out what the problem was. I didn't decla... (by thespiesman)
counting no. of new lines in input file
 
Hi everyone, I am trying to count the number new lines, '\n', in an input file that i am reading u...
[1 reply] : getline( ) stops at a newline, right? So why not count every success... (by closed account zb0S216C)
what is the to practice to learn C++, i prefered self study
 
Guys, Im rowell, guys what is the best way to learn c++, i have a book here dr. bjarne a c++ 3rd ...
[13 replies] Last: azeesmile : interesting. Should work, although I think it's unnecessa... (by Mathhead200)
sorting alghorithm
 
i need a good book to understand sorting alghorithm ,please help me
[4 replies] Last: Ben Duncan is right. The quicksort algorithm contains vectors but this... (by CosminNTG)
printing data in class pointers
 
i am having trouble printing data got thru dynamic mem alloc in c++... this is the code please help....
[5 replies] Last: can somebody help me pls.... (by gk77777)
Iterator
 
How do I make iterator point to random object in a standard list?
[18 replies] Last: One more tiny problem: One bunny infects everyone in single turn. No d... (by closed account 10oTURfi)
.h and .cpp files in VS 2008
 
Hi all, sorry for bothering with very trivial questions, but I spent some times trying to fix this w...
[3 replies] Last: You were 100% right, just copied files and now it works...many thanks! (by araculsa)
Issues with the do-while looping
 
So I've found a new problem with my program. what i want to know is, is there a way to do a 'do-w...
[4 replies] Last: So, I found out what the issue is ^_^, no its just a matter of solving... (by Ssturges)
What is going on here?
 
I was set a challenge, and I thought that I had done well, but it appears not. The challenge was th...
[2 replies] Last: Thank you so much! Yeah, the loop did sound a bit weird in my head to... (by Ben Duncan)
delete heap vector of heap vectors
 
hi, i've made the following vectors, vector< vector<TreeElement*>* >* tempDirList = new vector< v...
[3 replies] Last: Modern compilers should allow you to return a vector<> efficiently, th... (by andywestken)
September 2011 Pages: 1... 910111213... 48
  Archived months: [aug2011] [oct2011]

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