General C++ Programming - July 2008 (Page 7)

by karang
DEVMODE and DEVNAMES
 
Hi There are 2 structures DEVMODE and DEVNAMES. What is these structures used for. Is there an...
[1 reply] : The DEVMODE data structure contains information about the initializati... (by closed account z05DSL3A)
problems with arrays and loops
 
ok so im writing a soduku puzzle validator to make sure the puzzle is correct. where the numbers 1-9...
[no replies]
Consult your Compilers documentation
 
Hey, I've been reading from several sources to learn C++. I have seen the phrase "consult your...
[3 replies] Last: Thanks all, I think I got what I need, also started an... (by enduser000)
Text file reading problem
 
I've got a problem regarding reading a text file. I have a text file which is this format: 3 2...
[11 replies] Last: The if(!infile) works fine. But if you want to be completely accurate ... (by Mitsakos)
by jrohde
Location of library functions?
 
Hello, I often find myself curious to see how many standard c++ functions are actually defined. ...
[4 replies] Last: Yes, for companies like Microsoft and Comeau and Sun Microsystems... (by Duthomhas)
random numbers
 
does any one know a library that can help me generate random numbers starting from a seed that can ...
[2 replies] Last: rand() is all you get on Windows On Linux you get int random() ... (by rlskinner)
Compiling #define's *value* in a string
 
OK, I need to compile the *value* of a #define'ed symbol into a C++ program. I would like to pass t...
[7 replies] Last: Yeah, I thought about the include file solution. It looks to me lik... (by rlskinner)
dynamic creation of objects
 
Hi friends , I am new to c++. My problem is that I have been given a list of strings, this strin...
[6 replies] Last: read about reflactions it is about loading ur class in run time (by shereif102)
Trying to make a table using a loop.
 
Thanks..i figured it out...not quite sure how to delete this!
[3 replies] Last: Hi how about at the end of the loop: beginning_payment = ending_pa... (by int main)
Nested classes and local classes
 
I'm just reading up on these things. Does/has anyone make use of them? To me they seem like a trap...
[2 replies] Last: Never use them, they over complicate the code unnecessarily. KISS (Kee... (by Zaita)
LOGIC????
 
I get the logic behind all of these. But I dont understand "bool Rational::isEqualTo(const Rational...
[4 replies] Last: Wiki? O_O (by simo110)
Read wchar_t from stream
 
Hello, I'm trying to read a wchar_t from cin but I always have the following compiler error "binary...
[6 replies] Last: From MSDN: wfstream A type basic_fstream specialized on wchar_t ... (by Mitsakos)
by sulfur
random no for floating no:
 
Guys plz help me out to calculate random floatin number for a specified range...!!
[2 replies] Last: Ok. Typically you do rand() and mod it by the number you want as th... (by Zaita)
The design and evolution of C++
 
Hi, This is the paragraph from "Design and evolution of C++" by Bjarne Stroustrup. First let me tel...
[10 replies] Last: OO is one of a few good development methodologies. It's surely not the... (by Zaita)
Memory Safe?
 
Hi all, I was just wondering weather you could tell me weather this function that i have wrote wi...
[10 replies] Last: I have read this thread with bewilderment. What the hell happened her... (by bnbertha)
Instantiating the objetcs
 
friends thnaks a lot for previous help, now i have another problem :) now that i have a class(say...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
Question???
 
Hey, This is what the Function suppose to do??? But I dont understand few things. For instance, wha...
[2 replies] Last: so setw will allow the filename to be certain amount of characters????... (by desichor7)
List Iterator
 
Thanks a lot.
[5 replies] Last: function1() is a member function of outer::inner2, which is private. Y... (by weaknessforcats)
C++ String Reverse Question
 
I was given a program to think about: To read in a 4 word sentence from the keyboard then display i...
[5 replies] Last: Sorry aakanaar , my post was directed at Simo110 who seem to have g... (by guestgulkan)
System Pause
 
Hey, whenever I write a C++ program it flashes the window for 1 second then it goes away. When i add...
[17 replies] Last: You can repeat the program until the user prompts to close it. Say for... (by mikeb570)
July 2008 Pages: 1... 5678910
  Archived months: [jun2008] [aug2008]

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