General C++ Programming - September 2016 (Page 7)

Help with a C++ Problem
 
Can somebody please give me the complete code for this, it should be relatively easy> *Update* : Problem solved
[1 reply] : HAHAHA, what makes you think we want to do homework for someone that c... (by SamuelAdams)
Write a C++ program to print the size of a file
 
Write a C++ program to print the size of a file
[6 replies] Last: There are three logically distinct parts in that program: 1. What file... (by keskiverto)
How to use VideoLAN's x265 encoder..
 
Hi, So basically I want to convert a stream of raw images to video and I've opted for h.264 format. I found a commonly used x264 encoding library here: h...
[2 replies] Last: The reason is that I have to store the frames as I get them. I have t... (by zoran404)
program for Converting Yen, Euro And Pounds To Dollars
 
For my book, I'm writing a program that would convert Yen, Euros and Pounds to Dollars. I checked on Google and found that there's 0.0098 Yen in one Dollar, 1....
[10 replies] Last: use --- at the end of your code and paste the output http://www.cplus... (by shadder)
by nanax
Project in C++ using Queue
 
can anyone help us to make a program about computer laboratory in 5 classes with 60 computer, in every class there must be a 60 computer. the menu's are: * ...
[4 replies] Last: You could start by making a class class computer_lab { //ur declarat... (by shadder)
rounding of double
 
Hi, I have a double with long decimal values eg : double x =32.1347896 I wanted to round it to 32.140000000 I tried using ceil (x*100)/100 but it returns 3...
[2 replies] Last: #include <iostream> #include <string> #include <sstream> #include <cm... (by Krulcifer Einfolk)
Impossible to erase or insert
 
Hi ; although many trials, impossible to insert or erase somebody. Look at my 3 commented lines (76,77,78), which of course don't work.This program was copied ...
[6 replies] Last: Before you answered I found the solution. Now all things are right. Th... (by sylvain)
How to declare a variable mactch as new string?
 
Greetings community. I'm new to C++ and am seeking advice regarding how to store a variable match (==) as a new string. If I recall correctly, a bool statement ...
[5 replies] Last: You're still not being vary clear. What is it that you want to store ... (by MikeyBoy)
C++11 option in Code::Blocks IDE
 
Hey guys! I am a self-taught C++ programmer and have been using the DevC++ IDE to run my programs thus far. But I am disappointed that, for some unknown reason...
[10 replies] Last: Is it possible you already had an older version of CodeBlocks installe... (by MikeyBoy)
How do I get dynamic plots using C++?
 
Is there something similar to Matplot in SciLab, in C++, which can also do basic plots? I am doing a Simulations project using C++. I am using Dev C++ 5.11 (Orw...
[1 reply] : googling shows this: http://koolplot.codecutter.org/ http://gnuplot.i... (by coder777)
by junfan
Nailing the Interview...?
 
I am applying for a programming job (entry level) for designing simulators to test designs for marine systems in boats. Much of my experience to date in program...
[4 replies] Last: Wow, 5 to 10 years to equate to just a BS in CS? I'm sorry, but I must... (by ExBigBoss)
by helios
Question of programming style...
 
- inherit different classes, If you use normal functions, you can already do this. Normal functions can call and reuse each other. - Encapsulate functions an...
[10 replies] Last: I agree with everything mbozzi has said. I would just like to add that... (by helios)
"$" removal after first record
 
I have a text file that I'm reading from and then displaying the following info. I don't want the dollar sign to be printed after the first record is read. Any...
[3 replies] Last: TwilightSpectre, I'm wanting to only print out the first line with the... (by joekamel12)
Breaking from a switch
 
Hi everyone, I'm still a beginner and maybe I don't see the global and real life use of switch statements, but I can't yet find a reason why a "case" statement...
[8 replies] Last: Yes, sorry, case 4-9 was my brain's version of: [code firstline=7] c... (by Duthomhas)
by BlairM
bubble and selection sorting using dynamic array
 
# include <iostream> using namespace std; void bubbleSort(string *names, int &i); void selectionSort (string *names, int &i); int main() { // Vari...
[3 replies] Last: Yes. What do you do on line 32? (by keskiverto)
by cmisip
Undefined reference to deleted copy constructor
 
I have a recursive mutex in one of my classes. I instantiate that object in another class. Due to mutex non copyable, I deleted the copy constructor and copy ...
[6 replies] Last: Yes, thanks. I have it integrated into my project code with the proper... (by cmisip)
Homework assignment. Where do i start?
 
Hey everyone, I recently got an assignment regarding linked lists for my homework in data structures. I haven't used C++ in over a year because I took a break f...
[3 replies] Last: my apologies. that wasn't what i was trying to accomplish through the ... (by Solarsss)
overloaded fx error
 
Hi I am trying to set up my non-member overloaded function for the following example and keep getting the following error from line 23: error: could ...
[4 replies] Last: Some minor notes on style. 1) It's not necessary to use getters at l... (by AbstractionAnon)
by Aidin
problem with heap allocation
 
Hi, I was implementing functions which work on C style string . I wrote strdup(const char*) which is supposed to copy the given string and copy it in a new str...
[1 reply] : The problem is in your strdup, you don;t allow for the null terminator... (by AbstractionAnon)
If Statements and Circles
 
Given the user input of 6 doubles • an x value, a y value (for a center point) and a radius value for a circle and • an x value, a y value (for a center ...
[2 replies] Last: Can you send me a private message? (by SakurasouBusters)
September 2016 Pages: 1... 56789... 19
  Archived months: [aug2016] [oct2016]

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