General C++ Programming (Page 70)

New! Join the C++ community on Google+
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)
by logart
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 logart)
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 fun2code)
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)
problem functions and structure
 
i have always error does not appear and i dont know what is the way to avoid this is it error C2...
[5 replies] Last: thank you for correcting my bad mistakes (by alsatrawi)
by PBC1
Pointers
 
In the statements below, the occurrences of strings of * is new syntax for me. Can someone explain i...
[5 replies] Last: I think it's easier to understand as a pointer to a pointer to a point... (by ResidentBiscuit)
Fraction Help!
 
I am writing a program with Visual Basic 2010 C++. I have almost finished but I can't figure out my...
[12 replies] Last: The only fractions that work are the ones that the numerator is the gc... (by EMetalmulishaH)
by Triea
How can I make this program neater?
 
For one of my assignments, I needed to make an RPN calculator by using linked lists. I showed my pro...
[1 reply] : You could start by removing the superfluous #include s and using nam... (by hanst99)
ANSI escape code, from Argument
 
I am trying to write a program that takes a string from the user and formats the CLI text using an A...
[3 replies] Last: Thank you very much, I have adapted the script and simplified it co... (by dm14v07)
by BandK
Sort problem :(
 
I have struct like this...User write price and name and each element... First i make new float arra...
[1 reply] : I have struct like this...User write price and name and each element.... (by kbw)
Error in code, need help fixing
 
Doing a project but can not get it to compile.. Can't figure out what my errors are... here is my ...
[3 replies] Last: did_you_hit is the name of your method. At lines 36 and 40, you app... (by MikeyBoy)
Passing Int to be Displayed Properly
 
Class Shape { Area = x +x ; cout <<"Area is" <<Area; }; This results returns a value 24....
[8 replies] Last: Is there any place I can view codes written by others to learn from... (by AbstractionAnon)
Problem with Template-Application
 
Hey Guys, here i am again :) I have to declare a template class or template struct in a header...
[5 replies] Last: The Problem sits 30cm from the Screen, like each time :D I modified t... (by trialanderror usually)
Pages: 1... 6869707172... 77
  Archived months: [oct2012]

Cannot post in this page. To post a new message, go to the first page.