General C++ Programming - October 2009 (Page 16)

Determine if a specific thread is running or not??
 
Hi folks i was hoping you guys could help me out. I need to know programatically if a thread is run...
[5 replies] Last: Got the answer I could use GetExitCodeThread thanks for the suggesti... (by silver chips)
Overloaded operator problem
 
I made this class as a project so I'd better understand classes: template<typename _type> cla...
[6 replies] Last: Oh, yes, that would do it. operator+ returns an (unnamed) instance ... (by jsmith)
Need assistance with a menu program
 
I have a problem in c++ where I must be able to enter a maximum of 100 values. I must be able to can...
[1 reply] : Yes, you have. Why not compile the above program, run it, and see w... (by jsmith)
Parent Process
 
In the below code, I ran and the output gave me 0 for Line A 26111 for Line B 26111 for Line C...
[no replies]
invalid conversion from âint*â to âintâ
 
the constructor is TwoD<T>::TwoD( int x, int y) { r = x; c = y; elet = new int * ; for (...
[6 replies] Last: yes, look like I do not saving any number and the destructor do his... (by olove05)
by gpht
converting decimal to binary with zero padding
 
Hello everyone.....i have to write a program to create a pseudo assembler.....i have as yet recogniz...
[3 replies] Last: @helios, can u please explain a little more or give some references... (by gpht)
error with function
 
Im writing a program that uses a thread when you enter a number,displays its prime numbers.the progr...
[2 replies] Last: thanks it does. (by kakashi316)
by tition
Is this code legal (standard?) c++?
 
Hi all, This code compiles just fine on my VS express 2008, and does what it should. Is it legal...
[5 replies] Last: I said it looked fine, what else do you want? GCC doesn't complain. (by helios)
by luq
Making a loginsystem
 
Hi, I want to make a login system in C++ that is based on an online database (MySQL). I don't want t...
[3 replies] Last: Thank you very much, I'll check out some references on .cgi. (by luq)
Objects & Operator Overloading
 
void object_1::display(std::ostream &out) { out << left << setw(28) << "Person" << setw(20)...
[2 replies] Last: I solved it except for a IOMANIP part. I reposted..Sorry I know, confu... (by lampshade)
by garob
rpn functions
 
I am developing an interpreter and thought it would be a good idea to evaluate expressions with a sh...
[2 replies] Last: You could build an abstract syntax tree. Consider this: * A function... (by helios)
by npp83
String Evaluation Problem?
 
I am attempting to evaluate user input to see if it conflicts with a single string and not a array o...
[3 replies] Last: Here is some pseudocode -from line 19 to 35 of your code- while(true... (by Bazzy)
by gpht
reading input files.
 
hello everyone..... i need to read to read text file(containing assembly code) and store the data li...
[3 replies] Last: Then post your code, we can't help you if we don't see what you do wro... (by R0mai)
any idea????
 
(.text+0x8b): undefined reference to `TwoD::TwoD()' P.cpp:(.text+0x122): undefined reference to `Tw...
[4 replies] Last: I have done before in the implementation in separate file and work fin... (by olove05)
by JCED
Templates and vectors of pairs
 
I've just begun with templates, and I'm having issues with this: #ifndef VECTOR2_HPP #define VECT...
[3 replies] Last: I don't think the errors could be any more explicit. std::vector<std... (by JCED)
What is a Runtime Library
 
What is a runtime library if anyone could tell me that would be great. Thanks!
[11 replies] Last: thank Grey Wolf , explaining in wiki is use for OS environment (like:... (by thavali)
Reverse a char array
 
How to reverse a char array with single traversal in place and in memory? My solution program: ...
[10 replies] Last: Oh, I didn't see the "in-place" part. Yeah, in that case it requires ... (by helios)
problem for "for loop"
 
#include <stdio.h> #include <math.h> main() { int i ,j,c,sum,b,x; ...
[11 replies] Last: got it... i know the answer to my problem fenor.. thank you so much f... (by patrick19)
threading error
 
Im trying to write a program involving threads.Im just having one error that is annoying me. 23 F...
[5 replies] Last: int* pNum = (int*)n; for( int i = 1; i <= *pNum; i++ ) { // ..... (by jsmith)
by mar11
structure
 
Hi all, if i have a struct with a lot of member variables.. and i have to compare between to in...
[5 replies] Last: Well, operator==, the equality comparison operator, should not do that... (by jsmith)
October 2009 Pages: 1... 14151617
  Archived months: [sep2009] [nov2009]

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