General C++ Programming (Page 2)

string error.
I want to read a text of more than one word and then replace the blank spaces with an underscore(_)...
[4 replies] Last: #include <iostream> #include <string> int main() { std::string s... (by JLBorges)
Is it possible to access a word from a string containing more than one word.??
[6 replies] Last: You can't with you current logic; as I just said, you need more logic!... (by andywestken)
string program
In this program i want to input several city names and display only those beginning with "B" or "C"....
[2 replies] Last: thanku .it worked :) (by samarth123)
by heepoo
segfault from strcat
hi everyone, i'm working with lua, and when i want to load a script, using TinyFileDialogs, i get th...
[10 replies] Last: I've just released a new version (v2.2) including the filter descripti... (by oim oim)
how to protect array field form changing in one function
There is const keyword and it is simply to protect an argument of a function form changing. An examp...
[6 replies] Last: Ok. I get your idea and I am sorry to - not accurate explanation, i tr... (by umka6970)
Not sure how to implement a deque
This is what I have so far but I know my push_back and front functions need work. Just want a little...
[2 replies] Last: I am curious why you are implementing your Deque using std::vector. ... (by andywestken)
by olette
Unsure of why program is getting errors
So in my code I've setup height and radius to be private, and when I try to run the code the error I...
[8 replies] Last: Thanks for all your help, I ended up fixing it somehow. (by olette)
Communication between classes
I am creating a game using modular programming (I can replace any part of the code without affecting...
[2 replies] Last: Nevermind I found a solution. I am implementing an Event system into m... (by Cronnoc)
C++ most vexing parse
Hi, I've been reading about the "most vexing parse" and it looks pretty bad. Take this for example:...
[2 replies] Last: Why don't they just get rid of the ability to do that that backward c... (by MiiNiPaa)
friend declaration of a template function of a template class
The following compiles except for the line commented out. struct A { template <int> void foo...
[1 reply] : AFAIK, the friend declaration ought to be: template <typename T, typ... (by JLBorges)
Binary tree remove function
Why do I get a segmentation fault here? Where do I violate memory access? void BTree::del(i...
[11 replies] Last: You're right. That is a lot easier. I will look through that link as w... (by cppnoob25)
Seeking help
[1 reply] : Try and post some code, then ask for help. or write "fake code" (how... (by Bdanielz)
Get a specific word from a line
Hi there i need some help extracting a specific word that is in quotes from a line. example: <P ...
[5 replies] Last: Thanks will try use find() (by kibocha)
Setting variable typename after initialization
Hi guys, so here's what i got: a Table class with std::vector<Row> variable a Row class with std...
[16 replies] Last: Well i already decided that i wouldn't be using this on database serve... (by spacecamp)
writing data using C++ in RFID tag's microchip
we are going to have a defense in this sem's subject. we decided to make an ID system and im the p...
[1 reply] : That all depends on your schema, doesn't it? The most simple RFID chip... (by Computergeek01)
Codeblocks doesn't work on windows 8 or 8.1
Hi guys, I really need your help. I just purchased a new laptop, it has windwos 8 operating system,...
[3 replies] Last: But at the same time, you shouldn't need either 'glew' or 'sndfile' fo... (by Computergeek01)
by gucri
C++ programme
I can not understand where is the error. "Leggere da tastiera un vettore di n numeri, controllare s...
[1 reply] : your codde, indented #include <iostream> using namespace std; int mai... (by ne555)
The problem is that I have n products each product has a price and a rating(there is no relation b...
[8 replies] Last: Repeat the steps with all possible combinations (downward) until you h... (by coder777)
by Ceset
Strings, Localization, Unicode and UTF
Hi We store chars and strings which is easy. But when it comes to localization, unicode, UTF, and ...
[2 replies] Last: It would take a lot of time to completedly learn all those i guess. (by Ceset)
True random number generator
Hi! On June 2015, we've unexpected discovered, that it is possible to generate true random number...
[19 replies] Last: helios 3. Although not explicitly stated here, all addresses are al... (by ncomputersorg)
Pages: 1234... 21
  Archived months: [may2015]

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