General C++ Programming - February 2010 (Page 20)

dynamic array
 
Hi, Hi, I want to create an array and to put it in a loop in order to use one function but for d...
[1 reply] : And if I replace *numobs_t by numobs_t I can compile the file but then... (by studentffm)
print derived class object contents
 
This code compiles nicely - i am looking for print methods to make the output print the format shown...
[5 replies] Last: void Tnum::ph_num( ) { cout <<" \n Tnum parameterized constructor... (by Silvermaul)
Vector of vectors
 
I'm needing to read in data from a text file in the following format: Dan Staley 2 1 0 1 2 0 1 2 ...
[2 replies] Last: Yea my instructor is requiring that the vector of vectors is to be cal... (by aerowenn)
operator overloading.
 
Hi, I'm trying to overload an operator to accept a value of data type Rock, which is an enumerated d...
[3 replies] Last: You need to read a string, then convert the string to the appropriate ... (by jsmith)
Compiling C pograms in VS.NET 2005 environment
 
int do_openFile(void) { char *p ; /* pointer to outFileName */ char *m ; /* pointer to report dat...
[4 replies] Last: If I understand correctly, the error occurs at strncpy(mon, m, 2); . ... (by Bazzy)
by RcSepp
Destruction of function parameters
 
This has been bothering me for some time now: I have a very small class (just 4 bytes in size), w...
[3 replies] Last: Denis said it all. Whenever your class is using pointers it is almost ... (by Silvermaul)
File handling
 
Can i use the same file handle to read and write in different files. i mean to say that if i have ...
[6 replies] Last: @blackcoder ' if you are talking about this http://www.cplusplus.co... (by somshekhar)
CPP Unit Testing
 
Can someone explain how I can do it for any given program? Online resources r kind of unclear.
[2 replies] Last: I use TUT framework. http://tut-framework.sourceforge.net/ (by Denis)
by michy
fstream (1,2)
 
hi there, Currently im creating a login program. im using fstream to do this program, so i save m...
[25 replies] Last: i think we should now discuss it here, it will not fit the title "fstr... (by blackcoder41)
Outputting video in C/C++
 
I need to control a data projector (i.e. display some images on it) using C++ code. Is there an easy...
[3 replies] Last: No, I don't know anything about projectors. Sorry. (by chrisname)
TR1 tuple
 
Hi Guys, I started reading on TR1::tuple. Actually, the impression I got after reading one tutor...
[8 replies] Last: Thanks so much guys ! (by kevinchkin)
How to pass VARRAY from C++ to oracle stored procedure
 
Hi, I have googled a lot to find answer for this question... Scenario: I have a stored ...
[no replies]
Snapping in command prompt
 
I wrote a program to line up decimal points like std::right | std::fixed, but with the added abilit...
[no replies]
SYSTEM function
 
My friend have a problem and he can't access CMD, so I wrote this to help him It's working pretty f...
[3 replies] Last: Thank you guys, but I'm not trying to fix anything he has, and it's no... (by closed account iTq4jE8b)
by Zadara
Loop, sleep() program
 
Hey guys, I'm currently busy with a log program, that writes some information into a txt file and t...
[2 replies] Last: This is really best done using separate threads or processes. Create ... (by PanGalactic)
by JCED
Calling derived class functions from a base class
 
Here is what I'm trying to do: #include <iostream> class Base { public: Base() { ...
[4 replies] Last: Thanks, everything works nicely now. (and thanks for explaining why) :... (by JCED)
Can I select a constructor to use with new?
 
I searched a bit, and it seems that I cannot decide on the constructor to use when allocating arrays...
[7 replies] Last: You can minimize that "hit" by using operator new , to allocate the s... (by Duthomhas)
by KC2010
adding a variable percentage
 
need to change program so that I can add a variable percentage of the double x to x_accum #inclu...
[1 reply] : Basic user input. If that's not what you want, clarify the question. ... (by tummychow)
boost::program_options parameters
 
I have a problem with boost::program_options I have an option "password,p" (--password || -p) this...
[1 reply] : You can delete your other post by clicking on the delete (red X) in th... (by Zhuge)
Not grokking boost::bind
 
Hey, all. Not sure if this should go here or in Beginners. It's probably already been answered, but ...
[2 replies] Last: Nifty. Thanks for the quick reply. (by Fideous Scrub)
February 2010 Pages: 1... 18192021
  Archived months: [jan2010] [mar2010]

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