Beginners - April 2014 (Page 51)

by Jekjek
Error! Need Help! Stuck!
 
I'm having an error on line 63 of my code saying invalid types 'double* ' and i don't know if there ...
[2 replies] Last: Right, i forgot about that array should always be an int. Thanks. (by Jekjek)
by rshoe
Arrays and Functions
 
Hopefully someone can help me with this problem I am having with functions and arrays. I have to fi...
[2 replies] Last: Thanks for quick reply: Basically I have to fill out an array using a ... (by rshoe)
What's the issue?
 
I'm writing a program that writes a check by converting numbers into words. (10th Grade Computer Sci...
[3 replies] Last: wildblue, you're a life saver. Such a simple error too. That's just em... (by Shrekdonkey)
What is this?
 
what does this do? if(node->left) I mean the (->)? And can this be replaced by somethi...
[3 replies] Last: Basically the way I understand it is, left is a function of the node o... (by brandonhspace)
Difference between get() and getline()
 
So I'm currently teaching myself C++ from a primer book I have and have run into a tricky part of th...
[6 replies] Last: The second call doesn't remove the newline character because it stops... (by long double main)
Outputting elements of an array with a for loop?
 
How would I write a for loop to output the elements of this vector while being general with the numb...
[1 reply] : Hello. You can use an iterator for the vector. Check out the followin... (by bayronOrtiz)
ton of errors
 
i have a ton of errors on this code im testing some of the errors are HANDLE HWND UINT FILETIME PFIL...
[5 replies] Last: ah, whoops. You're not including your header. cmonitor.cpp will need... (by Disch)
If statement issues
 
This is supposed to be pretty straight forward, but I can not seem to see what my problem is. HELP? ...
[4 replies] Last: OF COURSE! Thank you!!! (by jmelchior1)
by Alby94
pthread_kill()
 
Why this thread continue its execution though I kill it?? pthread_t pid; pthread_create(&pid,...
[3 replies] Last: It can, under some conditions. See docs pthead_kill: http://pubs.openg... (by Cubbi)
Eight Queens, arrays
 
My program is supposed to make an array of 8 that symbolize for each column, the row that contains a...
[2 replies] Last: Right, I was wondering why the dots were messed up. I traced the code ... (by RobGillespie)
two codes
 
how can i make 2 separate codes run in two different cmds. from the same codes(irony) so basically 2...
[1 reply] : Please explain more. (by keskiverto)
Hash Table help
 
Hey, guys. I'm working on making a simple Hash table, and I'm using vectors. The problem I'm having ...
[1 reply] : It would help to see what hashtable.h and hashfunction() looks like. ... (by AbstractionAnon)
battery flag charging
 
i need help getting BATTERY_FLAG_CHARGING to work in lines 53-60 #include <Windows.h> #includ...
[3 replies] Last: Replace line 53 with what I provided. status.batteryflag is a seri... (by AbstractionAnon)
Array-size defining
 
I think this method of defining a size of an array is wrong, but I have no idea why... Someone expla...
[6 replies] Last: How is the compiler to know how many ints to allocate if n is not know... (by AbstractionAnon)
Problem with a counting mechanism in a for loop
 
The problem is with taking 'counter' and applying it to the for loops at the end of the program so t...
[3 replies] Last: What happens if the user enters a bunch of out of range values in the ... (by kempofighter)
Vector subscript out of range
 
Hi i have a problem with my game.When i shoot the first ship it works fine but when i shoot the seco...
[5 replies] Last: OK i fixed all the problems ! Phew that was a real headache..... I wil... (by SorinAlex)
Need help with this linear search program
 
I'm kind of new to this and my program won't compile and I can't figure out why. I can't find any pr...
[2 replies] Last: Thanks! Sorry, this is the first time I've ever posted to this site. (by taylor5479)
Needs to be a modified lvalue
 
Hello, I am trying to figure out why it keeps throwing me this error. The only way it lets me get ri...
[1 reply] : tax = tax_percentage / 100; //here total_tax = tax * cost_of_device; ... (by Smac89)
Simulating the Movement of a Spring
 
I am taking a Data Structures class in college, and I am looking in to an extra-curricular project o...
[no replies]
Class Struct Members
 
I'm having some difficulty figuring out how to create an instance of a struct within one of my objec...
[7 replies] Last: If you want named objects, use either an std::map, or add a string mem... (by helios)
April 2014 Pages: 1... 4950515253... 67
  Archived months: [mar2014] [may2014]

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