General C++ Programming - September 2009 (Page 13)

About the string function...
 
I wan to split a word after ' ',and save the another word in another string. But i donno which comm...
[3 replies] Last: Check out the reference section on this site : use the search box on t... (by R0mai)
Non-blocking IO
 
Hey everyone I have an issue where I need non blocking IO, ie, the program will still continue wh...
[5 replies] Last: iostream is mostly a wrapper for cstdio functions. This is just anothe... (by helios)
Partial Class Definition and *&
 
1. Let's say there is a class - that is part of a library - intended for the programmer's use. But ...
[9 replies] Last: You didn't get it right. (by helios)
class
 
// employee: example with structs #include <iostream> #include <string> using namespace std; ...
[4 replies] Last: lol I guess you were right firedraco. (by Return 0)
Linked List
 
Hello guys! I want know how to open a file and take all your content in a linked list. tks! ...
[4 replies] Last: What exactly is your problem? How to open a file you will find here :... (by hamsterman)
by mamali
how to write this program (1,2)
 
i want to write a program that gives 40 numbers and another number named "k" and found is there any ...
[21 replies] Last: Also, FWIW, I compared execution times of the program with four dif... (by jsmith)
generate all permutations
 
hi all. I have n number of sets Each set contains characters like set1 set2 set3 a ...
[2 replies] Last: what you are trying to do here is not a permutation (at least after lo... (by johnkravetzki)
plz hlp me how to generate combinations
 
hi all. hlp me how to handle this one. I have n number of sets Each set contains characters li...
[1 reply] : Double post: http://www.cplusplus.com/forum/general/13996/ (by Bazzy)
by gong
prime number problem
 
hi can someone help me? my programme is suppost to print in the screen all the prime numbers sma...
[5 replies] Last: Something like this may serve; bool isPrime = tr... (by buffbill)
how can i put delete function in this program pls
 
#include<iostream> #include<algorithm> //for std::sort #include<string> using namespace std; ...
[3 replies] Last: You may be able to use an if() function within a loop such as if(i==0|... (by buffbill)
Segmentation fault
 
Hey, I am trying to write this hierarchical program: An area (rectangle) is defined by two Sides, ...
[4 replies] Last: Hmm, I thought I used encapsulation. Apparently not. I will write ... (by steffen)
by icu812
How to parse a string?
 
I'm trying to parse a message in C++. Here's what was happening when I did it in C#: Say I want ...
[1 reply] : There is no left() in C++. There's (at least) three things you can do,... (by helios)
Reading and writing in concurrent threads
 
Hi everybody. I'm developing an application with the following schema: main thread: - C...
[3 replies] Last: Probably, yes. (by helios)
Overriding virtual methods
 
Hi, I've defined an abstract class IBase with a single method virtual bool foo(){ printf...
[3 replies] Last: I recommend posting the entire class declarations. Perhaps you mistyp... (by kempofighter)
by helios
Threads and mutexes (1,2)
 
Okay, so I have a blit (the process of copying a bitmap to another) function. It works fine, but the...
[20 replies] Last: Alright. After beating the manager into working, I managed to go from ... (by helios)
String length in pixels
 
Hello All, Does C++ have a function that returns the length in pixels of a given string ? Than...
[3 replies] Last: In Windows, you can measure the string. However, the function that do... (by webJose)
why in vs2008 expre?
 
What can I do to run a esisting program made in tempalet class that do not give to me all this error...
[3 replies] Last: Have you done a full rebuild? (by kbw)
Favorite IDE
 
What's Your Favorite Integrated Development Environment? I'm a big fan of NetBeans for C++/Java,...
[19 replies] Last: What Grey Wolf said, but I like eclipse because it doesn't wait until ... (by NGen)
Exception from "delete"
 
Is it a rule that built-in C++ functions delete and delete can't throw excep...
[4 replies] Last: Thank you vey much jsmith! (by n4nature)
by mamali
get output of system()
 
is there any function that execute a command on shell and return the answer for example when i pas...
[3 replies] Last: That never seems to work for me. I wanted a command line calculator ag... (by chrisname)
September 2009 Pages: 1... 11121314
  Archived months: [aug2009] [oct2009]

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