Beginners - November 2012 (Page 43)

Wrong output
 
display the sum of the even intergers between and including two numbers entered by the user. #include <iostream> using namespace std; int main () { ...
[2 replies] Last: ty (by colin striefsky)
instantiation problem
 
I'm probably not the typical beginner here. I am familiar with C, and with OOP in other languages. But I'm having trouble understanding how, in C++, to instanti...
[2 replies] Last: Ahhh (enlightenment) ... Thanks Moschops. Lamice (by LamiceDaxeh)
by xzbit
exe that can create an exe file
 
so i wanted to make an .exe file that can create an .exe file ..just an example is when the user run the program there will be 2 options in it.. if a use...
[3 replies] Last: so i just need to make like a mini compiler exe ? :/ i tried to searc... (by xzbit)
Programming withI/O Streams and Arrays
 
Write a program that: 1. Ask the user for names of the two iput files and a name of an output file. The two input files contain integers in any order. Eachimp...
[no replies]
Adding Items to a Combo Box
 
I successfully created a combo box, but I can't figure out how to add items to it. I have the following code: case WM_CREATE: CreateObjects(hWnd); voi...
[no replies]
Lab assignment
 
I need this code to pass one course, but i don´t know about c programming also I don´t speak English very well. If anyone can send me the solution please i wi...
[2 replies] Last: Thank you very very much, you are a lifesaver. I will test it and find... (by manutmac)
Help with class array
 
I dont even know where to start with this function...the class and main are defined, have to get the user to input an array and then have the function double an...
[no replies]
Help to prove program
 
Hello. This program is scaning first word of text.txt file and calculating how much times it repeats. All is ok, but now i need to CHANGE program, so it must ca...
[no replies]
by Meden
Trying to pass a row of a 2d array to a 1d array
 
// This program calculates and displays the total rainfall for a year. // This is a modified version of BE0702. // This version will sort data in addition to...
[3 replies] Last: Thanks for the responses. I ended up doing strcpy. I might have used... (by Meden)
dont understand a lot of the options on code blocks, especially linker and its settings
 
I want to know how it works generaly so that at some point i can switch to linux and learn Unix I managed to configure SDL but im not sure how, i put all the...
[5 replies] Last: im having no luck so far but i wont hassle further for answers til im ... (by devonrevenge)
HELP!
 
#include <iostream> using namespace std; int main() { int i,j; system("cls"); for(i=2 ; i<=541 ; i++) { for(j=2 ;...
[2 replies] Last: #include <iostream> using namespace std; int main() { int i,j; ... (by Chervil)
by ab123
Expression must be a modifiable lvalue
 
I have declared boost::scoped_ptr<ABC> a; void set_abc(ABC& b){*a = b} In class ABC i have overloaded = operator. But this Gives me an error saying ...
[1 reply] : I wonder why are you using boost if you even do not understand the fun... (by vlad from moscow)
unsigned long problem
 
I keep getting this error, despite the fact that I have declared the variable: tea.cpp: In function `void encode(long int*, long int*)': tea.cpp:59: error: `O...
[2 replies] Last: DUH - How embarrassing. Thanks :) (by badkaykay)
Sort 2-D Array
 
I want to a 2-D Array in Descending order according to the the second column and the corresponding values of the row remain the same. e.g Arr (no of columns...
[8 replies] Last: I will show how to change Cubbi's example. #include <vector> #includ... (by vlad from moscow)
Help with loops
 
I am having trouble trying to get a loop to display every combination of hours, minutes, and seconds there are in a day. I can get it to count the first 60 seco...
[3 replies] Last: But when I try to nest my loops it starts to act a little wonky and on... (by jsnookiii)
by skarla
snake source
 
Has anyone free snake source? I need it/ Thanks.
[2 replies] Last: I want cmd,So i started to make it alone. #include <iostream> #inclu... (by skarla)
Rotating a 2D vector towards a point.
 
Hello there, this is my first thread, so please bear with me if I make any misstakes in ethics or in the code. As the title states I need to rotate a 2d vect...
[3 replies] Last: Did that (replaced the calls in cosf/sinf to (EyeDirRad.x * cosf(Circ... (by natchos)
I can't see where these errors are, please help.
 
1>c:\users\katie\documents\visual studio 2010\projects\mathematic functions\mathematic functions\mathematic functions.cpp(36): error C2059: syntax error : '(' 1...
[8 replies] Last: Plus: remove line 3 and rename m as a (by coder777)
by firras
Merge Sorting a Linked List from a Text File
 
If someone could help point me in the right direction, it would be much appreciated. My problem is merge sorting a list from a text file and outputting the sor...
[no replies]
Destroy linked list function
 
Hi I'm still quite new to c++ and I'm trying to create a linked list with a few functions, the first one is to add people to the list and the second one is the ...
[2 replies] Last: Ah thanks, such an easy error. Have been trying alot of different thin... (by Pethead)
November 2012 Pages: 1... 4142434445... 75
  Archived months: [oct2012] [dec2012]

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