General C++ Programming (Page 3)

by A991ES
College problem
Is anyone willing to help me solve (and explain) a few problems that I have for homework in C++? ...
[18 replies] Last: char a , B , C , C ; This line may be the culprit, should it ... (by R23MJ)
Looping though a vector of abstract classes.
When i try to call a function from a pointer while looping trough a vector of pointers the program c...
[5 replies] Last: so you check the vector in an other scope? If that's true it makes sen... (by Gamer2015)
IVR Call flow State Machine :: Boost.Statechart
i'm trying to implement a state machine that can handle the flow of the calls inside an IVR using th...
[no replies]
by yj1214
Am I understanding dll and lib files right?
In order to statically link, you need to compile your object file with the lib file. Then your exe h...
[5 replies] Last: Game libraries such as Irrlicht don't requires to link with lib files... (by andywestken)
by esolve
how to differentiate static library/compilation with dynamic?
I want to compile a program with two libraries: lpcap and levent but it seems to me that the comman...
[3 replies] Last: PS (Aimed at my future self, as much as anyone else...) In the MinGW ... (by andywestken)
Cannot Reading File
Hi, Last week, I bought shared hosting at asphostportal. Now, I have little problem. Could you help...
[1 reply] : I believe the correct error checking syntax is ifstream inFile; if(... (by shadowmouse)
Class Call problem
A friend and I can not get this program to work. It is supposed to get the Passer rating of two play...
[2 replies] Last: Line 81 is reading the newline that you entered after the first player... (by dhayden)
Looping help
the first run is fine. But on the second run, it skips the "Student_Name". What is wrong with the co...
[2 replies] Last: It happens sometimes when you use getline() and cin together in a prog... (by newbiee999)
[1 reply] : you should give details on what you are stuck on. Nobody is going to ... (by erbisme4)
OpenGL Lines problem
Hello guys, I scripted a simple "room" generator, I only made the floor code but I realized that I h...
[1 reply] : my guess (by ne555)
by Xerox
hi can anyone help me to complete the code for searching a name and update some record which is to be saved on a database?
#include<cstdlib> #include<iostream> using namespace std; struct ne...
[2 replies] Last: I suggest that you store the entire struct in a vector. newEmployee i... (by newbiee999)
c++ best practices help
In Below program do you see any error or scope of improving the design? #include <stdlib.h> #inc...
[4 replies] Last: Once you've followed the first suggestion you were given, you may find... (by MikeyBoy)
by hamit
Find a specific string from line and match it to whole document
i have a text file which is about 1000 lines. as an example some of the first lines are given as bel...
[4 replies] Last: You are not keeping track of which lines have already been processsed.... (by cire)
Why the size of array "g1" is 6 after strcpy ? It should be 9
#include<iostream> #include<string.h> using namespace std; int main(){ char g1 = "hello";...
[6 replies] Last: Great !!! Thanks a lot everyone for your responses. :) (by ngoyal1987)
c++ temperature I am supposed to do an assignment but does anyone have any clue abou...
[2 replies] Last: does anyone have any clue about it? yeah sure i'm rather new to pro... (by Gamer2015)
by Ozzy69
how mod Of 5%47???
What The logic?
[2 replies] Last: simply put: 5 / 47 = 0 5 - 0*47 = 5 -> 5 % 47 = 5 (by Gamer2015)
How do i get my information from my array to cout in a block formation thanks
// // main.cpp // Final // Created by Shea Oswald on 5/13/15. // Copyright (c) 2015 Shea Osw...
[2 replies] Last: Xcode Automatically copyrights ik its funny. And by block formation i ... (by Sheaoswald11)
Counting words in a String
#include<cstring> #include<iostream> using namespace std; int main() { int word=0; char sent...
[2 replies] Last: 1. Code tags. 2. (by R23MJ)
5 Volts reaction in code
Hello everyone! I have a question. I have code for LED stripes and I want to make i trick with power...
[3 replies] Last: I ll pay for help. I lost interest on that line, thanks When button... (by Gamer2015)
Pages: 12345... 50
  Archived months: [mar2015]

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