Beginners - May 2013 (Page 41)

Help with codelab question??
 
Write the definition of a function named quadratic that receives three double parameters a , b , c . If the value of a is 0 then the function prints the me...
May 11, 2013 at 1:25pm
[3 replies] Last: This part is incorrect: if ((sqrt(b) * 4 * a * c) < 0) cout << "no ... (by Chervil)
by Pebble
Initializer_list
 
After running the program below, I get an extra 0 (zero) after the output. Is this a Null character at the end of the string? And how can i remove this? ...
May 11, 2013 at 1:13pm
[3 replies] Last: Thank's for the replies. I was playing around with Integer's to learn... (by Pebble)
Code blocks has problems
 
I tried the first code in the c++ tutorial but after building it it says "fatalerror: iostream: no such file or directory". Please help me. i really want to pro...
May 11, 2013 at 1:07pm
[6 replies] Last: 1. Make sure the name of the file ends with the extension .cpp , not .... (by Chervil)
by Larry2
Deploy c++ ?
 
Hello, I need to deploy a script on different platforms. This script is so simple ! it is just a value checker o create a small algorithm. But there ...
May 11, 2013 at 1:03pm
[4 replies] Last: Will definitely go the static library route. I will just use the STL ... (by Larry2)
by bsay91
Arrays as parameters help
 
I have tried to look at the http://www.cplusplus.com/doc/tutorial/arrays/ chapter Arrays as Parameters and although I think I understand the general point of it...
May 11, 2013 at 11:36am
[4 replies] Last: Thank you for your help guys! I was aware that int wasn't the correct ... (by bsay91)
guess the number game using random number generator
 
Make a "guess the number game", in which the user enters a number and the computer has to guess that number. My code does works but can you give me a better ...
May 11, 2013 at 11:32am
[6 replies] Last: thanks. (by dhruv90)
how to create a header file and implement it.
 
This program is printing possible gifts to whom the user wants to give. It asks the user to input the name and the birthday. I have this problem involving c...
May 11, 2013 at 10:18am
[4 replies] Last: You can use menu: File, New,then choose headfile, and enter other info... (by amchinese)
text adventure game
 
I am making text adventure game but i seem can't made an option when the user type in north then in the game it will make the user to go north. this work but wh...
May 11, 2013 at 10:16am
[4 replies] Last: can anyone help am still stuck on this part (by ngkevi199)
by Sandz
How to input into a Structure Array?
 
Classroom ID Classroom Name Rental Fees CR1 Apple 50.00 CR2 Bottle 30.00 CR3 ...
May 11, 2013 at 10:07am
[3 replies] Last: Thank you so much for teaching me! :) (by Sandz)
by yoopek
C++ graphs
 
May someone help me with this problem.. from the laboratory For this homework you are required to read either from the keyboard or from a file a graph. Th...
May 11, 2013 at 9:59am
[1 reply] : The objective is that you learn. You learn by doing. Start by writing ... (by keskiverto)
by kabuki
Quicksort with strings
 
I know that quicksort sorts integers, but can it also sort strings? For example, can I quicksort sort an array of fruits with members: oranges, apples, watermel...
May 11, 2013 at 7:40am
[3 replies] Last: umm... if u want to sort fruits in alphabetical order, this is one way... (by dhruv90)
Grades program
 
Okay well the program is that I have to infile grades into an array. after I infile them I have to use that array and pass it into 4 different functions: find t...
May 11, 2013 at 6:43am
[3 replies] Last: then you change either the function name " highest(int , int); " to s... (by OxBADC0DE)
c++ project help
 
so basically i was told to make a bank account project. i had the istream all written for me. i was told to add a new account into it using the same exact progr...
May 11, 2013 at 5:08am
[6 replies] Last: tried it and it still didnt work :( any more suggestions (by fantasy555)
by bkeg1
can you guys check this array problem??
 
im working on this like 30 hours.. sigh.. but this is still having lot of problems.. write a program so that user can use it to input, compute, and display v...
May 11, 2013 at 5:00am
[5 replies] Last: Thanks man. It helped a lot :) (by bkeg1)
How do you dynamically allocate memory for an std::array (C++11)
 
I've been trying to find the syntax for this. int * myPointer; myPointer = new int ; Like that but for std::array.
May 11, 2013 at 4:44am
[3 replies] Last: Thanks (by AlitCandle)
array help
 
hello, I've been working on a project for a couple of days, and am stuggling with arrays. My Prof has not gotten back to me, so I was hoping someone here co...
May 11, 2013 at 2:55am
[7 replies] Last: nevermind! I figured it out! (by nickchmie)
operator>() question.
 
I am writing a program that sorts objects by the variable x. I am not sure how to use the operator> function properly. I was hoping to get some help so I can ...
May 11, 2013 at 2:45am
[2 replies] Last: That worked great! I am having some trouble with using the overloaded... (by Def Muse)
Thanks
 
...
May 11, 2013 at 2:40am
[1 reply] : Thanks! (by hunternc101)
Does anyone know how I can put something on the desktop?
 
I already know the code to do it, I was just wondering what to put in the path. For me it is C:/Users/Matthew/Desktop The problem is I don't know how t...
May 11, 2013 at 2:17am
[2 replies] Last: Thanks (by AlitCandle)
NIM Game from book has 5 errors i cant understand.
 
Hi, thanks for reading this. Im currently reading a book called "Learn C++ by making games." ISBN = 978-1-58450-455-9 Console app line 70 ( the else st...
May 11, 2013 at 1:42am
[1 reply] : else statement must immediately follow if 's closing braket "}". Fr... (by JockX)
May 2013 Pages: 1... 3940414243... 66
  Archived months: [apr2013] [jun2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.