Beginners - March 2012 (Page 30)

Functions, twoDarrays and char's
 
void loadSeats(char ) { const int ARRAYROWS = 15; const int ARRAYCOLUM = 30; char twoDArr...
[2 replies] Last: thanks bud (by Hasnain Attarwala)
I'l need some help with my quick sort program
 
Please can someone help me out with my quick sort program in C (I wish to sort in both ascending and...
[no replies]
Finding the area of a rectangle using pass by reference?
 
I got a homework assignment a couple of days ago. We received the code below, and were asked to ...
[1 reply] : you pass by reference by doing data_type& variable_name this in a way ... (by ui uiho)
trouble with ASCII
 
I am having trouble with this assignment. I am not sure how to exactly convert a number into the ASC...
[1 reply] : http://stackoverflow.com/questions/4629050/convert-an-int-to-ascii-cha... (by ResidentBiscuit)
insertion sort in descending order c++
 
I really need some help writing an insertion sort program in descending order in C (one that generat...
[3 replies] Last: I already have this program below(It sorts in ascending order) but i ... (by cire)
New Guy Here :)
 
I'll give a little background. I'm a decent Excel/VBA programmer developer, although not for pay,...
[1 reply] : There's tons of tutorials out there. This site has a pretty good serie... (by ResidentBiscuit)
Array within an array of structs?
 
Okay, so my last program calculated a preventive maintenance schedule for 6 machines based on input ...
[6 replies] Last: Yes. I have done that, and I think I set it up to sort it after that,... (by ErinCorona)
a function that computes the alternating sum of all elements in an array (1,2)
 
I'm working on a homework require me to write a function that print out alternating sum of all elem...
[20 replies] Last: umm, i'm pretty sure this works. I did it for 10 random numbers betwe... (by Fumbles)
Computing Loans
 
#include <iostream> #include <cmath> #include <iomanip> using namespace std; double first...
[3 replies] Last: 1: look here Ray = firstfunction (Loan, interest, ments, tym, rate, R... (by Shinigami)
Can I use an array within an array of structs?
 
My last program calculated a preventive maintenance schedule for 6 machines based on input from a fi...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/64912/ (by ErinCorona)
error 2062: type 'void' unexpected.
 
this is supposed to draw a random 50x50 square on the screen the have the user guess the center poin...
[15 replies] Last: i removed the int centerX, centerY from line 56 and it compiled with n... (by ironreaper)
Program doesn't just close?
 
Okay, so, I haven't worked with C++ in a very long time, so I figured I'd make a simple(Well, medium...
[6 replies] Last: In the while loop, at the end of each " if " statement, you can write ... (by djalexandrei)
Question about debugging arrays
 
I am debugging big project in netbeans ide but I am facing some problem like this in main(int argc...
[no replies]
Character Classification
 
,,,
[1 reply] : vvv (by baranankara06)
passing a two-dimensional array through a function?
 
If my explanation isn't clear enough read #9 http://books.google.com/books?id=LUJbzQR7KnoC&pg=PA3...
[1 reply] : If you have s after your array, you are either declaring it, or acces... (by hamsterman)
Function Overloading - Automatic Type Conversion
 
#include <iostream> // handles input and ouput statements using namespace std; void f(int x); ...
[1 reply] : What am I looking at? What's your question? Wazzak (by closed account zb0S216C)
When using strings in Classes..
 
I have a question concerning using strings in classes. First, what's the difference between #includ...
[12 replies] Last: the compiler is saying somethign about the 'string' in the class or ... (by ne555)
stupid me or stupid Euler method?
 
Hi all, One more question about my Euler method problem. The usual Euler method is not energy conse...
[10 replies] Last: Oh, yes that's cool, exchanging the lines works and I am getting a per... (by HomesickAlien)
by Nj3355
output which variable number is stored in?
 
Hi I'm new here and I just have a quick question. I was solving a problem which asks you to input th...
[1 reply] : If you have something like this in your code: cout << n1 /*or n2 or n... (by LB)
Convert simple char to int ? (read from binary)
 
I have data.txt it contains 73167176 #include <fstream> using namespace std; int mai...
[5 replies] Last: Sure this very simple i think this will work. int atoi(const cha... (by naqib)
March 2012 Pages: 1... 2829303132... 71
  Archived months: [feb2012] [apr2012]

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