Beginners - April 2010 (Page 32)

by SoloXX
GOTO alternative?
 
I'm in a beginning C++ class and I am having a little problem with redirection.I'm trying to find a ...
[13 replies] Last: You got caught in the infinite loop because a negative value was never... (by xeyide)
Gluing together parts to a vector arguement
 
In main I have the following variables: int a; vector<int> b; vector <int> c; I have given a...
[5 replies] Last: Ok cool I'll try that :)! Thanks for the help! (by TunaPete)
Writing to multiple lines to output file
 
I am trying to write a program that will take a character array and write it to the next line in the...
[4 replies] Last: why did you have to declare char_array as a pointer? Thats just how d... (by hamsterman)
by Tripic
Instancing an object from a vector
 
Ok I am messing around and trying to get a grip on oop so i created a class called player that is me...
[4 replies] Last: Actually that makes perfect since why i didnt thing of this before i h... (by Tripic)
Referencing the calling object?
 
I would just like to know if it's possible to reference the calling object in a member function as a...
[2 replies] Last: Man, I already tried that and the compiler complained about it. But, y... (by gameman15)
linking problems...
 
im using an int from one cpp in another cpp using the 'extern int...' it compiles ok... but when...
[1 reply] : http://cplusplus.com/forum/general/21851/ (by Disch)
C++ 10x10 Grid and Image Upload?
 
Hello, Im new in C++ and I need to do a project were I have to create a 10x10 Grid and upload tw...
[1 reply] : There are a zillion ways to do that. Perhaps you could provide us w... (by Duthomhas)
C++ Excercises
 
Hey! The name is Doug. I've had classes in C++ and OOP, but you know the old saying, "If you don...
[2 replies] Last: Thanks, firedraco. I saw that thread in your reply to a thread that ca... (by killingthemonkey)
by vlad61
c++ programs
 
can anyone point me to some opensource c++ written programs that are nicely fleshed out and maybe ev...
[6 replies] Last: try this, though it's not GUI http://www.fredosaurus.com/notes-cpp/in... (by blackcoder41)
Overloading constructors
 
Compiler: Microsoft Visual Studio 2008 Language: C++ OS: Windows XP Hi, Im creating a Black Jac...
[2 replies] Last: Thanks Disch. Knew is was something simple I was overlooking. Have boo... (by skrug80sc)
by SoloXX
Infinite do-while loop
 
Been helped on this forum before with suggestions and ideas for assignments in my beginning C++ clas...
[5 replies] Last: No problem! I'd be stuck on the bare basics if not for this forums, an... (by closed account jwC5fSEw)
how to exit this loop
 
I am trying to count number of lines. How do I stop this loop to print the number of lines. Profes...
[2 replies] Last: number of lines of what? (by blackcoder41)
while loop
 
can someone help me fix the while loop in my program. What i want it to do is to ask the user input ...
[7 replies] Last: Put the ! operator outside of the condition (i.e. !(operation == 'x')... (by closed account jwC5fSEw)
by Canen
Rand() to close to Rand()
 
Hi had a quick newb question. Lets say I was working on a game that a character was attacking a g...
[2 replies] Last: I must have seeded it twice at some point in my code and didn't notice... (by Canen)
by Gorgro
Deleting objects from a vector
 
i've written a program in which i make several objects and place them in a vector. At some point dur...
[1 reply] : Just because you delete it doesn't mean the memory hasn't been given t... (by firedraco)
by broot
mem leak/crash
 
can anyone spot where the problem is in the code below? when i compile it, half the time it runs pro...
[2 replies] Last: doh... that seems to have done it. thankyou :) (by broot)
what's the "sizeof ()" argv?
 
hi there, i have this problem: i need to know the size of the argument strings of the program to be ...
[13 replies] Last: very intresting, thanks everyone ^^ (by closed account 236Rko23)
Array ordering and printing
 
Hello all, Have been attempting a very silly exercise concerning arrays and pancakes. Just tr...
[no replies]
point of sale problem
 
i want to make my program compute for the change of the customer. for example if the total amout du...
[6 replies] Last: This is one way of many---probably not the best. Am I wrong but haven'... (by closed account iw0XoG1T)
by Stef
Simple Timing using GetTickCount()
 
Hello helpful C++ community, i'm new to these forums. Hope I get the format right...i've never tried...
[1 reply] : I get a similar result for that code. I'm no expert, but I think the p... (by sammy34)
April 2010 Pages: 1... 303132333435
  Archived months: [mar2010] [may2010]

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