Beginners - July 2011 (Page 50)

Declaration of vector with pointer
 
Hy guys!I have just began learning visual c++ and i have a little problem.I have the following code:...
[2 replies] Last: I am dynamically allocating because i make this program as a homework ... (by crawler)
Cannot Get Text From .TXT File.
 
Heya, guys. I've been trying to make a command-line RPG game for a little bit, and I've gotten to a...
[9 replies] Last: Ok, I'll go through it line by line: ifstream InFile ("FamilyHistory... (by LB)
Average Rainfall
 
i have been reading my book and looking online but it is easier said and done when it comes to this ...
[2 replies] Last: What? Do you expect us to write it for you? (by nano511)
The Random Number Guessing Game
 
I having problems putting this game together for class, i am very new to this thing. please assist!!...
[1 reply] : It looks like you are avoiding doing the biggest part of the assignmen... (by LB)
what does exactly happen when the destructor run?
 
let's say you have a very simple class; class A{ public: A(){} ~A(){} int GetData(){retur...
[4 replies] Last: when the destructor is called, as well as the member data, the object... (by LB)
Can't read the file when adding '\n' to it
 
fseek(f1, 0, SEEK_END); long Size = ftell(f1); rewind(f1); buffer=(char*) ...
[2 replies] Last: Thank you very much, I've changed it and it works now fine! (by pcultras)
by stage0
how to delete all files in a directory c++?
 
#include <cstdlib> #include <iostream> #include <windows.h> #include <winable.h> http://www.cplus...
[1 reply] : You have to delete each file with a call to remove. Also std::remove ... (by binarybob350)
compilation woes
 
Hi guys, relative newbie here I downloaded this guy https://download.github.com/robbeofficial-...
[3 replies] Last: Ensure that the #include line encloses the file in double quotes and n... (by jsmith)
How to find the saddle point of a matrix?
 
How to find the saddle point of a matrix and how to locate it in columns and rows? A matrix ...
[2 replies] Last: Thanks for your help hamsterman :) now i have an idea although i'm sti... (by marklycris05)
"Fortune Teller.exe has encountered a problem"
 
Ok, so after executing a loop in my program 2 times i get this error message: "Fortune Teller.exe ha...
[1 reply] : while (answer == "Yes" || answer == "yes" || answer == "No" || answer... (by Branflakes91093)
by ploglo
Calculator Problem
 
I am extremely new to c++ and, after spending a few evenings learning the basics, decided to try and...
[2 replies] Last: yeah try removing the two semicolons. Then if it still doesn't work so... (by bzb95)
Array of Pointers to an Array
 
Hi, I am teaching myself C++. I am currently writing a program to sort 10 numbers. I have the ar...
[3 replies] Last: pnumbers is an array of int*, and i is the offset you want to look at.... (by Zhuge)
Struct/string function not working
 
Can anyone help me get this function working? It is supposed to reorder the words in alphabetical or...
[4 replies] Last: Oh, okay. We have just started talking about constructors and destruct... (by Axl Van Damme)
by dev200
Color ???
 
How can i make a color like a square ? like a example: ---------- |Wellcome| ---------- but th...
[6 replies] Last: That's It man thanks very much :) works that i wanted to do :) (by dev200)
c++ help please
 
thanks
[2 replies] Last: thank for your answers. program give the correct answer. (by exmlash007)
by exbow
merging vectors problem.
 
hi guys i am new at C++ and i am right now learning about vectors. i created 2 vectors which deposit...
[4 replies] Last: oh man ... thanks for helping me out LB!! your help is really apprecia... (by exbow)
Help with IDE
 
Hi guys, I am scratching c++ and I am a little bit confused. In Eclipse (galileo 3.5) if I do ...
[4 replies] Last: Hi guys, Here is the output: #################################### **... (by shotgun)
by Tankz
Variable Size Multi Dimensional Array Casting
 
Hi all. This is my first post so before I start begging for help let me first say that I am very gr...
[3 replies] Last: The compiler should optimize *8 to <<3 for you. Also, each result in... (by hamsterman)
little help plz
 
//why the compiler shows error when we write cout<<gree instead of cout<<gree #include <iostream...
[2 replies] Last: The edited code is correct now, I believe. (by LB)
by Amirah
Pointer Upcast and Downcast
 
converting integer pointer to char pointer: int main() { int* ptrInt; char * ptrChar; void* ptr...
[3 replies] Last: Anyways, I was wondering if pointer variables has a different take in... (by Disch)
July 2011 Pages: 1... 4849505152... 54
  Archived months: [jun2011] [aug2011]

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