General C++ Programming - December 2013 (Page 24)

Bus program
 
I'm trying to get this program to run but I'm getting errors that I can't resolve. First, I'm getti...
[1 reply] : graphics.h is not a native include file to the best of my knowledge, I... (by mattballj10)
How to read external file into parallel arrays
 
I have an external file that I would like to read from this file and place the values into parallel ...
[1 reply] : What you want to do is have a function (or 2 if you want) that streams... (by mattballj10)
Error passing dynamic array as arguments
 
I am trying to make quicksort and binary search and I get error when I am passing dynamic array to a...
[2 replies] Last: line 232, 256, 261, 285, which basically are the function prototypes/c... (by camaradecha)
Doubly Linked List
 
I need help changing this code into a doubly linked list. Our professor isn't very fond of teaching,...
[1 reply] : A doubly linked list is a list that assigns pointers to both the previ... (by mattballj10)
**pointer and 2D array
 
I have **pointer and 2D array int *a ; int **p=a; Ex: size of 2D array a I want ...
[1 reply] : I'm confused what you are saying because **p=a; is a pointer to a... (by mattballj10)
Bowling Program
 
Hello, I'm writing a program to keep score of a game of bowling. Whenever I run the program, it come...
[1 reply] : Hello, Here are my 2 cents: 1. Your error on line 13 is in fact a poi... (by ritstudent)
Multiline String
 
As you can see, when I add my CSS I have quotes around every line for the CSS. Is it possible to hav...
[1 reply] : Try using #include<stringstream> (by mattballj10)
Program fails to display output
 
how do i display the output ? This program only saves the output to "gpa.txt" I want it to also disp...
[1 reply] : Hello, You would need to call a command that writes to stdout (the te... (by ritstudent)
I can't open a directory in my terminal.
 
Hi, ... new to programming. Taking a OS course and my professor gave us files to reference in ...
[2 replies] Last: Oh wow *facepalm* ... completely forgot. thanks!!! (by chiedozie)
Determining even/odd numbers from .txt file
 
I am trying to extract the numbers from Numbers.txt, and then put them in the correct file, either O...
[2 replies] Last: That works brilliantly, such a big help! Thank you JL (by tburns1992)
[HELP] [solved]c++ dll.cpp:12:8: error: 'string' does not name a type
 
I get this "dll.cpp:12:8: error: 'string' does not name a type EXPORT string name(){" when i tr...
[2 replies] Last: solved thanks. I forgot =) (by Manvir Singh)
by Freust
Need help w/ random library.
 
Hey, I came across a program in my textbook that allows you to make a doodle program. It's an old bo...
[4 replies] Last: @Danny Toledo Thanks, I'll see if I can clean it up. Sound like I nee... (by Freust)
"Payroll" code
 
Here's the assignment Write a program that uses the following arrays: - empID: an array of seven...
[1 reply] : for (int index = 0; index <= size; index++) should be: for (int inde... (by wmichaelv)
Problem with array
 
Someone help me in my program? The only word appear is "Enter a sentence" as i enter the sentence,i...
[1 reply] : Try the following change cin >> v; cin >> c; cin >> s; cin >> w; cin ... (by wmichaelv)
by MEM4FP
How do I turn a string word into letters?
 
So I'm having trouble trying to turn a word into letters. I've seen other posts but they deal with a...
[2 replies] Last: #include <iostream> #include <vector> using namespace std; int main... (by ritstudent)
I'm having a random numeric issue with this code
 
Hello, my problem is that my code is sometimes working and soemtimes not, I suspect its a precision ...
[2 replies] Last: http://www.eelis.net/iso-c++/testcase.xhtml (by ne555)
Problems with my algorithms, any help appreciated
 
I was wondering if someone could help me fix two of my algorithms. I am trying to factorize semi-pri...
[no replies]
by unik
Help Me Please
 
How do i write a code for this? + read from the input file whose name is stored in: fname, +...
[no replies]
'}' error..expected unqualified-id before 'else'
 
I'm getting three errors: 1) "expected '}' before 'else' 2)expected unqualified-id before 'else'...
[3 replies] Last: Oh wow thanks, I looked for a long time and never saw that.. that's wh... (by rictheric222)
QT creator LNK2019 meaning?
 
I have been programming in c++ for about six months now. Just recently i started to make a blackjack...
[4 replies] Last: When you say link the files together how do you mean? If you are askin... (by It3rat0r)
December 2013 Pages: 1... 2223242526... 37
  Archived months: [nov2013] [jan2014]

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