Beginners - July 2010 (Page 30)

nesting namespaces
 
Is it legal to nest namespaces, so that distinct user-defined sub-scopes can exist within a single l...
[1 reply] : Absolutely! (by Galik)
a simple line
 
Hello How do you draw a line segment in the middle of the screen and make it always be on top of ...
[2 replies] Last: windows(32) sorry im noob. (by Kazamman)
when must/not namespaces be declared in headers?
 
When I write a header containing only the prototypes of functions with distinctive names, it works w...
[2 replies] Last: 1) a namespace is not to avoid redundancies, it's to avid ambiguity be... (by Bazzy)
virtual file system
 
hi every body i'm having a project of a virtual file system where it consists of 4 logical parts ...
[4 replies] Last: @athar can i ask a question FAT: stores the list of files stored i... (by ramy ahmed)
Where to learn Win32?
 
I need help learning Win32...actually, I don't know whether I should be learning it yet. So far I kn...
[15 replies] Last: Thanks for the advice. BTW, if you are going into game programming, th... (by soccermiles)
the cin.fail() not work good
 
If you write in x and y chars that closes the program code: main.cpp #include "header.cpp"...
[1 reply] : Mate, could you please elaborate on your question. What exactly you wi... (by Rockysaini)
Concept of Class inheritance
 
#include <iostream> using namespace std; class A { protected: void functionA() { co...
[3 replies] Last: Ahh, I get it. Yeah, you basically just create wrapper functions for ... (by firedraco)
big numbers
 
hi.... i have a problem we know that when we wanna to use big numbers we can t use (int,long int,....
[11 replies] Last: Well mate, try to use gmp library functions. Its public available on t... (by Rockysaini)
Heap Error while deallocating memory
 
#include <iostream> using namespace std; int main() { unsigned char name = "Rocky is my na...
[6 replies] Last: @ magnificence7 thank you Mate!!! (by Rockysaini)
by vkaul1
stl map value datatype
 
Can the datatype of the value(not the key) be a struct with 2 different integers(parent and child)? ...
[7 replies] Last: Why don't you just write some code and try these things? read the doc... (by firedraco)
Header files
 
Hello again, i've just finished defining my first fairly large c++ class. However i would like to no...
[1 reply] : http://www.learncpp.com/ (by Incubbus)
by EdBoon
menu presentation
 
I am working on a personal project using allegro/c++ and currently am displaying menus as an array o...
[2 replies] Last: Yeah that makes sense. I can make a guy run around and kill a bunch o... (by EdBoon)
Strings, Files and Integers
 
Hey guys, I've been stuck on several problems. I'm still an inexperienced programmer of C++, and ...
[4 replies] Last: Sweet, that looks like what I need :D Thanks for your help. Is there ... (by closed account oE6pX9L8)
How to remove largest item from a Linear Linked List
 
so here is my problem, I need to remove the largest integer from a linear linked list only traversin...
[1 reply] : You are trying to do too many things at once, and getting overloaded. ... (by Duthomhas)
why is the iterator no longer valid in this example?
 
Hi, I'm reading about vectors att this site (cplusplus.com) and came across the section about the...
[2 replies] Last: Ah, of course. Thank you very much filipe! (by SirSkorpan)
by vkaul1
STL map erase
 
If I use erase for a key that does not exist in the map, is it a problem or the function does not do...
[6 replies] Last: Read the documentation here. It will tell you the same thing that jsm... (by kempofighter)
Multiple conditioned if statements
 
I can't seem to get this to run without errors. if (sex == "m") && ((age >= 18) && (age <= 35)) ...
[14 replies] Last: That can be further simplified. Note that all conditions depend on age... (by helios)
is it right
 
# include <iostream> using namespace std; int main(void) { float a, b, result; char sym...
[7 replies] Last: [quote=khalidhussain]how can i set the timing to while loop I think ... (by m4ster r0shi)
how can
 
how do get this output 1 2 3 4 5 6 7 8 9 10 in that 1 2 3 4 6 7 8 9 10 how to get mu...
[13 replies] Last: Literally any, I find it rather depressing that I'm the only one going... (by Kyon)
Desperate!!! Function Question.
 
Hello, I am taking C++ and am not good at it at all. I have lots of problems with functions. The ...
[11 replies] Last: Which book/online guide would you recommend after finishing this one?... (by closed account z05DSL3A)
July 2010 Pages: 1... 28293031
  Archived months: [jun2010] [aug2010]

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