General C++ Programming (Page 52)

Using semaphores instead of waiting..multithreading
he example creates 1 to t threads with each thread pointing to the next and the last thread pointing...
[2 replies] Last: Someone please help. Thanks in advance. (by venkatacplpl)
Help with Function that makes Shows time entered in Clock format
Program should continually have user enter a positive integer, and quits on zero entered. This enter...
[6 replies] Last: ah i see. well then maybe some humor added. if( seconds > 0 ) {prin... (by Noob Programmer)
help im trying to design a profram that models a simple calculator but is getting error messages that i dont understand
#include<iostream> #include<cmath> using namespace std; void computeResult(float, float, char...
[2 replies] Last: when putting code here do this... "["code"]" paste your code here "[... (by Noob Programmer)
Please read my thread, need help
Hello, I am writing a program in C++ using VS 2010 the program should do the following "1-...
[11 replies] Last: Anyway guys thanks for any help (by fadinzr)
by dnulho
Building a destructor that outputs data before destroying it
I am trying to build a destructor that takes an array pointer and outputs part of a private vector a...
[6 replies] Last: Sorry about the delay, RL demanded my attention for the last couple da... (by dnulho)
rand() generating segmentation fault
Why would this code produce segmentation fault : /* #include<iostream> #include <stdlib.h> #includ...
[4 replies] Last: Silly me... Thanks EssGeEich .. (by binarylife)
use a recursive algorithm to determine if a number is in the 2D array of random integers
So i have printed out a 9X9 2D array filled with random integers. my next step is check if numbers...
[2 replies] Last: sorry you are right, silly error, corrected that, also i know its not... (by number001)
Hi need some help with this code why does this crash #ifdef _WIN64 TCHAR buf ; GetSystemW...
[no replies]
by dreyes
Should be very easy to fix.
I have a program created in Visual Studio 2010. (I am a 10th Grade student at a technical school) ...
[1 reply] : total_pins is an integer. When you divide an integer with an integer,... (by xismn)
write a recursive function called sumover
write a recursive function called sumover that has one argument n which is an unsigned integer. th...
[11 replies] Last: thank you all :)) (by jay7390)
by bads
anyone help how to increase speed in this line
for example in tetris when you clear 20 lines the speedrate of the falling piece will increase how c...
[4 replies] Last: btw thanks for the motives :)) ok can you teach me the x and y thing t... (by bads)
Non-contiguous Struct
So... let's say I have about 1200 exported boolean variables in global space and I'd like to put the...
[2 replies] Last: Well, it's just a hypothetical situation.... the realistic situation h... (by NoXzema)
File display problem
Hi i guys i want to display all the contents of a file excluding one based on user input say i hav...
[2 replies] Last: Typically we would do something like //read while file contains data ... (by long double main)
Searching Algorithm
1011101111101111011000110011 Me and a friend are working on a project that requires us to create ...
[7 replies] Last: If you are trying to squeeze out the last bit of performance, you migh... (by doug4)
N x N matrix
I am trying to figure a way out to take in an input from a user and create a N x N matrix with what ...
[1 reply] : I was wondering if anyone knows what I'm doing wrong or have another w... (by Impala570)
program solved
I posted this about a month ago asking for help but it was taken down like a couple of days ago. I w...
[no replies]
sleep in main..Unexepcted result
#include<iostream> using namespace std; #include<unistd.h> int main() { cout<<"I am in...
[1 reply] : Strange:P In any case, in c++11 you now have std::this_thread::sleep_... (by fafner)
linkked list
So I have linked list and function which deletes element if next element is bigger, so my code is wo...
[1 reply] : sry for double post The fact that you knew you shouldn't be doing t... (by MikeyBoy)
C++ DFS (Depth first search)
I am trying to write a program that will find the path from the beginning to the finish.I understand...
[no replies]
Multi-threading using boost::thread
I'm currently trying to log real-time data by using boost::thread and a check box. When I check the ...
[2 replies] Last: Boost ASIO actually has a built-in threading pool for it's resource ob... (by NoXzema)
Pages: 1... 5051525354... 63
  Archived months: [feb2014]

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