General C++ Programming - August 2015 (Page 13)

building my arrays class (1,2)
 
i'm trying build my own array class(i need test 1 thing with it about the vectors): template <typename tmArray> class arrays { private: int ar...
[29 replies] Last: thanks for all. thank you (by Cambalinho)
Sorting Of Objects for the Given Class
 
compiler is neutron turbo c++ #include <fstream.h> #include <conio.h> #include <stdio.h> #include <process.h> class BILL { private: int sub_no; ...
[4 replies] Last: You shouldn't be reading the file in a sort() function. Read it first.... (by Duthomhas)
by sr123
i have a question regarding sorting objects in array
 
i have a question regarding sorting objects in array here is my question. Write a class named Employee that has the following member variables: • name....
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
by sr123
i have a question regarding sorting objects
 
i have a question regarding sorting objects in array here is my question. Write a class named Employee that has the following member variables: • name....
[1 reply] : And the question is...? (by helios)
by mnm71
Creating and sending data packets in C++
 
Let's say I want to send the following data to a socket using C++, all in one packet: fixed header: { 0xe1,0xe2} data1(int) : {0x1e,0x25,0...
[4 replies] Last: tank you....... (by mnm71)
How to link two main() files ?
 
How to link these two main() files lets say we have 2 main functions : and let them be these 1. #include<iostream> using namespace std; ...
[3 replies] Last: Thank you very much JLBorges !!! I got what you intended to mean. ... (by thecodeinnovator)
by leourb
Binary I/O - Partially Truncated output
 
I have written a little program to test binary I/O from a simple text. My program works but when I compare the imported and the exported files, in this last ...
[5 replies] Last: Also in real application you want to read data in larger chunks (an... (by MiiNiPaa)
IDE not accepting changes to code
 
I change a word or a character and the program fails to compile the changes. I am using eclipse.
[4 replies] Last: Yes. These are all possibilities. I don't remember 'saving' it -- like... (by technologist)
by OOPs
Create a square with nested loops
 
http://www.cplusplus.com/ico/forum_question.png How Do I create a square with 10 asterix using nested loops? I have no Idea Should I use a counter or no?
[1 reply] : #include <iostream> using namespace std; int main(){ for(int i=0;i<1... (by mike9407)
Circle shape and diamond shape
 
How do I create circle shape and diamond shape in c++?anyone can teach me ?I am totally out of idea
[2 replies] Last: how to do it using cout"*" only? (by mike9407)
by Exor01
finish
 
the code is done
[5 replies] Last: its done already ty =) (by Exor01)
by yj1214
What if I want to print out "\n"?
 
Just curious...
[3 replies] Last: https://en.wikipedia.org/wiki/Escape_character (by nchambers)
by OOPs
Problem with mathamatical operations
 
I wrote the following Program for calculating Amount and S.I. 10 times but I Keep getting incorrect negative answers for(x=1;x<=10;x++) cin>>P>>T>>R; SI...
[2 replies] Last: And what are types of all variables? (by MiiNiPaa)
dosent compile windows from in visual stdio 2013
 
Whenever i try to add a windows form In VS 2013 it shoe me below dialogue box "You are adding a CLR component to a native project.Your project will be conve...
[no replies]
GUI Builder without coding for QT
 
What are some GUI builders for C++ were you DO NOT need to code for QT, for example as in Visual C++ Is there any at all except visual C++?
[4 replies] Last: Thanks guys, QT Creator seems excellent (by csstudent123)
Compile error (ISO C++ comparison)
 
Hi everyone, So I am in the middle of writing support for moving lines in an engine I'm authoring based on the DOOM code. While cross compiling, I get a few ...
[3 replies] Last: no prob. Your really going to like this one :) // using derefer... (by Bdanielz)
Object Oriented Programming
 
Okay so I have a project where we need to have a list of clients for a consulting firm: For Client and Business Type Acme Construction, Machinery design, Johnso...
[1 reply] : It sounds like VS cannot find your file. If you use an absolute path t... (by Bdanielz)
Error
 
I`m getting this error and warning when trying to add the modulus % operator to my calculator program: Documents/program5.c:68:14: error: invalid operands to b...
[5 replies] Last: I expected a reply but apparently not. Could someone write in pseudo... (by pacman169)
quick question
 
I like to compartmentalize my coding in general. Lately I have been dealing with an app that prints a lot of data to the console, and Ive got code bloat as a re...
[13 replies] Last: ok, I'll read. Thank you for your instruction. (by technologist)
by leourb
Remove characters from string
 
I am writing a program that has to analyze a string and then if there's a contracted form (e.g. "don't") I have to transform it in "do not". To do that, reading...
[4 replies] Last: Something along these lines, perhaps: #include <iostream> #include <... (by JLBorges)
August 2015 Pages: 1... 1112131415... 17
  Archived months: [jul2015] [sep2015]

This is an archived page. To post a new message, go to the current page.