General C++ Programming (Page 47)

Extreme iterating
 
Hi there, I am encountering a very annoying issue, and I couldn't find any solution knowing that my...
[4 replies] Last: Well thanks for your answer, I did as Dish said and it re-works perfec... (by Paul Combaldieu)
help creating a loop to calculate formula
 
Hi, I am trying to create a code and cannot get the following part to work : for (int n = 0; ...
[1 reply] : Unbalanced brackets on line 9 : you have opening '(' but no closing on... (by MiiNiPaa)
by eastw
Reading Date From File
 
Hi guys need a help here. So here's my file content: J001 Graham Bell 145 20/03/2012 23/03/201...
[1 reply] : Firstly, your declaration syntax is incorrect. Try: ifstream in; F... (by PartialWrtX)
by DVS84
for Loop help
 
Hi Guys Im new here so nice to meet you. i need some help understanding this for loop for an ass...
[4 replies] Last: Thanks again MikeyBoy. I have made the necessary changes and it work... (by DVS84)
by Ahleer
Typedef Structure Question
 
I am currently using an older sorting code for data and I am trying to modify it to read different d...
[7 replies] Last: You're welcome :) (by MikeyBoy)
how are arguments passed in reference to a function
 
I'm trying to modify a ns3 script. calling of the function by its reference has left me confused ...
[2 replies] Last: thanks now it seems obvious (by soumyaxyz)
Real time Numeric Derivative
 
Hi, There has been a discussion on http://www.cplusplus.com/forum/general/103788/ about taking t...
[no replies]
by venz
Good Day.. please help me.
 
can someone tell me whats wrong with this code? the output supposed to be Full Name : Venz Ba...
[1 reply] : 1) Please use code tags when posting code, to make it readable: http... (by MikeyBoy)
urgently need your help. ;( (array)
 
hi. ;) how to do this? - ask the user to input entries of 10x10 array. sort each column into in...
[5 replies] Last: #include <iostream> #include <string> #include <vector> using names... (by kannanmj)
calculating standard deviation from file
 
Here's my attempt: input.open(name); if (input.fail()){ cout <<"Error opening file"<<endl; } ...
[1 reply] : See: http://www.strchr.com/standard_deviation_in_one_pass (by JLBorges)
C++ Linked List Sort a List as It's Being Created?
 
This is part of the header class LinkedList { public: struct ListNode { public: Lis...
[6 replies] Last: 23 if(mpHead) . . 33 else 34 mpHead->word = theWord; At line 34, ... (by kannanmj)
Operator Speed
 
Hello. I want to make Class for 2D array. This is part of Class Definition. class CMatrix{ publi...
[6 replies] Last: Thank you. (by ok97465)
How do i delete invalid input until correct input is entered
 
Program is to add two fractions together like so.. This program adds fractions. ‘Y’ contin...
[5 replies] Last: #include <iostream> using namespace std; int main() { cout << "Ple... (by Yanson)
Need help :O
 
Okay so my program is suppose to have 3 lanes (Lane 1, lane 2, and street). I am suppose to push car...
[2 replies] Last: Ok I put it into code tags format. (by Danger417)
Vector Implimentation Help
 
Hello everyone. I am currently on vacation at the moment and am quite a distance away from any comp...
[3 replies] Last: it should read 'int * myZero = nullptr;' No that would declare an int... (by naraku9333)
Using Char to check whether the user inputs the right command.
 
I've been trying to finish this airplane seating program I've been working on for a month or two. Th...
[2 replies] Last: This might help http://www.cplusplus.com/reference/cctype/isalpha/ (by Yanson)
fstream.h
 
does function overloading work in open() using multiple ios operations?
[1 reply] : dont use fstream.h. use fstream. (by Little Bobby Tables)
Need help with this function please
 
I need to create a program that lists off each digit of an integer and then display the sum off all ...
[5 replies] Last: No, switching the order of the statements does not switch the order yo... (by LB)
please
 
I need to some quizzes about binary numbers
[3 replies] Last: ooops forgot to do that. my bad (by Little Bobby Tables)
Im new to C++
 
Im trying to write a program that lists two Airplanes speed and distance for every second leading up...
[6 replies] Last: Yeah. here's one : http://www.cplusplus.com/forum/beginner/12969/ (by faust058)
Pages: 1... 4546474849... 69
  Archived months: [feb2014]

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