General C++ Programming - March 2011 (Page 8)

Function Pointer
 
Hey, I have a header file with this line of code: extern "C" void amqC_dataInit(const char *u...
[5 replies] Last: I forgot to suggest boost::function. (by closed account S6k9GNh0)
help with drawing a triangle plz
 
I have made a program to draw only the outline of a triangle which ask the user to choose a characte...
[no replies]
Little help here please!
 
My name is Rachael and I am a recruitment consultant for software developers across Scotland. Being ...
[5 replies] Last: I was chalking it up to a confidence problem, it's common enough espec... (by Computergeek01)
Thread exited with code 1 (0x1)
 
Hi, I am working with two threads. At the end of the program I am getting the message in the deb...
[2 replies] Last: Check kbw's point first. My guess would be that your threads aren't... (by Computergeek01)
Translating to pseudocide!!
 
#include <algorithm> #include <cctype> #include <functional> #include <string> bool palindrom...
[5 replies] Last: pseudocide = pseudo suicide =) (by ultifinitus)
reference counting with smart pointers
 
hi, could anyone please point me towards a good link or post a code that helps explain how these c...
[1 reply] : http://www.lmgtfy.com/?q=c%2B%2B+reference+counted+object (by kbw)
by Scharl
Hexadecimal input and output problems
 
I am having some problems with handling hexadecimals. I first want to input a string, then get i...
[5 replies] Last: High byte is the one with most significant digits, low byte is the one... (by hamsterman)
Creating a CD menu with extended functionality.
 
I need help creating a CD menu, I know basic C++ though I dont know how to go about this, I dont kno...
[10 replies] Last: Er, use tclkit . (by Duthomhas)
program works not well.. (data structure problem)
 
Dear all: My program runs slowly. And I’m not sure if there is any problem with building a tree p...
[no replies]
Need to finish program! Due soon! Need guidance
 
I have been trying for a while to figure out how to put my program together where it writes to a fil...
[8 replies] Last: And it should be while (h > 0.0); (by Caligulaminus)
Suggestions needed for my Process Management Code
 
Hi. I'm writing code for process lists (executes every 'process' each 'frame') and process stacks (e...
[3 replies] Last: @ModShop Thanks for idea. That is in fact what I have done - I should ... (by anonymous23323124)
system("cls") troubles
 
the code is posted below but what i'm having troubles with is around line 153 at the end of func2 an...
[2 replies] Last: Hi , system("cls"); is not used for clearing the buffer or an ar... (by bluecoder)
copy constructor for linked list
 
Hi , I need help for creating copy constructor for linked list with structure member. It compiles ...
[2 replies] Last: "Array(const Array &a,string st)" is not called as you expected. Since... (by b2ee)
Drive Recognition
 
I have a web browser program that I have put on a CD. I want to find a way when i open it it needs t...
[6 replies] Last: Alright, if you're having troubles you could simply learn QT. =) (edi... (by ultifinitus)
Question about bracket style
 
This is kind of a useless thread but w/e. In all of your programs, do you use the first option, or t...
[5 replies] Last: I find option two cleaner. You can quickly see the matching brackets. (by Return 0)
by Soko
Array/Vector Accessing large index numbers errors
 
I am working on a project involving a join algorithm (similar to a SQL join, coded in C/C++). I h...
[3 replies] Last: Problem solved. For future reference, somewhere between the for loop ... (by Soko)
Using binary_search and count
 
When we use binary_search, if the value is found, can we make function returns the position of that ...
[2 replies] Last: Yes, a list of the positions. Thanks for your help :) (by Forte 201092)
Variable being used w/o being initialised
 
Hi, After compiling without errors in MS Visual Studio; when I hit Ctrl F5 and enter 2 digi...
[2 replies] Last: Your code does not compile. :/ #define rate 0.35 //Interferes with yo... (by Albatross)
by vved
Strange function definition/declaration
 
Hey guys. Recently I come across function declared line this: type (function)(argument list); e...
[2 replies] Last: Thank you, all. I got it myself finally. There is this define: #d... (by vved)
by fparan
merge sort runtime and logical errors
 
Hey there, Can anyone kindly please help me or give some ideas on how to make my merge sort progra...
[no replies]
March 2011 Pages: 1... 678910... 31
  Archived months: [feb2011] [apr2011]

This is an archived page. To post a new message, go to the current page.