General C++ Programming (Page 58)

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)
Help! Program to generate Symbol table
Need to create a program in c++ to generate a symbol table of given assembly language program?
[1 reply] : If you compil/link for debug, you'll get a symbol table. Exactly how ... (by kbw)
by Slord
std::out_of_range vector error
Hi there :) I've been struggling with some code that was working fine until recently when I must ...
[4 replies] Last: Ah, that makes sense :). Cheers, been racking my brains all day over t... (by Slord)
why I cannot run this programe?
When I run the programe following errors were displayed and i can not find any error. Error ...
[2 replies] Last: I'm fairly sure this type of error occurs when you haven't properly li... (by Mike5424)
by pervez
UM6 serial parsing(datasheet parsing function) problem for getting serial data
BOOL readbyte(BYTE &resp) { BOOL bReturn = TRUE; BYTE rx; DWORD dwBytesTransferr...
[no replies]
by bads
help tetris
can anyone help me put some menu here that includes *Start *name of player and to improve the speed ...
[4 replies] Last: thanks (by bads)
Pages: 1... 5657585960... 68
  Archived months: [feb2014]

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