General C++ Programming (Page 51)

Seeking general solution to this problem (explanatory only)
 
There are N containers containing elements of type Thing*. Many Thing objects have identical data v...
[12 replies] Last: > Then the object map is written to file as the program exits. > Then... (by JLBorges)
I need help, guys! Pls help me :(
 
Here is the assignment I get: ***** Write an email simulator that processes mail at an average of ...
[4 replies] Last: You've did that code, eh? http://www.cplusplus.com/forum/general/5149... (by Militie)
HELP!! Address book project c++
 
please help me, im stuck at this code.. i dont know what to do next. :( i keep getting errors on the...
[2 replies] Last: Can you fix the final output bro? im stuck at this and i need it badly... (by vmeen08)
Command prompt buffer problem.
 
I've coded a packet sniffer as console application that outputs a lot of different data into console...
[6 replies] Last: Do you mean a sort of middleman between collected data and console out... (by Clint Westwood)
trouble with finding repeated alphabets
 
So I want to build a game using C++. Everything was fine until I met a problem. The game was supp...
[16 replies] Last: we check if beta is beside or (by axissabre)
by Kip
How to pass a method of derived class as parameter to another method in base class
 
Hey friends, I have a question similar to the one here: http://www.cplusplus.com/forum/general/39...
[2 replies] Last: Thank you JLBorges. That is a much better solution than the one I was ... (by Kip)
Error with Tilde Bitwise Operator
 
Let's examine the code. int x = 100; unsigned long answer1 = ~x; unsigned long long answer2 ...
[1 reply] : int x = 100; In this case ~x is a negative number. When you assignin... (by MiiNiPaa)
Use of pointers
 
When using pointers, when is it appropriate to call free ? In the following code, I allocate 4*4 b...
[19 replies] Last: Why? (by LB)
by KrtinN
Quiz Program
 
Hi, I am working on a program. There is a .txt file that has quiz questions, multiple choice answ...
[3 replies] Last: Conceptually, that is irrelevant. The file has a list of entries. Yo... (by keskiverto)
External Library Help!!!!
 
So I want to download an extrenal library called see.h. However, I'm not sure where to put this like...
[3 replies] Last: It doesn't really matter, as long as you do what I said in my previous... (by MikeyBoy)
Having Trouble/I do not know what is wrong.
 
Well, I'm trying to make a Permutation/Combination calculator and I'm getting weird errors when tryi...
[2 replies] Last: I fixed the prototypes, but now I'm having problem with the wrong outp... (by almost2old)
Switch statement
 
Not all people are lightly active, and people who exercise may need to eat more. This section adjust...
[no replies]
by begha
Efficiency: Linked list or sorting an array?
 
I have an algorithm and I want to make it as efficient as possible. Basically it just involves putti...
[4 replies] Last: > 2. Using a container to store all the numbers first, then sorting th... (by JLBorges)
by Wagari
Is Linking array content with a string possible?
 
I am trying to write a code for a simple calendar/to-do list program which prompts the user to en...
[1 reply] : std::string appoinment ; (by ne555)
How to change values of an array? then display?
 
how can i change the array value and display the updated value. for example this is the output begin...
[1 reply] : #include <iostream> #include<string> #include<map> #include <cstdlib>... (by sujitnag)
problem in search (1,2)
 
#include<fstream.h> #include<conio.h> #include<stdio.h> #include<string.h> #include<process.h> c...
[21 replies] Last: So, what is your problem? Search Menu ... (by MiiNiPaa)
Comparison of Two XML Files
 
Hi guys. I need a program that can compare two xml files for equivalency using any XML Parser .An...
[2 replies] Last: @ajh32: Do "abc" and "bac" have the same hash? XML is tricky, because... (by keskiverto)
operator[] return type
 
#ifndef MATRIX_H #define MATRIX_H #include <vector> using namespace std; template <typename Ob...
[2 replies] Last: What they try to say is that if the line 23 would return a non-const ... (by DyslexicChciken)
Temperature Program
 
How would you be able to show both outputs celsius and Fahrenheit and my temperature conversion is c...
[1 reply] : The formula for celsius -> (fahrenheit - 32) * 5/9 How would you be... (by coder777)
understanding Makefile
 
i know it's unix related, but i'm having a hard time getting some response. If anyone could guide me...
[1 reply] : Read Chapter 2: An Introduction to Makefiles in this tutorial https://... (by JLBorges)
Pages: 1... 49505152
  Archived months: [jan2015]

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