Beginners (Page 56)

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
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
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)
access violation when deleting pointer
I tried to delete the pointer i created but it shows "Access violation reading location 0x00000020."...
[4 replies] Last: You don't have a memory leak if you can still reference the data! (by LB)
Writting data to file
I am trying to read data from a file, test it, sort it, then write it to a file. I am able to sort t...
[3 replies] Last: I have re-posted the example code as a full code file to help make it ... (by Evan8632)
Numbers to Words
I'm not sure on how to do this where you put in number and your suppose to get a word example: 2 ->...
[5 replies] Last: #include <string> #include <sstream> #include <iostream> using namespa... (by Cbasic88)
Pages: 1... 5455565758... 121
  Archived months: [feb2014]

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