Beginners (Page 85)

by gmac
define your own class that will represent a fraction in your program (1,2)
 
Ive started this assignment. Not sure what to do from here: Write a class definition for a frac...
[30 replies] Last: This whole section of code needs to go away, along with the almost ide... (by PCrumley48)
Pointers
 
What is the meaning of (volatile unsigned int*)(0x04) in following code? As here should be some a...
[5 replies] Last: The hardware has put something other than RAM at address 0x4. It is pr... (by dhayden)
How to get the lowest value as well as the highest even element in an array
 
Hello Guys! I've been working on a program that will allow one to enter 10 elements. Upon those entr...
[5 replies] Last: Ooh my function dint take into account even numbers refer to @keskiver... (by andy1992)
Work with file(2)
 
I create new topic because, I have not received a reply. I have to hand over homework, but I do not...
[1 reply] : You probably didn't get a reply because you've made no attempt at all ... (by mutexe)
Multiplication Table Using IF/Else only
 
Hello Guys i Have just started learning C++ can any one please tell me how to write a Multiplication...
[no replies]
simple calculator via loop
 
//calculor.cpp //divide two number and find their quotient and remainder #include<iostream> using na...
[1 reply] : Is this a question? Main should have a type int, and return an int. Ma... (by Hashirama senju)
How do I point a Node to an Object?
 
I have a line in my code that looks like this current->obj = newObj; Unhandled excepti...
[1 reply] : current is null pointer at the moment, so you cannot dereference it.... (by MiiNiPaa)
by xenixl
How to change interval [a,b] to (a,b]
 
How to change interval [a,b] to (a,b]? Please,help me modificate this code to (a,b] #include <iost...
[1 reply] : The only difference between [a,b] and (a,b] is that a is not included ... (by Peter87)
How to reverse a queue?
 
How can I write a reverse function using enqueue and dequeue? template <class T> void Dynque<...
[1 reply] : template <typename T> void reverse(Dynque<T> queue) { std::stack<... (by MiiNiPaa)
Counting occurances of numbers and letters
 
Hello everyone. I'm trying to create a program with 2 functions that will take the characters within...
[4 replies] Last: Try this: class Count { char buffer ; //Maximum character... (by coder777)
Parallel arrays- count occurrence of input numbers
 
I'm working on another code. I'm trying to create a program that when you enter a set number of test...
[4 replies] Last: The indentation of your code could be more intuitive: // what is the ... (by keskiverto)
find and printing the smallest element and highest even number in an array
 
Write your question here. Hello Guys! I've been working on a program that will allow one to enter...
[1 reply] : Please use code tags , it makes it easier to read your code (by andy1992)
How do I split a string into an array by spaces?
 
My program requires that I can split any random string (sentence) into vector of strings by white sp...
[1 reply] : Using a string stream: #include <iostream> #include <string> #includ... (by JLBorges)
Passing by reference?
 
Any advice would be greatly appreciated. In this program when a student receives a low score or high...
[2 replies] Last: I also get error when I change it to string Comments(Student_Data &... (by shareyourjoy)
Segmentation fault (core dumped)
 
can sameone help to know why when I insert the first and last and phone number my code dumped /////...
[1 reply] : Hi the problem could be here void insertCard(card *newCard) { ... (by andy1992)
Nested Loops
 
Good evening good people! I need an example of a nested loop or modulus in this order 1-3-5-3-1 usin...
[4 replies] Last: we dont do others assignment. sorry. can you show us the youve done s... (by Lorence30)
Multiple functions taking input from two arrays
 
I am trying to write a program that takes the values from two arrays to display several different th...
[4 replies] Last: Got the code working. Going to display it in case it can help someone ... (by luke6386)
Call to Destructor Function
 
Write your question here. Why is the Destructor called between "mediumBox is smaller than bigBox"...
[2 replies] Last: Thank you Peter87. The error I made is that the CBox object should ... (by phztfte1)
array initialization
 
I try to initialize an array with the max size of 100. Point points ; so I did: points =...
[1 reply] : If I had to take a guess it's probably because you're using the new op... (by deathslice)
class/ strings/ cin errors Help please :^)
 
I'm having a few errors when I try to run my program that I'm not quite sure mean or how to fix it. ...
[2 replies] Last: I've fixed the cin/ getline error can anyone tell me what these errors... (by darkstar0402)
Pages: 1... 8384858687... 90
  Archived months: [nov2014]

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