General C++ Programming - November 2012 (Page 43)

by Prog24
Palindrome Program. Help Please!
 
My job is to read in a line of data from an input file, remove all white space and punctuation, then...
[3 replies] Last: I started over because something happened with my visual studio and to... (by Prog24)
by Jikax
divide by 48
 
Hello I got the following C (not c++) code: #define PTR( m_idx ) ( &( arr[ ( m_idx ) ].byte...
[3 replies] Last: thnx! I will take a good look at that. (by Jikax)
lirary in c++2008
 
I want to learn using library in c++ 2008
[1 reply] : 1) #include the library header. 2) Tell your linker to link to the l... (by Moschops)
by BHX
Vector of Classes
 
I'm trying to learn to use classes in a vector. So far I understand vectors and basic data types, bu...
[4 replies] Last: Okay, thanks for clearing that up. (by BHX)
urgent-please help by sorting
 
I will sort a vector consisting of floats in ascending order. I can find the smallest elements of th...
[2 replies] Last: float mainpress,maintemp,mainpow,allvariables,diff,mindist=100000; ... (by noktalivirgul)
structure o the whole program
 
i have a problem on how you write the whole program from start to finish. the order on how you decl...
[1 reply] : Start from here http://www.cplusplus.com/doc/tutorial/program_structu... (by Kart)
by imandb
array of char* ( a little urgent)
 
hi everybody i have a problem, i tried to find a way but i coudn't. i have some char* like "not"...
[1 reply] : use a vector http://www.cplusplus.com/reference/stl/vector/ (by Jikax)
Rename a file using Boost::filesystem
 
Hi Everyone, I am new to C++ development and i have written a program to rename a file in a directo...
[2 replies] Last: Thank you for your support. I have fixed the issue by replacing the f... (by TouchElango)
how to read string from file using >>
 
I am trying to read a string from a formatted file using ifstream >>. This is the code fragment: ...
[1 reply] : std::getline(infile, datestr); outfile << datestr << endl; ... (by Stewbond)
by iky
am i doing this right?
 
im not sure if im calling the bool function correctly or if something is messed up in the function i...
[2 replies] Last: thanks a lot. (by iky)
Changing map
 
Right now I'm making a 2D engine in Allegro, and it's going well so far. The only problem is I'm try...
[4 replies] Last: Holy turd. Thanks a ton. I'm new to classes and all so thinking of way... (by closed account GbX36Up4)
LINKER ERROR VISUAL STUDIO 2010
 
#include <iostream> #include <cstdlib> #include <ctime> #include <cmath> using namespace std; ...
[4 replies] Last: Good work cire . @OP If you format your braces like this, then you m... (by TheIdeasMan)
Dynamically Allocated 2-d array
 
Working on a program for a friend of mine to change a .txt file. I was hoping to get some advice on ...
[2 replies] Last: I'm trying to make the dynamic array that is since the count vari... (by raines883)
obviously not the proper way.
 
i know theres a smarter way to do this but this is basic idea of what i want to do. which is to sear...
[6 replies] Last: Because it pollutes the global namespace with heaps of stuff, making ... (by TheIdeasMan)
by Sh0
Issue with directories
 
Hey there guys, I'm working on a program and I've run into some issues with which directoy things ar...
[no replies]
Fast lookup table ideas
 
I need a really fast lookup table: -it will accept a two digit hex number -the first digit will loc...
[6 replies] Last: Stringstream is horrendously slow. Let's not blame stringstream for... (by cire)
What's a good book for an Extremely Rusty C++ Programmer?
 
I have been a professional programmer for nearly 25 years. Most of that time, I used Pascal, Basic,...
[2 replies] Last: Thanks. I bought Effective C++ and I'm finding it really good so far.... (by wpostma)
Finding which derived class object is pointed to by a base class pointer
 
What methods can be used? I have a class with a dynamically allocated data member (through a base...
[6 replies] Last: I need the freedom to assign values for v and a within the L2 class co... (by closed account D80DSL3A)
by SMA01
Basic C++ code?
 
I'm having trouble getting this code to work: Given the availability of a file named numbers wr...
[2 replies] Last: Oh wow, I can't believe I didn't notice that, my mistake. (by SMA01)
QDir::mkpath
 
I can use this function in the visualstudio debug mode and it works fine. If I create an exe file wi...
[2 replies] Last: doesnt work but it's some problems with missing rights (by Darkmaster)
November 2012 Pages: 1... 4142434445... 51
  Archived months: [oct2012] [dec2012]

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