Beginners - June 2009 (Page 9)

by agaria
Pointers & Refrences
 
From pointers and references; which one is more efficient in terms of memory usage? Give valid reaso...
[3 replies] Last: http://en.wikipedia.org/wiki/Reference_(C%2B%2B) (by kbw)
by ab1988
fstream
 
when i run this code it gets compiled successfully but after running gives me an error and closes do...
[1 reply] : str = (char*) malloc(sizeof(char*)); allocates a block of four bytes... (by kbw)
by Hoerne
Magic square - odd output in a correct(?) program
 
Hi, I am doing the magic square problem for my c++ class and I am getting a few errors. I was hoping...
[3 replies] Last: Here is the code magic square. :))) template <typename T> T** al... (by pupkin)
Program closing out after I get input
 
My program is a game. Two numbers are randomly generated until they match, and the player must guess...
[1 reply] : SOLVED. (by Warrior2089)
by wretch
C++ debugger extensions or API's ?
 
If I am stepping through a C++ debugger, I am able to see the current line being executed, values fo...
[no replies]
Rand and Floor
 
Hello, I'm having some problem with the floor and rand functions. What I want to do is create a ra...
[11 replies] Last: Thanks, this helps a lot. (by EpsilonOmega)
by levone
unhandled exeption with try and catch even..
 
right now im learning about exception handling using visual c++ express. this code #include <...
[9 replies] Last: oh, thank you Grey Wolf. thanks you to Null for the link. gonna look ... (by levone)
accessing static members
 
Hi, Imagine i have such code: struct A{ static int a; int Get_a(){ return a; /...
[2 replies] Last: That would be annoying if Get_a() was a longer function. I'm currentl... (by hamsterman)
Class & Template Recursion
 
Hello cplusplus.com Forums, I am pretty new to programming and I have been searching for ways to ...
[5 replies] Last: Thanks Disch, and again, thank you Hammurabi, with your help I have... (by AngelGithara23)
by GameOn
return type of v[i].size() where vector v is vector<string>
 
i was making a programme in which i had a vector<string> i need to return the string in this vector ...
[6 replies] Last: Now that's just showing off. :0) (by closed account z05DSL3A)
opensuse compile using konsole
 
I've just been given OpenSUSE as my workstation and I have no previous experience with it. I do hav...
[1 reply] : g++ hello.cpp -o hello ./hello (by helios)
Book recommendation for a sort-of beginner
 
So I'm not a COMPLETE noob to programming and C++. I've programmed a few small things in VB and C++,...
[1 reply] : Search the site (top of the page) for Book , You will find there are ... (by closed account z05DSL3A)
pointer with array
 
#include <cstdlib> #include <iostream> using namespace std; int LEN = 10; int j = 0; int k...
[5 replies] Last: thanks (by areyoupp)
"Address boundary error" with struct
 
I am using gcc 4.3.3 on Ubuntu 9.04. The following code: #include<stdio.h> struct TEST { int...
[2 replies] Last: Oh I see. Thank you very much. (by lilydjwg)
character to Int conversion error...
 
Hello All, Here is my program followed by the error. its almost complete but for some reason it ...
[9 replies] Last: You don't want the ';' after your while loops. Also, you still aren't... (by firedraco)
Trouble Importing Text Files
 
Ok. I need to import a text file called LOG.DAT and I'm having some trouble. I can't figure out wh...
[2 replies] Last: Oh yeah...... ......thanks! (by ClarionCoder51)
mail.dat
 
hi i have this project and i need help with it, maybe someone can help me. please? im really new a...
[3 replies] Last: Oh, goody. They've gone from just wanting code to wanting well-written... (by helios)
Gpa Calc (1,2)
 
I am making a program in which i want to teke the Grade from the user and calculate his semester Gpa...
[27 replies] Last: its kinda akward that you say dear in every post, just sayin (by jloundy)
Can't compile
 
As some other threads I have looked at stated, I am a very new member, working on my very first C++ ...
[7 replies] Last: I've gone to file > properties > advanced > and saw that it (for some ... (by Sanity Pig)
by namXut
save linked list to .txt
 
How does one go about saving information in a linked list to a .txt file. I have a working program ...
[4 replies] Last: the info in each node is a bit big for that. each node of the list con... (by namXut)
June 2009 Pages: 1... 7891011... 18
  Archived months: [may2009] [jul2009]

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