Beginners (Page 66)

loops
 
Hi, quick question for a brand new c++ user. How would i go about making a loop from 1 to a value wh...
[9 replies] Last: thanks! (by LEHCAR95)
Reverse the order of a bubble sort?
 
How to reverse the order of this bubble sort? void bubblesort(char arrray ) { int i, j...
[1 reply] : Use < instead of >. (by Peter87)
My Code Is Closing
 
#include<iostream> using namespace std; int main(void) { double dnumber1 = 0.0; ...
[1 reply] : I recommend taking a look at here: http://www.cplusplus.com/forum/beg... (by Ispil)
copmiler problem or an runtime error?
 
how can you know if the program has a runtime error or a compiler prob?
[1 reply] : If its a compiler problem, you'll know immediately. This is because a ... (by NT3)
Not letting letters repeat in a 5 by 5 table
 
I'm having problems figuring out how I get letters not to repeat. My whole plan is to create a 5 by ...
[no replies]
by samop
Using two date arrays
 
Hi Like most people on this forum I'm teaching myself C++. This is my first post so hello everyon...
[no replies]
command line isalpha check
 
how does one go about checking multiple segments of an argument, i can get it to work with the initi...
[1 reply] : I would write a "for" loop that placed each argument into a string. T... (by kooth)
by Mido14
Factorial Program
 
The Program doesn't work properly //factorial program which takes integer n and prints its ...
[2 replies] Last: The Problem is :Write a c++ Program which takes an integer number n an... (by Mido14)
by ank011
error
 
Everytime I write even a basic C++ code and try to compile it, it gives me an error saying.. "No io...
[2 replies] Last: And use int main() instead of just main() . And qualify cout and... (by booradley60)
pointer casting
 
I am trying to cast this but it gives me it is not a pointer int *j=new int; *j=i; m...
[3 replies] Last: It appears that I was made to look foolish by an edit. Look at his edi... (by Computergeek01)
by Eli26
3D matrix occurrences
 
Hello! I'm trying to use a 3D Matrix ( x x ), at the end I have to know the occurrences of this Matr...
[no replies]
Find index of max value of a 3-dimensional array (for each pixel)
 
I'm translating MATLAB code into C++ using OpenCV. I have an image for which I computed the gradient...
[no replies]
by MrMoe
Design: How to manage output in a simulation
 
Hi, I'm writing a numerical simulation and I'm trying to keep the code as generic as possible in ord...
[5 replies] Last: > Of course I could have an ostream that is passed as a reference to e... (by JLBorges)
How to Collect scores with Maps and Text files
 
This was the assignment i recieved. I tried giving a try but I'm stuck and need some guidance. I loo...
[no replies]
string function in c
 
im confused in this program in turbo c, i would like to see the output of these program :) --> Q...
[2 replies] Last: im just a beginner in this program so i like to know the output of thi... (by newkind09)
by kei
array
 
Hello guys, This assignment ask for input the file, calculate sum, find the highest, sort, etc ., o...
[no replies]
by sky3
Struct as a class
 
I keep getting an "error: no matching function for call to 'Vehicles::setYear()'" for each of my fun...
[1 reply] : Sounds like you created a struct in lab2 and your teacher wants you to... (by giblit)
by Chubby
Class Array
 
Design a class that has an array of floating point numbers. The constructor * should accept an inte...
[9 replies] Last: oops i forget to delete it. (by Chubby)
Theater Seating Chart
 
I've been working on this theater seating chart here that can also sell tickets, but i'm at a bit of...
[no replies]
Reaction Timer
 
Hey i am trying to create a reaction timer but having trouble with the code. It tests a reaction tim...
[1 reply] : We have no idea what software you're using with which libraries in wha... (by LB)
Pages: 1... 6465666768... 131
  Archived months: [feb2014]

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