Beginners - August 2009 (Page 7)

Lookin to get back into C++
 
Hey folks, I took on C++ for a good solid 4 - 6 months then took a bit of time off. During those 4 -...
[4 replies] Last: heh if I could get 2 small boxes on the screen with collision detectio... (by GunnDawg09)
by missty
c++ question: add line to text file but got a blank first line.
 
Here is a part of my code; the function is used to write things into a txt file. the function work...
[4 replies] Last: thx for helping me... (by missty)
Outputting strings to files
 
Hello everybody. I'm a beginner programmer who just joined this forum. I'm trying to write a progr...
[2 replies] Last: I agree. Why are you using C output? And is getline part of the std na... (by chrisname)
Binary Search Tree
 
hi, i am a new member and beginner in c++. i have a question. the code is from an older post from St...
[2 replies] Last: try returning a node from your search function. (by mspy2plus)
showing the output of an integer as a 24 hour number
 
I was wondering if anyone could help me get the values represented by (int the_hour) to show up with...
[2 replies] Last: the simplest solution is if ( x < 10 ) cout << '0'; cout << ... (by R0mai)
by rmoat
Visual C++ CLR / Win32
 
So, I've been using Visual C# for a while but do not like how .NET Framework is required on computer...
[5 replies] Last: Thanks for your replies! Yeah, I definitely don't want to use the CLR ... (by rmoat)
by NGen
Deleting Char Array Causes Windows Break-Point
 
Whenever I try to delete a char array (pointer) in a class's destructor, I end up getting an error m...
[5 replies] Last: memory stomp. the array has to be strlen(value) + 1 bytes wide to a... (by jsmith)
Problem with example of a book
 
Hello, thanks in advance for any help. I am reading Bjarne Stroustrup`s Programming: Principles a...
[10 replies] Last: Bjarne's header does not seem very helpful... try this instead #... (by mspy2plus)
Beginner's Manual Advice
 
Can anyone give me advice on the best beginner's manual / idiot's guide to use in order to get a gra...
[3 replies] Last: If you really need a book for a beginner: C++ all-in-one desk referen... (by mspy2plus)
Behind dynamic memory allocation
 
Hello everybody, I'm making 15 minutes lesson on dynamic memory management in c/c++. I wonder if ...
[1 reply] : The heap works by obtaining large chunks of memory and handing out chu... (by kbw)
Jukebox
 
Hey im preety much a newbie in the c++ world and i am required to build a jukebox for a uni assignme...
[1 reply] : I think you should take a look at SDL and SDL_mixer. (by helios)
Pointers?
 
We all know a pointer's main function is to hold the address of another variable. But a thought that...
[6 replies] Last: ... except those optimised into registers. (by kbw)
Q: Need to skeep emply lines in file [fgets]
 
Hello Everyone , I am trying to pase csv file and populate my stucture. But some how I have bla...
[4 replies] Last: fgets() will put the newline of an empty line in the buffer, so testin... (by PanGalactic)
by kostka
return a pointer to a multidimensional array
 
Hi, in working with multidimensional arrays, how do I return a pointer to such an array without usin...
[11 replies] Last: What overhead are you talking about with std::vector? My main bee... (by kostka)
by Pera3
template basics
 
Hi everybody, I'm a beginner in c++ and I have a problem with templates. When I compile this code in...
[5 replies] Last: I see. I'll have to try it out in C#. Maybe it is similar. Thanks f... (by webJose)
hate to love
 
Having an issue with a project. I have to convert four letter words to love. THe issue is my program...
[4 replies] Last: Of course there is no output. The user types in his/her/it? sentence a... (by Warrior2089)
strange behavior in binary i/o
 
hey, i'm getting some confusing results while performing what should be simple binary i/o operati...
[4 replies] Last: wow, thanks everyone! as usual, what was happening is simple and pred... (by mpadams)
getting struct member from vector list
 
struct gunType { string name; //the name of the gun float cost; //the cos...
[5 replies] Last: &boost::lambda::_1->*&gunType::name what does this process do "lit... (by drtt1gg3r)
by fercs
undefined reference
 
Hi everyone, im pretty new to C++ programming and i have a few errors that i just cant solve on m...
[5 replies] Last: The problem is that you have to instantiate the array somewhere (in a ... (by jsmith)
c++ libraries
 
hw can i view the contents of the header files and micros
[1 reply] : Open you compiler "include" directory and double click on .h file. On ... (by Null)
August 2009 Pages: 1... 56789... 17
  Archived months: [jul2009] [sep2009]

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