Beginners (Page 54)

by mutexe
create a class for which no object can be created?
yes, more specifically what access modifier in the class they are under.
[no replies]
by new1
comparing of each string in two lists
Here is the below, when comparing each element in list1 with list2 ,what is the better method for co...
[4 replies] Last: The code as repaired by me does erase the string in both lists: line 5... (by andywestken)
by ferrad
Compilation error- function calling another function
Why do I get this and how do I fix it? a.cpp(12) : error C2064: term does not evaluate to a funct...
[3 replies] Last: I missed that, Line 8 is wrong. Remove it and add prototype. At lin... (by kbw)
classifying number
Question 2. Write a function, initialVar, to initialize the variables such as zeroNum, oddNum and...
[4 replies] Last: tqvm (by newbie99)
Help how to store a linklist in a binary file
hi all please help me how i set a linklist and finally it stored in a file and how to read that file...
[4 replies] Last: A linked list is useful for your program, but less so for a file. It... (by Duoas)
Pointers to Functions
Hello All, I was hoping someone could help me out with a knowledge check here. Let's use the fol...
[2 replies] Last: > (*pa) is first element. (*pa) is second element pa yields a re... (by JLBorges)
arrays/find frequent terms
Hello, I am trying to writing a C++ code that will count the words from a text file. I want the ...
[3 replies] Last: You code build OK for me, so I'm not sure... Usually if the compiler ... (by andywestken)
What kind of loop to use? How to limit terms on a line?
This is a program testing Ulam's Algorithm that says any positive integer would always reduce to 1 i...
[7 replies] Last: Hi Andy! That's a good idea. I knew checking for counter == 10, 20, a... (by newbiee999)
Can't figure out what is wrong with my input
Can anyone try to tell me what is wrong with my input thus leading to a bad output ? #include<io...
[6 replies] Last: I need to use exactly strcpy ... As BlatantlyX has said, strcpy work... (by andywestken)
by srtzyf
node redefinition
Write your question here. // merge.h struct node { int info; struct node *next; }; v...
[1 reply] : #include "merge.c" You didn't show us merge.c, but I'll bet that ... (by AbstractionAnon)
lists, classes and inheritance
Is it possible to create a list whose members consist of different classes, which derive from the sa...
[1 reply] : Not exactly, but you can create a list of pointer-to-base-class, which... (by shadowmouse)
by ar2007
mingw32-c++.exe: error:
Hello everyone. I installed the version code :: blocs 13.12 as required by the installation instruct...
[2 replies] Last: hi LB, thx for help. tried these flags in code :: Blocks-> Project->... (by ar2007)
getline compiler error
I want to use getline in order to read data from a text file. The file opens successfully and the pr...
[2 replies] Last: Oh, thank you very much, I didn't know that! (by very novice)
by pravi
C Structures Wrong Output
What is wrong with the program in C? <#include<stdio.h> #include<conio.h> struct boat { ...
[1 reply] : The problem is that you've only allocated space for 2 passengers. Chan... (by dhayden)
Can someone help with an equation?
I have to make a program that calculates the bill for renting a car. The problem is I have to make ...
[5 replies] Last: I'm 6 weeks in to my first programming course. You're off to a good... (by dhayden)
How do i make C++ ask a question
Hey, what is the code that makes C++ ask a question like, what country do you live in? and save the ...
[3 replies] Last: In the code above the file name is a relative file path which means th... (by Tom56785)
What is this exercise asking us to do?
What is exercise #7 in this link asking us to do?
[6 replies] Last: I can confirm that this works for positive integers. (by BlatantlyX)
Analogue Clock on Visual Studio 2013
Hi everyone. I have a c++ project to make that includes an analogue clock. User will input a city fr...
[1 reply] : QT is certainly a good choice. Here's the example for a analog clock: ... (by coder777)
by mindoo
error using beej's guide to networking
Hey guys, It would be very cool if you guys could go see my thread in the windows proggraming forum...
[1 reply] : It seems it has several profound answers. What question isn't answered... (by coder777)
by olette
Coin toss simulator
I have most of the code down, just this last part where I need to report the total number of heads a...
[3 replies] Last: Set up a count variable for when randomNumber == 1 and a separate coun... (by Arslan7041)
Pages: 1... 5253545556... 64
  Archived months: [may2015]

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