Beginners - December 2013 (Page 59)

How will I repeat my whole transaction again? (codes inside)
 
Write your question here. #include <iostream> #include <conio.h> using namespace std; int...
[1 reply] : Hi carlplusplus, I think for you to understand easily you should divid... (by krugle)
Opening Text File
 
I am trying to write a program for my C++ class, however, my teacher has failed to provide us with t...
[1 reply] : What exactly is your problem? By the way: 'binary sorting' dosen't ex... (by coder777)
Array
 
I need help with my array. It is supposed to take ten values and switch the order of them. # includ...
[2 replies] Last: Hi randomperson27, I've found a few mistakes, one of them pointed out ... (by krugle)
Question about Class Destructor
 
Hi Everyone, I wanted to know if you could help me out with something. If I have a Class that ...
[3 replies] Last: You shouldn't need to use new there. (by ne555)
Array 4*4
 
I have to develop an array of 4*4 and to write each location of array. Please tell me the synt...
[2 replies] Last: I want like int a = { 1 2 3 4 }; actually i ha... (by amitk3553)
by Cexus
How to count different words from a sentence I have entered?
 
Hi Guys, I'm having a problem that I can't solve. I want to count each word of a sentence that I ent...
[14 replies] Last: You need a container to store words you've read in. As you read in wo... (by cire)
Min of array always setting to 0
 
Hello, this is my first post so I hope everything will be proper. Anyways, I'm working on this ass...
[7 replies] Last: <algorithm> has more than one sorting algorithm. Some do less work tha... (by keskiverto)
by hilft
Loop continue problems
 
how is this code not outputing anything? since, i=-1 will eventually become higher than 5, it shoul...
[2 replies] Last: continue might seem somewhat misleading. If i is less than five, t... (by xismn)
Using cStrings and Pointers
 
I am in a C++ class at a university and my teacher has failed to provide the class with the necessar...
[1 reply] : the internet is a good resource to start : functions http://www.cplus... (by nvrmnd)
How to swap variables of type char..?
 
How to swap variables of type char..? qtyOnHand is type int isbn and bookTitle is type char n...
[1 reply] : basically how to bubble sort arrays of type char *.* (by luv2program)
Need help about switch function.
 
I wrote a code and have no idea where is the mistake(s) I want to learn about the switch function, ...
[3 replies] Last: I don't know where you got the magic number 65000 from - the range of ... (by LB)
by ossant
highlighted text
 
Hi, I installed CodeBlocks 12.11, when I'm typing my code the editor highlights the text that I writ...
[no replies]
invalid conversion from 'const char*' to 'char*'
 
I thought string.c_str() did convert to char*? Where did the const come from? Also how would you ult...
[3 replies] Last: yeah that does make sense. thanks. const_cast<char *>(s.c_str()) ... (by metulburr)
Range of a random number
 
How would I declare the range that a rand() should be? Also, is there a certain #include file that y...
[1 reply] : scratch that, I've figured out how to use rand() I believe, but would ... (by kolo7880)
Not sure how to do this loop with a read in file to validate a credit card
 
#include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace st...
[2 replies] Last: Thanks sorry for taking so long to respond I was about to figure it ou... (by lynn1991)
by hilft
strings and arrays question
 
I don't understand the output of the code below. what makes it that it outputs "el" ? #include ...
[no replies]
PLEASE HELP :( :(
 
Please, please, please. I know this is a very long code in here and I know what the problem is but I...
[3 replies] Last: no problem :) we dont always respond the fastest but we usually can ge... (by closed account Dy7SLyTq)
Need help
 
Hi, Basically I have a file that has numbers in and i need them to be read into my code ( which i th...
[1 reply] : For one thing your code has 3 { and only 2 }. Don't think you need th... (by SamuelAdams)
by hilft
Inheritance question!
 
I don't understand the output at all. How does creating an object of a class, runs the functions in...
[1 reply] : How does creating an object of a class, runs the functions inside? ... (by Cubbi)
uses classes calculate cylinder volume and surface area issues.
 
hey guys, I'm new to programming. I am trying to calculate the volume and the surface area of a cyli...
[1 reply] : I was able to figure out the error about the 'class Cylinder' has no m... (by o1234567)
December 2013 Pages: 1... 5758596061... 69
  Archived months: [nov2013] [jan2014]

This is an archived page. To post a new message, go to the current page.