Beginners - June 2015 (Page 22)

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 Duthomhas)
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? http://en.wikibooks.org/wiki/C%2B%2B_Programming/E...
[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)
Help with error that happens when deleting
 
So i have made my own dll that contains some functions. This dll has one very important class that i...
[6 replies] Last: And ne55 is right -- I've worked too long with Win32. But I would gues... (by andywestken)
compiling error Programming Principles and Practice using c++
 
I'm working on the drill for chapter 6 in Bjarne Stroustrup's c++ book and i keep getting this error...
[5 replies] Last: download the file, add it to your project (so you may use a relative p... (by ne555)
Linked Lists
 
Is this an okay way to set up a linked list? #include <iostream> #include <cstdlib> #include...
[4 replies] Last: @liuyang @dhayden Thank you both for your answers! I really appreciat... (by jhykima)
June 2015 Pages: 1... 2021222324... 32
  Archived months: [may2015] [jul2015]

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