Beginners - September 2009 (Page 16)

by aldo
fopen or fstream?
 
So I am pretty new at C++, I know the basics and stuff, however I would like to begin to learn files...
[2 replies] Last: Here is a tutorial on file streams: http://www.cplusplus.com/doc/tutor... (by Bazzy)
Resizing dynamically allocated memory
 
I'm dynamically allocating memory for a 2-d array (char ** genresList) thus: genresList = new ...
[2 replies] Last: Helios: Thanks. I thought as much but just wanted to check. (by paoloricardo)
Quick questions about freeing memory
 
If I have a vector as a instance variable of a class, do I need to free its memory in the deconstruc...
[2 replies] Last: Thanks! (by SMuzzlim4)
What is the best way to compile these dependencies?
 
I have three files I want to compile: Object.h, Object.cpp, Play.cpp. Both the .cpp files call #i...
[3 replies] Last: Try declaring the function inline in Object.h. (by jsmith)
Command Line arguments
 
I have been toying with this code for a few minutes, and I cannot find a way to convert the third ar...
[2 replies] Last: { std::stringstream stream(argv ); if (!(stream >>size)) ... (by helios)
How do I get past the "kick" feeling?
 
I love to program, I love programming, it's so fun just learning that I can create anything I want t...
[1 reply] : Welcome to the world of computer programming. Some days its exciting,... (by Return 0)
Array trouble
 
I'm double posting because I'm not really sure which I should post it in I can't get my matrix wo...
[5 replies] Last: indeed (by DrChill)
a for loop statement problem...
 
write programs to calculate each of the following quantities, in each case, N indicates a quantity s...
[2 replies] Last: Have you seen these? http://cplusplus.com/src/ http://cplusplus.com/... (by kempofighter)
by gdsimz
pow(x,y) is giving me varied results
 
Hi all, I am trying to compute the monthly payout received from an invested annuity. I have dete...
[1 reply] : Post a main function that shows "exactly" what you are compiling and e... (by kempofighter)
by beent
Tic tac toe program
 
Nevermind, problem resolved. Sorry for wasting time. Your suggestion to learn debugging helped a ton...
[1 reply] : What compiler / IDE? Have you used the debugger yet? This is the typ... (by kempofighter)
I need to compare two characters
 
Hay! So im trying to create a simple text-based game with c++, i have got verry good results so ...
[5 replies] Last: this thread whent over to hear: http://www.cplusplus.com/forum/beginne... (by closed account z05DSL3A)
Brute Force
 
Right, so you've read the title and you thought wanna be hacker eh? Wrong, I really just want to try...
[13 replies] Last: Ok thanks everyone for all your help, seems its a bit too advanced for... (by arcadiu)
array type of programming for assignment
 
hi.. i'm new here..my cousin has this c++ assignment..but he said he doesnt know anything about prog...
[5 replies] Last: Oh, you're so obvious... HURRR DURRR HOW DO I TRICKED PEOPLE INTO DID... (by chrisname)
Class instance runtime error
 
Hi all, I just made a class Data for representing dates, and when I instantiate it, it's giving...
[1 reply] : Found out the problem. Solved now. :) (by stormqueen1990)
I can't get it right.
 
#include<stdio.h> #define LITRES 20 int main() { int convert; float convertt; printf ("...
[3 replies] Last: You forgot a semicolon after your first printf and put an extra forb... (by stormqueen1990)
difference between iostream and cstdio
 
hi everyone~~~~~~ my question is same like the title ~~~~~~ what is the difference between header ...
[9 replies] Last: oo~~~ i see~~~~~~~~ haha~~~~actually i just started to learn C++ ab... (by loveless)
Problem with defining Template Function
 
Hello, I receive the compiler error Card.cpp:13: undefined reference to `std::string to_String...
[6 replies] Last: BTW, to_String() is equivalent to boost::lexical_cast<std::string>(). ... (by jsmith)
visual c++ 2005 be infected bywin32/genetik ?
 
hi, i encounter a strange thing, can any one give a explanation? my host run on w2003server ...
[1 reply] : This is a programming forum. (by helios)
cplusplus for beginners
 
where can i find free downloadable installer of c++?
[4 replies] Last: thank you.. ^_^ (by sharmainetobias)
cin and cout are different
 
anyone have any idea whey when i use #include <cstdlib> #include <iostream> using namespace st...
[6 replies] Last: I don't think there needs to be 5 (6 now) different posts telling him ... (by Warnis)
September 2009 Pages: 1... 1415161718... 23
  Archived months: [aug2009] [oct2009]

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