General C++ Programming (Page 5)

c++ structs/ vector/array
I have no idea how to do this program and need it done from scratch. program directions link: ...
[1 reply] : The links gives an 403 Error(forbidden). Better to post the assignment... (by Thomas1965)
I need help with this homework!
Hey guys, I have a project which I've been trying to do, but I don't know how to do it. Can you plea...
[5 replies] Last: #include <cctype> #include <iostream> #include <iomanip> #include <str... (by davidllerenav)
C++ Snippets
/*C++ Program that contains four user defined function(s) addition(), subtraction(), division(), mu...
[2 replies] Last: @Osmx99, Unless you have a question, please don't post your trash here... (by tpb)
by lidder
Airport Simulation.. keep displaying wrong results
// so my program keep displaying wrong results. // the problem is that it keep displaying only one...
[5 replies] Last: Here is the output from the program above: The amount of time needed... (by dhayden)
by wafty
i want to thses .cpp files and .h header file put in one .cpp file without using separate file only...
[2 replies] Last: Is it possible? Yes. You'll have definitions and declarations impleme... (by keskiverto)
Detect if two rectangles overlap (objects collide)
Hi, I need to detect if two rectangles overlap. The first rectangle is an object, and the second on...
[9 replies] Last: return (RectAX1 < RectBX2 && RectAX2 > RectBX1 && RectAY1 > RectBY2 ... (by dhayden)
Please Help, Sorting Program
I've created this program and it is wrong. It is written for this assignment. (Sorting) Read a set ...
[1 reply] : Please use code tags when posting code. See (by keskiverto)
by jaituk
This is a function in the program I'm working with: void hacerReserva(int **av, int fil, int col) ...
[3 replies] Last: Great!! Thank you very much (by jaituk)
by emayu
Transform for loop into while loop
Hello! I am trying to resolve a sudoku and i have got this code that is working well. I would like t...
[1 reply] : I would like to transform all the for loop into a while loop Why?... (by helios)
Computer Science Forum Grand Opening
Hey Everyone, I've created a Forum dedicated to Computer Science. It would be great if eve...
[no replies]
I'm having problems with the output of my zip code. I want it to be 32 characters long. The string I...
[1 reply] : Why does your function bc always return "" regardless of the input. A... (by Thomas1965)
Roman numeral addition
#include<stdio.h> #include<string.h> int digit(char); void decimal2roman(int num){ ...
[3 replies] Last: you have used wrong int num of base values you have to find the number... (by shivkumar12)
Different Outputs for C++ Project (used atoi and atof)
Here is my input file: Plain Egg 1.45 Bacon and Egg 2.45 Muffin 0.99 French Toast 1.99 ...
[3 replies] Last: (Except on the initial post) you can use the format menu to the right:... (by lastchance)
by vkalam
issue with fscanf
Hi, please help with below program. it is just reading a file and printing it. while reading the fi...
[6 replies] Last: Ok here is a dumb question - my current bit of non-working code is ver... (by CharlesPhillips)
test program
Hello, can someone help me? Trying to figure something out and I can't see it. I'm getting error:...
[1 reply] : you declared void setAnnualInterestRate(); which takes no arguments... (by ne555)
String Operation
So I have this problem: Write a C++ program that extracts words inside the parentheses from a tex...
[1 reply] : Read text from file into string Look at string, one char at a time If... (by Repeater)
Vector container / list
I need to add each item from my function into a list, array or a vector container. But i'm unsure wh...
[1 reply] : So, the first thing to do is to fix your return type. For simplicity s... (by Computergeek01)
by Rafiz
How Do I include some header so it does something more than declaring stuff?
How Do I include some header so it does something more than declaring stuff? So basicly I have main...
[9 replies] Last: @OP: Append the FQPN to your PATH system variable with the location of... (by Computergeek01)
Need help with graphs
Hey guys, Im student of IT and I have last hard programming task to do. I dont like programming and ...
[2 replies] Last: every edge has weight and i need to find radius of weighted graph (by aurimax35)
Need Help with a Problem
Hello! I need some help programming a problem. It goes like this: Write a C++ program that displa...
[1 reply] : it looks exactly the same, except in a loop. eg for(I = 0; I < 200; I... (by jonnin)
Pages: 1... 34567... 26
  Archived months: [mar2018]

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