Cplusplus

Program with calculate Meteorologic measurements
Hello I'm a beginner and I want to make a program with calculate Meteorologic measurements: base classe - time( hour, minutes). Derivative class -

Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understand something. I have this code here that is basica

Taylor Series Function
So I am working a a project for my intro C++ class, and I am having some trouble with a function for approximating exp(x) using a taylor series. The t

Big O & time complexity ???
can you help me how to calculate the Big O & time complexity for any algorithm and c++ program please?

how to get sn motherboard
Hello. I want to get serial number motherboard, cpu and else hardware. Can You show me samples. I edit post ;-)

Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code: 1234567891011121314151617181920212223242526272829

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 following # Chapter 1: C++ Fundamentals This module will

output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex. Im not positive but i think i might have to use P

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 integers of size 2^N, each of whose entries range

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 string accepted using pointers.The code following is error

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. Write a Function that reads integers from the keyboard.

trouble printing an array....
I'm having some trouble printing out an array forwards. I'm figuring out the high and low of an array and did soo, but can't print out. My result is z

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 useful. I would like to add a .bmp image to an OpenGL window.

Dynamic memory problem
Hey, At the beginning of my code, I have this line: Shape* gShape = 0; As this is dynamic memory, I delete it at the end: delete gShape; gS

Calculating n! using vector
#include #include #include using namespace std; int main() { //declaration int i,n,num,

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 know this has something to do with how doubles sto

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: 123456789 long ReadAt(T* pData, long items, long& pos) { ... check vector bound ..

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 delete on all indexes, but my question is that if

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++ 4.4, but it doesn't seems to work as expected and I would

Bluetooth RSSI & VIsta
Okie I got 4 Bluetooth adapters, a DBT-120 by Dlink, A Zonet Microsoft Bluetooth which is what I used with 32Feet and another TOS Bluetooth Adapter, a

 

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash