Beginners - April 2014 (Page 8)

Dereferencing Pointer/Incompatible Pointer Type
 
Hi, I'm actually writing in C, but didn't know of another forum, as I used this one previously for C++. So I hope someone can still help. I have the following...
[4 replies] Last: I figured it out! I had Dlink, instead of DLink! Thanks for looking ... (by giraffe1234)
by Irhcsa
Mouse clicking c++
 
Is there a way to right a command that will make the mouse double click or click on a certain spot on the screen? I can make the mouse move to any position tha...
[13 replies] Last: Have you tried reading the documentation? http://www.google.com/searc... (by Duthomhas)
Default compiler doesnt work
 
When I was installing code blocks there was a windows error saying something like "Can't find compiler executable with Gnu GCC Compiler". I assumed it was nothi...
[no replies]
Using Lists
 
Hello everyone, I am having interesting issue here. If I run the following code program crashes. I just wanted to print the list using comma between elements.....
[2 replies] Last: Thanks, I got it! (by Titanius)
by Ne0n
Help Multiplying Linked Lists
 
Im writing a program for my CS215 Class using vigesimal (base 20) numbers. one of the functions is multiplying 2 user input linked lists. after about 5 hours of...
[no replies]
UNABLE TO OPEN A TEXT FILE
 
Write your question here. Why am I unable to open the text file to read? Errors are in lines 24 and 28. // basic file operations #include <iostream> #...
[4 replies] Last: elite zero, Thank you for your hard work and troubleshooting. Here ar... (by phztfte1)
by vinnyo
Need some help with HW(Arrays)
 
I need some help with this array for a HW assignment, we have to generate random numbers using an array then ask the user to quit, reorder the same numbers rand...
[no replies]
Array losing values
 
Hello I am having problems with a class level array losing all of its values. The array list loses all of its values when going into ProcessMatchResults. Any he...
[no replies]
txt.file
 
Write your question here.I have been asked to write a program which will calculate the percentage and print the student ID, percentage and letter grades for the...
[2 replies] Last: thnks! (by streak21)
My program skips input statement and strange compile error...
 
This program computes a patient's bill for a hospital stay...It is about complete except that I am getting a different compiler message.. it says that: -fi...
[6 replies] Last: Sorry that it didn't work. Try this: float PatientAccount::getDailyR... (by xismn)
Help please (1,2)
 
Ok so in my class(I am a computer science student) our teacher gave us this assignment Write an application where you ask the user to input the price per let...
[25 replies] Last: Yeah it is only the 4th week of programming Still early days, you'l... (by Codermik)
So does "else if" enter a new scope?
 
This is doesn't matter, but I'm curious. Does else if behave like this, being a combination of an else + if keyword if(a==1){ //blah }else {...
[3 replies] Last: if or else if by themselves don't create a new scope. The braces ... (by AbstractionAnon)
Help with dynamic arrays and pointers!
 
Hi i am writing a class that dynamically allocates an array that holds a user-defined number of test scores (test scores go from 0 to 10 both included). Once a...
[5 replies] Last: ok this is what i have worked on #include <iostream> using namespace... (by painith)
Inputting text to an object then object into a list
 
I am currently writing a program that should read sets of coordinates from a file and place these coordinates in an object, before adding the object to a list o...
[2 replies] Last: Thanks you very much! I feel quite silly now. (by perrymanon)
Verification who wins in tic tac toe game.
 
yo everyone. Now im doing this tic tac toe practice for my school... so i have a problem with the verification, the program is working but my teacher said "I do...
[10 replies] Last: Thanks for your help =) I already made it work, with the winner and st... (by dualdark)
Text file into Vector
 
If I have the following code, how do I display what's in myVector? void calculations(ifstream& infile, vector<double>& myVector) { double value = 0;...
[1 reply] : If you're looking to print everything, just use a for loop and cout to... (by rssair)
Assertion failure
 
Hey guys. I'm trying to load into a 2d array from a text file of integers. The array loads fine, but after loading and printing the 2d array I get an assertion ...
[2 replies] Last: I know nothing of this error, but a quick Google search returned this.... (by rssair)
Compiling despair!!!
 
Alright. As the title indicates, I have a compiling problem. Any help is much appreciated! Here is the result of compiling: 1>------ Build started: Pr...
[4 replies] Last: Your function prototype should be like this: //Line 5: int merge(ifst... (by closed account j3Rz8vqX)
Text file into Array
 
Hi If I have a text file containing data of one number per line such as: 1 2 3 4 5 How do i read in this data if the total number of lines is unspecified but ...
[8 replies] Last: Thanks (by JasonMcG)
by angelk
Enlarge the window
 
Hello everyone, do you know if it is possible to extend the code via the console window?
[5 replies] Last: @Chriscpp thank you very much. :) P.S. Another thing after the conso... (by angelk)
April 2014 Pages: 1... 678910... 67
  Archived months: [mar2014] [may2014]

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