Beginners - October 2012 (Page 24)

by veeyik
LNK2019
 
Why i keep getting this error. 1>Programming6.3.obj : error LNK2019: unresolved external symbol "void __cdecl solveEquation(double &,double &)" (?solveEquation...
[10 replies] Last: Declare and read them too, in main() . Then your solveEquation() wi... (by Catfish2)
I need help so bad
 
done
[8 replies] Last: Whether or not you actually succeed at this one particular assignment,... (by Moeljbcp)
by skarla
SDL collision.
 
I have a moving image that i want to not pass into of obstacles so i made a function: bool CheckCollision(float Ax,float Ay,float Aw,float Ah, ...
[no replies]
INPUT ARGUMENT IN MAIN FUNCTION
 
Could anyone please explain me easily what exactly the main function input arguments, in both ways, int main(int argc, char* argv ) { int main(int argc,...
[5 replies] Last: Only take into account that the following statement of @codewalker a... (by vlad from moscow)
How to "cin" the task
 
N people have to sit at a round table,each one representing a company. There are given K pairs of people who belong to competitive companies. Print all the ...
[no replies]
primary-expression error?
 
I was practicing my object orianted programming when I had this error: expected primary-expression before "void" expected `;' before "void" Any help ...
[1 reply] : In C++, you cannot define a function inside another function. You are ... (by Moschops)
by kw1991
searching for numbers in avl tree
 
I am trying to write code to search through an avl tree for a number. Part of it is working for example I enter the numbers 2,5,9 into the tree. I then search ...
[3 replies] Last: ok so what should i be doing instead? i need the tree to start at the... (by kw1991)
Need pointers with loops please
 
I have been trying to get the loops after line 25 to exit properly. Once I get into the loops it will just keep asking for inputs and not post any messages back...
[2 replies] Last: while (choice != 'N' || 'n'); This says that your loop will run as ... (by Moschops)
by amguy
Need help reversing my output
 
I'm making a program where i have to convert decimal to octal and binary. They both work except that they print in order, and i want it printed in reverse. s...
[2 replies] Last: Either you should store a new representation of the number in a contai... (by vlad from moscow)
by ghadf
valid types int[int] for array subscripts
 
When I run this program I face this problem(topic) any quick advice>?? Thanks #include<iostream> #include<cstdio> #define max 10 #def...
[2 replies] Last: Thank you very much..... The problem is " valid types int for array s... (by ghadf)
operator + (1,2)
 
(i) /*Create a Homework class with fields for class name, the assignment (for example, “Read chapter 11”), and the number of minutes predicted it will take...
[22 replies] Last: they feel that this question are foolish-ing us Probably yes. am i ... (by coder777)
by Dafne
Loops
 
Hello, I was wondering if someone could just explain me how to write a program. I am having a hard time trying to start writing my code. I can show you wh...
[2 replies] Last: Don't forget the code tags - The <> button on the right And post yo... (by TheIdeasMan)
Basic buffered ifstream read
 
Hello, I'm using ifstream and the >> operator to read data from a TXT. The goal is to read in 15 chars (together, NOT separated by spaces) into a "char temp_...
[2 replies] Last: Thank you! It appears I also needed to add an Ignore line per read as... (by treefitty)
by amguy
Need Help With Choosing Largest Value in For Loop
 
Hello, I am making a code which requires me to cycle between turn ratios 'n' from .01 all the way to 2.0 in .01 increments showing the Power Delivered at each n...
[5 replies] Last: wow thanks guys for pointing me to these things. I had no idea about t... (by amguy)
help with loops!! please!!
 
I'm working on this program but I am not sure how to end it. Its suppose to end after the user inputs 3 scores but I'm not sure how to do that and after that it...
[11 replies] Last: ok thank you!! TheIdeasMan and Maxim Podolski your feedback was very h... (by ariana2608)
by loot
First In First Out Queue Problems
 
Hey guys, I'm trying to put together a queue program. I've been working off and on with this for weeks and have had absolutely no luck. I've stripped the code...
[4 replies] Last: cire, you're a gentleman and a scholar! I took out the superfluous #i... (by loot)
Class HW problem
 
Hello, I am making a program that simulates a slot machine. I think I have the idea right, but I am getting errors mainly on my function prototypes. I have ...
[5 replies] Last: these variables are defined within the scope of the main(), and not wi... (by pogrady)
Saving Strings
 
Ok, so I've got a new issue with my program. Can anyone point me in the right direction on this one? Tell me where I went wrong? So the program is an electro...
[10 replies] Last: Think it might be something wrong with this area? int main() { ... (by noylekul)
Adding or Removing Element to Array
 
Say I get user input. If what they type in is not already in the array(how do I check an array?), add it to the array. And vice versa how do I remove something ...
[2 replies] Last: In this case, why not use an std::list<string> instead of an array? (by rollie)
Numbers to Strings
 
Working on a project for school that converts dollar amounts to written check amounts. I have most of the code done already but I obviously messed up somewhere ...
[2 replies] Last: sorry about that, fixed it. I'm trying to get the output of the string... (by mike plus plus)
October 2012 Pages: 1... 2223242526... 84
  Archived months: [sep2012] [nov2012]

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