General C++ Programming (Page 34)

by bawer1
(Calculating Statistics -Reading from a Text File) need help!
Ok, I have worked on this for approximately 5 hours, and I have not received the output I wanted, no...
[no replies]
Generally speaking, how would you pass a dynamic array in C++?
Hello guys. I'm new to both C++ and the forum. I was just wondering how to pass dynamic arrays. For ...
[2 replies] Last: template <typename T> T* passArray(T* array) { ... return arr... (by Smac89)
by Gyiove
delete, delete [] and delete [x] - what does x mean?
Hello everyone! Here's the code: char *c = new char ; int a; for( a = 0; a < 100; a++ ) c ...
[2 replies] Last: It is not valid C++ code. It is a Microsoft extension, and I am not su... (by LB)
Can someone explain why this recursive call works?
The program prints the permutations of a string. I was wondering why it works just the part where yo...
[3 replies] Last: When I say it doesn't work, I am not trying to imply that the function... (by Smac89)
CircleClass Function
I am confused about how to continue with this function. I'm not asking for the code just a bit of di...
[2 replies] Last: Sorry, I wanted to delete the other post but I don't know how or if I ... (by bug2207)
String pointers help needed
There are these two practice problems I'm stuck on right now: 1. Write a function that prompts th...
[1 reply] : I already did the first one with references. Please, show that code.... (by keskiverto)
i begined reading "thinging in c++" volume 1, end at chapter 4 there's program called CStash - its s...
[1 reply] : ok i solved all problems and done for char arrays too (^_^) (by lmfaomanwtf)
point of sale system and inventory
How do you create a point of sale system program that deducts the inventory when one/more items are ...
[9 replies] Last: Okay so, the code is fairly long but looks simple. Can you tell me wha... (by TarikNeaj)
[C++] Sockets - How to close particular connection ?
Hey guys, i have question . Does someone know how to close particular connection from client ? I m...
[no replies]
by oseri
Are there "Will it compile?" quizes/tests ?
Basically I'm searching for a website that would have fragments of code which I would have to analyz...
[1 reply] : Damn I would love this aswell! (by TarikNeaj)
help needed. using C program
How do you create a point of sake system program that deducts the inventory when one/more items are ...
[no replies]
Pointers and Structs Practice Problems - need help
I'm on pointers and structs now and I have these Practice Problems on structures: Practice problems...
[7 replies] Last: Alright, thanks. What about the spaceships, though? (by DragonOsman)
How We Can Move Triangle in C++???
Hy plz tell me how we can move triangle n c++
[1 reply] : what? xD I have no idea what you're asking. (by TarikNeaj)
Hi, some advice would be much appreciated.
So, I've got this assignment from university, the prof asked us to use the time function to record t...
[3 replies] Last: The thing is, i do not know how to write the program so that it record... (by Remus10)
The Sieve of Eratosthenes to find prime numbers, stuck in an infinite loop
My problem here is that when I try to find all the multiples of two and zero them out I get stuck in...
[13 replies] Last: I'm sure someone else... (by fg109)
Knapsack Problem
Hi. I am a beginner to C++ programming and i am finding difficulty in writing program for knapsack p...
[2 replies] Last: Can you show us more of the problem? If you need to send files, email... (by Little Captain)
I found a thread telling me how to incorporate Borland graphics in to codeblocks. The answer was pro...
[8 replies] Last: Just use damn dosbox. (by poteto)
by yj1214
function in outside of public, private and protected.
class Foo{ int x; public: private: protected: }; Where does x belo...
[1 reply] : For a class, the default protection level is private For a struct, ... (by Disch)
functionality adapter error
#include <iostream> #include <algorithm> #include <iterator> #include <functional> class A { p...
[2 replies] Last: Many Thanks! I just found, I lost some types definitions(first_argume... (by Wu zhen hai)
Convert between stereo split and interleaved
Would this be the best way to convert between stereo split and stereo interleaved audio data? ...
[no replies]
Pages: 1... 3233343536... 52
  Archived months: [feb2015]

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