
please wait
by Redfox814
Code::Blocks help!!!
|
I'm a beginner in C++. For some reason, I can't access files like iostream, ctime, cstdlib, string, and vector. First, are they all part of the Standard Temp... |
May 24, 2012 at 7:40pm
[2 replies] Last: Well, vector is part of the STL. (by doug4)
|
by joachimHS
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, just open it) I guess I need a function with the doc n... |
May 24, 2012 at 6:06pm
[6 replies] Last: No problem. Happy to help (by apache1649)
|
by toomanystars
Passing object into object
|
Hi guys, Need a little help. I am trying to pass the "sum" object into the "get_average" object, but it's not passing the "sum" member variables "numerator"... |
May 24, 2012 at 5:14pm
[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 both work, but not when I try combining the two methods. ... |
May 24, 2012 at 3:20pm
[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 I made a char array , arr ; and I used it cout<<"Insert :"... |
May 24, 2012 at 1:56pm
[11 replies] Last: @anirudh sn and @Hendro P Sinaga Let me show you this: #include <std... (by S G H)
|
by gamefanatic
c++ segmentation fault with vector
|
Hi everyone, I am just a little stuck on a learning exercise that I almost have figured out. The code I am working on, and posting below, it has an array of ... |
May 24, 2012 at 1:41pm
[9 replies] Last: i saw it right after I asked (by gamefanatic)
|
by chameleon
compiler warning about inline members
|
I get this compiler warning: In member function 'SparseVector SparseVector::operator+(const SparseVector&) const': warning: inlining failed in call to 'Spars... |
May 24, 2012 at 1:24pm
[2 replies] Last: GCC says it will not inline the destructor. Probably because it would ... (by Peter87)
|
by HCsquared
system("runfile") open bracket problem
|
Hello everyone, Sorry if this has been answered before. I've tried searching for at least 20 minutes before coming here. Basically the line is: run = ... |
May 24, 2012 at 1:13pm
[3 replies] Last: ne555: Ah I see. Yes, when I try to run C:\Dev-Cpp\export(test).xls in... (by HCsquared)
|
by zjhok2004
Help. what is wrong with my code?
|
#include<iostream> using std::cout; using std::endl; using std::cin; using namespace std; #include<string> #include<cstdlib> #include <ctime> #ifn... |
May 24, 2012 at 1:12pm
[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 compilation. Everything is in a single header file. include "My... |
May 24, 2012 at 12:34pm
[5 replies] Last: If you're curious why this works, see C++ FAQ at http://www.parashift.... (by Cubbi)
|
by unstoppy
how to decrease memory usage?
|
I am currently working on a project. While running the program, I don't have sufficient to run that program fully. How can I decrease memory usage? |
May 24, 2012 at 11:54am
[3 replies] Last: In addition to haglerchristopher's question, what do you need all this... (by BlackSheep)
|
by shywolf91
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: //Dark GDK - The Game Creators - www.thegamecreators.co... |
May 24, 2012 at 11:32am
[1 reply] : Hi there, I don't see any "board" matrix in your code which stores th... (by closed account o3hC5Di1)
|
by choccokels
If Statement Trouble
|
Hey, im new to c++, so no doubt making stupied mistakes, im working on a program which could get me into a job learning c++ and making software from scratch, bu... |
May 24, 2012 at 10:51am
[2 replies] Last: I created your program. i hope that i will help you,tell me if it help... (by skarla)
|
by Kronolynx
confused with operators ++ -- (1,2)
|
I made this program as my c++ homework #include <iostream> using namespace std; int main() { int a=15, b=3; a= a*6/a++; b= --b*a++/b; cout << "a=" << a << e... |
May 24, 2012 at 10:17am
[23 replies] Last: thanks you very much :) (by Kronolynx)
|
by itchoi09
C++ beginner question with structure
|
Hello, noobie programmer here. basically i just learnt about structure and tried using it in different occasions. I don't know what to do, but what i tried to... |
May 24, 2012 at 8:37am
[2 replies] Last: Oops I noticed i made a mistake when writting near at the end. it sho... (by itchoi09)
|
by NerdTastic
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 greeting back (like it's supposed to). Every time after that, h... |
May 24, 2012 at 8:02am
[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 far, I copied it out of my deitel how to program C++ 8th edit... |
May 24, 2012 at 7:20am
[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 with Program will put the numbers in order and print the... |
May 24, 2012 at 6:15am
[1 reply] : I think you've got a misprint here: for (i=0; i<n; ++i ) { cou... (by ortymd)
|
by Redfox814
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 I need a book for C++ that uses Visual C++ 2010 as it's comp... |
May 24, 2012 at 4:06am
[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. all the other code I have looked at seems to function the sa... |
May 23, 2012 at 11:59pm
[2 replies] Last: Thanks... my bad (by curtisschlepp)
|