Poet, Singer, Writer, Admin of Indyaspeak.com
cstdatomic (c++0x std::atomic) / g++ 4.4
Hello,
I'm trying to use cstdatomic (std::atomic in the upcoming c++0x standard) in g++
Deleting pointers froms vector?
Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do
How to copy a part of a vector in a raw memory
Hi,
How can I copy a part of a vector into a memory:
1
2
3
4
5
Doubles are giving me problems
Ok so, first of all i made a double = 0.05, but when running the debugger it shows up as 0.04999. I
Calculating n! using vector
#include
#include
#include
using
Dynamic memory problem
Hey,
At the beginning of my code, I have this line:
Shape* gShape = 0;
How to add an image/C++ OpenGL?
Hi,
I have been trying to look online for this and, so far, I haven't found anything usef
trouble printing an array....
I'm having some trouble printing out an array forwards. I'm figuring out the high and low of an arra
Program with calculate Meteorologic measurements
Hello I'm a beginner and I want to make a program with calculate Meteorologic measurements:
ba
Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri
How to generate a random array of integers subject to a certain constraint
I am writing a program that asks the user to enter an integer N and then generates a random array of
output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.
Any meaningful project for a new C++ programmer?
I want to do some meaningful program, so I can help myself to learn
Assume I know the fol
Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:
read integers that returns a negative or prints the average
Im trying to finish this homework assignment by tommarow afternoon and I keep getting stuck.
Wr
Multi dimensional arrays
If I put in this code:
1
2
3
4
5
6
7
8
9
10
11
12
13<
function not returning the correct value
I have a program that needs to return a value from a function. I have an output statement inside the
Libraries in C++
Hi all,
I have two libraries. one is based targeted on linux platform and uses another li
Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s
Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re