Beginners - May 2012 (Page 12)

Code::Blocks help!!!
 
I'm a beginner in C++. For some reason, I can't access files like iostream, ctime, cstdlib, string, ...
[2 replies] Last: Well, vector is part of the STL. (by doug4)
open a WORD doc or EXCEL Sheet with C++
 
Hello, I just need to open a WORD.doc or EXCEL sheet with a C++ function. (no reading or writing...
[6 replies] Last: No problem. Happy to help (by apache1649)
Passing object into object
 
Hi guys, Need a little help. I am trying to pass the "sum" object into the "get_average" object,...
[4 replies] Last: There is nothing to be embarassed, to error is human:):) (by SirSmilesaLot)
by Rii
File opening method problem (division by zero)
 
Hello there ^^ While opening files and reading them, I've come across two different methods, they...
[4 replies] Last: It's running fine for me here. What line is the crash happening on? ... (by Rii)
by MAQAH
strlen
 
Hey , I just wanted to check the array size of a char .So I used strlen and I got the answer> Then...
[11 replies] Last: @anirudh sn and @Hendro P Sinaga Let me show you this: #include <std... (by S G H)
c++ segmentation fault with vector
 
Hi everyone, I am just a little stuck on a learning exercise that I almost have figured out. The ...
[9 replies] Last: i saw it right after I asked (by gamefanatic)
compiler warning about inline members
 
I get this compiler warning: In member function 'SparseVector SparseVector::operator+(const Sparse...
[2 replies] Last: GCC says it will not inline the destructor. Probably because it would ... (by Peter87)
system("runfile") open bracket problem
 
Hello everyone, Sorry if this has been answered before. I've tried searching for at least 20 minu...
[3 replies] Last: ne555: Ah I see. Yes, when I try to run C:\Dev-Cpp\export(test).xls in... (by HCsquared)
Help. what is wrong with my code?
 
#include<iostream> using std::cout; using std::endl; using std::cin; using namespace s...
[1 reply] : In the private section of the class you have int result ; . Shouldn't... (by Peter87)
by waliu
templates and inheritance
 
Hi. The following code cannot compile - use of undeclared identifier. I use GCC and XCode for compil...
[5 replies] Last: If you're curious why this works, see C++ FAQ at http://www.parashift.... (by Cubbi)
how to decrease memory usage?
 
I am currently working on a project. While running the program, I don't have sufficient to run that ...
[3 replies] Last: In addition to haglerchristopher's question, what do you need all this... (by BlackSheep)
Need help with shape collision in tetris clone
 
I need help detecting other blocks. right now the block will go through other blocks. new code: ...
[1 reply] : Hi there, I don't see any "board" matrix in your code which stores th... (by closed account o3hC5Di1)
If Statement Trouble
 
Hey, im new to c++, so no doubt making stupied mistakes, im working on a program which could get me ...
[2 replies] Last: I created your program. i hope that i will help you,tell me if it help... (by skarla)
confused with operators ++ -- (1,2)
 
I made this program as my c++ homework #include <iostream> using namespace std; int main() { int...
[23 replies] Last: thanks you very much :) (by Kronolynx)
C++ beginner question with structure
 
Hello, noobie programmer here. basically i just learnt about structure and tried using it in differ...
[2 replies] Last: Oops I noticed i made a mistake when writting near at the end. it sho... (by itchoi09)
Weird output... not sure how to describe. Long code, be warned.
 
For some reason, when I input a greeting, such as "hi" to my program the first time, it prints a gre...
[9 replies] Last: You can easily avoid global variables like so: ... //global vars ..... (by coder777)
by me1291
Unable to call/reference methods from other .cpp files using main.cpp.
 
I'm trying to get my implementation file(main) and the code files separated. Heres what I have so f...
[12 replies] Last: The problem with strings that I mentioned is that he wrote the code so... (by newbieg)
can anyone please check this program to see what's wrong on it .
 
i" am taking c++ class now and I am strugling with that problem. here is the part i have problem ...
[1 reply] : I think you've got a misprint here: for (i=0; i<n; ++i ) { cou... (by ortymd)
Books for visual C++
 
Hello. I've been working on C++ for about a week and I'd like to use Visual C++ as my compiler. Now ...
[2 replies] Last: i donno any books, but this link will surely fulfill your needs: http... (by SirSmilesaLot)
printing an array
 
my program only prints the last value of my array. I can't seem to figure out what I'm doing wrong. ...
[2 replies] Last: Thanks... my bad (by curtisschlepp)
May 2012 Pages: 1... 1011121314... 59
  Archived months: [apr2012] [jun2012]

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