General C++ Programming (Page 3)

by soranz
reading settings file
Hi, I'm trying to make a basic settings text file and I'm wondering why pos_y = strAxisData.find("...
[1 reply] : [quote=soranz][...] I'm wondering why pos_y = strAxisData.find(",", ... (by LB)
by zolo
how does std::stod work
Hi, I am trying to convert multiple lines of strings to double with std::stod I used the code ...
[2 replies] Last: thank you! I figured out that something totally different is wrong wit... (by zolo)
Need help with guessing game.
Hey guys, I'm making the "guess my number" game most of you have probably seen before. I am tryin...
[2 replies] Last: You could use a vector of integers, then push back every cpu guess, th... (by Aceix)
read function
why and when we need to use this form*)&x, size)...
[1 reply] : When you're about to do something wrong... It reads binary data direct... (by coder777)
by geng07
Parsing Data from text file
Requirements in filtering the text file. GRATEFUL TO HAVE YOUR SUGGESTIONS 1. first my professor ...
[1 reply] : Please, do not double-post. The first thread should be enough: http://... (by keskiverto)
amount transfer function cant work
#include <iostream> #include <iomanip> #include <fstream> #include <cstring> #include<string...
[no replies]
Initializing a static field as a template object
I need a static hash table to keep track of all objects of a particular type that are instantiated i...
[2 replies] Last: The template arguments should be specified the same way as in the head... (by Peter87)
Basic question: How can I avoid getters and setters?
I have a class CreateDxf that writes DXF entity codes (line, circle etc) to a text file. Now I want ...
[1 reply] : I searched the net and got this link. (by abhishekm71)
Building a Multicast Packet - memcpy casting issues
Hi, I am just getting back in to C++ after 10 years not doing any, contributing to an open source p...
[9 replies] Last: Just a quick thanks to you all for your assistance. I have got it all ... (by trolley01)
by geng07
Help with parsing a file
Requirements in filtering the text file. GRATEFUL TO HAVE YOUR SUGGESTIONS 1. first my professor ...
[no replies]
loading Could someone help me to produce ...
[1 reply] : There are so many ways you could do this, which library are you going ... (by giblit)
Guysss help me please
#include<iostream> #include<windows.h> #include<string> #include<iomanip> #include <conio.h> ...
[9 replies] Last: Thank you very much for this (by vendetta2014)
by Necro
Error: Invalid use of non-static data member, in Nested Classes
To start with, I'm running windows 8 with Code::Blocks 12.11. My main goal is to create a class n...
[10 replies] Last: I will see you tommorow. For today, have a good night (if it is night ... (by Necro)
by Iona
Modifying for loop to make it faster
Hello, I have this code which performs the analysis part of discrete wavelet transform. It works ...
[2 replies] Last: Why is temp_row a vector, you only seem to be using a single element? ... (by jlb)
Obtaining pointers to represent each branch in a hierarchy
My program has a large version of this, where every leaf class is singleton, and pointers of the bas...
[7 replies] Last: Ok, even though some may be questioning my design to begin with, I nev... (by prestokeys)
Array data and decimal information
Hello, I joined this forum today and for past 10 days or so am using the valuable information re...
[3 replies] Last: If you have no follow-up questions on this topic then yes, mark it as ... (by Chervil)
Regular Expressions not working
Hi, I have this bit of code that I found here: and at ...
[2 replies] Last: Any input from the video. For example typing "ab" into the program sh... (by crimsonzero2)
by soranz
class basics
Hi ! I'm trying to build a class that will use the std::tr1::lognormal_distribution class but I'm ha...
[2 replies] Last: Thanks Peter :D (by soranz)
Urgent...Need someone to write a program for this
You are required to write a program for a Used Car Dealer company. In the system you need to maint...
[1 reply] : Need someone to write a program for this Unless that someone is you ... (by Computergeek01)
by poteto
Deleting a iterator inside a double loop :S
So yea... I know that if I erase a value inside an iterator, it becomes invalidated, and this is how...
[6 replies] Last: > this is how you would normally fix it: One would normally use the e... (by JLBorges)
Pages: 12345... 48
  Archived months: [jun2014]

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