Beginners (Page 68)

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)
Using local variables
I am still currently working on my program. But I am wondering how do I use the string of arrays ins...
[5 replies] Last: You should pass it to the constructor, as a parameter. (by LB)
Random number function returns mostly ones
I'm making a lottery guessing game where the user guesses a random number between 1 and 100. 90% of ...
[3 replies] Last: Thanks! One more issue I'm having my code isn't passing a variable pro... (by amatthew3)
Pokemon game
I am trying to make a game similar to pokemon but i have a problem.. i want to let the player choose...
[12 replies] Last: Could you post the exact message for your error? Anyway, for the types... (by NT3)
random number/function
I am getting a couple of errors in this program...please helpp.. //generate 5000 random numb...
[6 replies] Last: i am confused because to the program looks right and its not working. (by syedvasty)
Pages: 1... 6667686970... 133
  Archived months: [feb2014]

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